]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
add new IFLA_VF_TRUST netlink attribute
authorStephen Hemminger <shemming@brocade.com>
Fri, 23 Oct 2015 22:47:07 +0000 (15:47 -0700)
committerStephen Hemminger <shemming@brocade.com>
Fri, 23 Oct 2015 22:47:07 +0000 (15:47 -0700)
include/linux/if_link.h

index 288d3cd616798f23f1dfe436efd47a6a9964132a..31f584cb2576c17c3c90aaa6e9d0202ed7da4aa1 100644 (file)
@@ -548,6 +548,7 @@ enum {
                                 * on/off switch
                                 */
        IFLA_VF_STATS,          /* network device statistics */
+       IFLA_VF_TRUST,          /* Trust VF */
        __IFLA_VF_MAX,
 };
 
@@ -609,6 +610,11 @@ enum {
 
 #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: