xref: /openbmc/linux/include/linux/if_link.h (revision 4f38b9f2)
1 #ifndef _LINUX_IF_LINK_H
2 #define _LINUX_IF_LINK_H
3 
4 #include <uapi/linux/if_link.h>
5 
6 
7 /* We don't want this structure exposed to user space */
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 
17 struct ifla_vf_info {
18 	__u32 vf;
19 	__u8 mac[32];
20 	__u32 vlan;
21 	__u32 qos;
22 	__u32 spoofchk;
23 	__u32 linkstate;
24 	__u32 min_tx_rate;
25 	__u32 max_tx_rate;
26 	__u32 rss_query_en;
27 };
28 #endif /* _LINUX_IF_LINK_H */
29