diff options
| author | David S. Miller <davem@davemloft.net> | 2010-05-17 01:26:58 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-05-17 01:26:58 -0400 |
| commit | 6811d58fc148c393f80a9f5a9db49d7e75cdc546 (patch) | |
| tree | c25d5b0e49ec848943d35f819e748d157ccb492e /include/linux | |
| parent | c4949f074332a64baeb2ead6ab9319ca37642f96 (diff) | |
| parent | c02db8c6290bb992442fec1407643c94cc414375 (diff) | |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
include/linux/if_link.h
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/if_link.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/include/linux/if_link.h b/include/linux/if_link.h index cfd420ba72df..c3af67fce3f2 100644 --- a/include/linux/if_link.h +++ b/include/linux/if_link.h | |||
| @@ -111,10 +111,7 @@ enum { | |||
| 111 | IFLA_NET_NS_PID, | 111 | IFLA_NET_NS_PID, |
| 112 | IFLA_IFALIAS, | 112 | IFLA_IFALIAS, |
| 113 | IFLA_NUM_VF, /* Number of VFs if device is SR-IOV PF */ | 113 | IFLA_NUM_VF, /* Number of VFs if device is SR-IOV PF */ |
| 114 | IFLA_VF_MAC, /* Hardware queue specific attributes */ | 114 | IFLA_VFINFO_LIST, |
| 115 | IFLA_VF_VLAN, | ||
| 116 | IFLA_VF_TX_RATE, /* TX Bandwidth Allocation */ | ||
| 117 | IFLA_VFINFO, | ||
| 118 | IFLA_STATS64, | 115 | IFLA_STATS64, |
| 119 | __IFLA_MAX | 116 | __IFLA_MAX |
| 120 | }; | 117 | }; |
| @@ -236,6 +233,24 @@ enum macvlan_mode { | |||
| 236 | 233 | ||
| 237 | /* SR-IOV virtual function managment section */ | 234 | /* SR-IOV virtual function managment section */ |
| 238 | 235 | ||
| 236 | enum { | ||
| 237 | IFLA_VF_INFO_UNSPEC, | ||
| 238 | IFLA_VF_INFO, | ||
| 239 | __IFLA_VF_INFO_MAX, | ||
| 240 | }; | ||
| 241 | |||
| 242 | #define IFLA_VF_INFO_MAX (__IFLA_VF_INFO_MAX - 1) | ||
| 243 | |||
| 244 | enum { | ||
| 245 | IFLA_VF_UNSPEC, | ||
| 246 | IFLA_VF_MAC, /* Hardware queue specific attributes */ | ||
| 247 | IFLA_VF_VLAN, | ||
| 248 | IFLA_VF_TX_RATE, /* TX Bandwidth Allocation */ | ||
| 249 | __IFLA_VF_MAX, | ||
| 250 | }; | ||
| 251 | |||
| 252 | #define IFLA_VF_MAX (__IFLA_VF_MAX - 1) | ||
| 253 | |||
| 239 | struct ifla_vf_mac { | 254 | struct ifla_vf_mac { |
| 240 | __u32 vf; | 255 | __u32 vf; |
| 241 | __u8 mac[32]; /* MAX_ADDR_LEN */ | 256 | __u8 mac[32]; /* MAX_ADDR_LEN */ |
