]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
Update kernel headers to 2.6.34 final version
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 17 May 2010 15:57:24 +0000 (08:57 -0700)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 17 May 2010 15:57:24 +0000 (08:57 -0700)
Last minute IOV format change.

include/linux/if_link.h

index 5110b96add9cfa2d8674168dc25ead820f6f7bde..591b09c46a8ea749fe9b872cec45a2c0068af1c6 100644 (file)
@@ -79,10 +79,7 @@ enum {
        IFLA_NET_NS_PID,
        IFLA_IFALIAS,
        IFLA_NUM_VF,            /* Number of VFs if device is SR-IOV PF */
-       IFLA_VF_MAC,            /* Hardware queue specific attributes */
-       IFLA_VF_VLAN,
-       IFLA_VF_TX_RATE,        /* TX Bandwidth Allocation */
-       IFLA_VFINFO,
+       IFLA_VFINFO_LIST,
        __IFLA_MAX
 };
 
@@ -201,6 +198,24 @@ enum macvlan_mode {
 
 /* SR-IOV virtual function managment section */
 
+enum {
+       IFLA_VF_INFO_UNSPEC,
+       IFLA_VF_INFO,
+       __IFLA_VF_INFO_MAX,
+};
+
+#define IFLA_VF_INFO_MAX (__IFLA_VF_INFO_MAX - 1)
+
+enum {
+       IFLA_VF_UNSPEC,
+       IFLA_VF_MAC,            /* Hardware queue specific attributes */
+       IFLA_VF_VLAN,
+       IFLA_VF_TX_RATE,        /* TX Bandwidth Allocation */
+       __IFLA_VF_MAX,
+};
+
+#define IFLA_VF_MAX (__IFLA_VF_MAX - 1)
+
 struct ifla_vf_mac {
        __u32 vf;
        __u8 mac[32]; /* MAX_ADDR_LEN */