[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <290BEC245535C3449143D5D84900EEF78CDFAB7A@avmb3.qlogic.org>
Date: Wed, 5 Mar 2014 09:36:26 +0000
From: Sucheta Chakraborty <sucheta.chakraborty@...gic.com>
To: Michal Kubecek <mkubecek@...e.cz>
CC: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Dept-HSG Linux NIC Dev <Dept-HSGLinuxNICDev@...gic.com>
Subject: RE: [RFC 1/2] net: Add support to configure SR-IOV VF minimum and
maximum Tx rate through ip tool.
> -----Original Message-----
> From: Michal Kubecek [mailto:mkubecek@...e.cz]
> Sent: Wednesday, March 05, 2014 3:03 PM
> To: Sucheta Chakraborty
> Cc: David Miller; netdev; Dept-HSG Linux NIC Dev
> Subject: Re: [RFC 1/2] net: Add support to configure SR-IOV VF minimum
> and maximum Tx rate through ip tool.
>
> On Wed, Mar 05, 2014 at 02:33:35AM -0500, Sucheta Chakraborty wrote:
> > diff --git a/include/uapi/linux/if_link.h
> > b/include/uapi/linux/if_link.h index 16410b6..fce6437 100644
> > --- a/include/uapi/linux/if_link.h
> > +++ b/include/uapi/linux/if_link.h
> > @@ -398,7 +398,8 @@ enum {
> > IFLA_VF_UNSPEC,
> > IFLA_VF_MAC, /* Hardware queue specific attributes */
> > IFLA_VF_VLAN,
> > - IFLA_VF_TX_RATE, /* TX Bandwidth Allocation */
> > + IFLA_VF_TX_RATE, /* Max TX Bandwidth Allocation */
> > + IFLA_VF_RATE, /* Min and Max TX Bandwidth Allocation */
> > IFLA_VF_SPOOFCHK, /* Spoof Checking on/off switch */
> > IFLA_VF_LINK_STATE, /* link state enable/disable/auto switch
> */
> > __IFLA_VF_MAX,
>
> This would change the values of IFLA_VF_SPOOFCHK and
> IFLA_VF_LINK_STATE, making "old" (including current) iproute2
> incompatible with future kernels and vice versa.
>
> Michal Kubecek
Thanks Michal for pointing this out. I will move the new enum "IFLA_VF_RATE" to the end of the list.
- Sucheta.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists