tools headers UAPI: Sync if_link.h with the kernel
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: e54599c93dbf487ef80ba2833c5760c22bd20c32 Gitweb: https://git.kernel.org/tip/e54599c93dbf487ef80ba2833c5760c22bd20c32 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Fri, 26 Jul 2019 15:44:41 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 29 Jul 2019 09:03:43 -0300
tools headers UAPI: Sync if_link.h with the kernel
To pick the changes in:
07a4ddec3ce9 ("bonding: add an option to specify a delay between peer notifications")
And silence this build warning:
Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'
Cc Adrian Hunter <[email protected]>
Cc David S. Miller <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Luis Cláudio Gonçalves <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Vincent Bernat <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/include/uapi/linux/if_link.h | 5 +++++ 1 file changed, 5 insertions(+)
tools/include/uapi/linux/if_link.h +5 -0
@@ -695,6 +695,7 @@ enum {IFLA_VF_IB_NODE_GUID ,/* VF Infiniband node GUID */ IFLA_VF_IB_PORT_GUID ,/* VF Infiniband port GUID */ IFLA_VF_VLAN_LIST ,/* nested list of vlans, option for QinQ */ +IFLA_VF_BROADCAST ,/* VF broadcast */ __IFLA_VF_MAX, };
@@ -705,6 +706,10 @@ struct ifla_vf_mac {__u8 mac[32 ];/* MAX_ADDR_LEN */ }; +struct ifla_vf_broadcast { +__u8 broadcast[32 ]; +}; +struct ifla_vf_vlan {__u32 vf;__u32 vlan;/* 0 - 4095, 0 disables VLAN filter */