add new IFLA_VF_TRUST netlink attribute
diff --git a/include/linux/if_link.h b/include/linux/if_link.h
index 288d3cd..31f584c 100644
--- a/include/linux/if_link.h
+++ b/include/linux/if_link.h
@@ -548,6 +548,7 @@
* on/off switch
*/
IFLA_VF_STATS, /* network device statistics */
+ IFLA_VF_TRUST, /* Trust VF */
__IFLA_VF_MAX,
};
@@ -609,6 +610,11 @@
#define IFLA_VF_STATS_MAX (__IFLA_VF_STATS_MAX - 1)
+struct ifla_vf_trust {
+ __u32 vf;
+ __u32 setting;
+};
+
/* VF ports management section
*
* Nested layout of set/get msg is: