Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / if_link.h
blob622658dfbf0a98a610c82808ef4ff8d7a51a0044
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_IF_LINK_H
3 #define _LINUX_IF_LINK_H
5 #include <uapi/linux/if_link.h>
8 /* We don't want this structure exposed to user space */
9 struct ifla_vf_stats {
10 __u64 rx_packets;
11 __u64 tx_packets;
12 __u64 rx_bytes;
13 __u64 tx_bytes;
14 __u64 broadcast;
15 __u64 multicast;
16 __u64 rx_dropped;
17 __u64 tx_dropped;
20 struct ifla_vf_info {
21 __u32 vf;
22 __u8 mac[32];
23 __u32 vlan;
24 __u32 qos;
25 __u32 spoofchk;
26 __u32 linkstate;
27 __u32 min_tx_rate;
28 __u32 max_tx_rate;
29 __u32 rss_query_en;
30 __u32 trusted;
31 __be16 vlan_proto;
33 #endif /* _LINUX_IF_LINK_H */