Commit | Line | Data |
---|---|---|
cbde1668 YH |
1 | #ifndef _LINUX_IF_LINK_H |
2 | #define _LINUX_IF_LINK_H | |
3 | ||
607ca46e | 4 | #include <uapi/linux/if_link.h> |
cbde1668 | 5 | |
5f8444a3 GR |
6 | |
7 | /* We don't want this structure exposed to user space */ | |
3b766cd8 EBE |
8 | struct ifla_vf_stats { |
9 | __u64 rx_packets; | |
10 | __u64 tx_packets; | |
11 | __u64 rx_bytes; | |
12 | __u64 tx_bytes; | |
13 | __u64 broadcast; | |
14 | __u64 multicast; | |
15 | }; | |
16 | ||
b280da8d WM |
17 | struct ifla_vf_info { |
18 | __u32 vf; | |
19 | __u8 mac[32]; | |
20 | __u32 vlan; | |
21 | __u32 qos; | |
5f8444a3 | 22 | __u32 spoofchk; |
1d8faf48 | 23 | __u32 linkstate; |
ed616689 SC |
24 | __u32 min_tx_rate; |
25 | __u32 max_tx_rate; | |
01a3d796 | 26 | __u32 rss_query_en; |
b280da8d | 27 | }; |
cbde1668 | 28 | #endif /* _LINUX_IF_LINK_H */ |