Thread (15 messages) 15 messages, 6 authors, 2011-11-18

RE: [net-next] iproute2: Add new command to IP link to enable/disable VF spoof check

flat view

From: Christian Benvenuti (benve) <hidden>
Date: 2011-09-26 20:54:55

-----Original Message-----
From: netdev-owner@vger.kernel.org [mailto:netdev-
owner@vger.kernel.org] On Behalf Of Stephen Hemminger
Sent: Monday, September 26, 2011 9:47 AM
To: Ben Hutchings
Cc: Rose, Gregory V; Kirsher, Jeffrey T; davem@davemloft.net;
netdev@vger.kernel.org; gospo@redhat.com
Subject: Re: [net-next] iproute2: Add new command to IP link to
enable/disable VF spoof check

On Mon, 26 Sep 2011 17:41:59 +0100
Ben Hutchings [off-list ref] wrote:
quoted
On Mon, 2011-09-26 at 09:21 -0700, Rose, Gregory V wrote:
quoted
quoted
-----Original Message-----
From: Stephen Hemminger [mailto:shemminger@vyatta.com]
Sent: Sunday, September 25, 2011 10:24 AM
To: Kirsher, Jeffrey T
Cc: Rose, Gregory V; davem@davemloft.net;
netdev@vger.kernel.org;
quoted
quoted
quoted
gospo@redhat.com
Subject: Re: [net-next] iproute2: Add new command to IP link to
enable/disable VF spoof check

On Sun, 25 Sep 2011 01:23:18 -0700
Jeff Kirsher [off-list ref] wrote:
quoted
From: Greg Rose <redacted>

Add IP link command parsing for VF spoof checking
enable/disable
quoted
quoted
quoted
quoted
Signed-off-by: Greg Rose <redacted>
Signed-off-by: Jeff Kirsher <redacted>
See my comments about ABI compatibility. Can't just grow size of
structure.
Need to have new version of iproute work with older kernels.
In this case I have no idea how to proceed.  I'll go back and
stare
at it some more.
quoted
Where is this structure used on the wire?  I just don't see it.

If the modified iproute2 crashes on older kernels, that's presumably
because it's not correctly handling the case where IFLA_VF_SPOOFCHK
is
quoted
missing.  Nothing to do with the size of this structure.
The proposed code is fine because the vf_info is not used by any code
in iproute right now and I doubt that any other tools are using it
either.
Does it mean that a Netlink interface becomes official (and backward
compatibility
should not be broken) only once iproute2 starts supporting it?

/Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help