blob: 0b17c585b5cdae2094aaac4592b55b17b2a43b9b [file] [log] [blame]
YOSHIFUJI Hideakicbde1662006-09-27 22:40:19 -07001#ifndef _LINUX_IF_LINK_H
2#define _LINUX_IF_LINK_H
3
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/if_link.h>
YOSHIFUJI Hideakicbde1662006-09-27 22:40:19 -07005
Greg Rose5f8444a2011-10-08 03:05:24 +00006
7/* We don't want this structure exposed to user space */
Eran Ben Elisha3b766cd2015-06-15 17:59:07 +03008struct 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
Williams, Mitch Ab280da82010-02-10 01:43:24 +000017struct ifla_vf_info {
18 __u32 vf;
19 __u8 mac[32];
20 __u32 vlan;
21 __u32 qos;
Greg Rose5f8444a2011-10-08 03:05:24 +000022 __u32 spoofchk;
Rony Efraim1d8faf42013-06-13 13:19:10 +030023 __u32 linkstate;
Sucheta Chakrabortyed616682014-05-22 09:59:05 -040024 __u32 min_tx_rate;
25 __u32 max_tx_rate;
Vlad Zolotarov01a3d792015-03-30 21:35:23 +030026 __u32 rss_query_en;
Hiroshi Shimamotodd461d62015-08-28 06:57:55 +000027 __u32 trusted;
Moshe Shemesh79aab092016-09-22 12:11:15 +030028 __be16 vlan_proto;
Williams, Mitch Ab280da82010-02-10 01:43:24 +000029};
YOSHIFUJI Hideakicbde1662006-09-27 22:40:19 -070030#endif /* _LINUX_IF_LINK_H */