Add a new bridge port attribute that allows user space to enable per-{Port, VLAN} neighbor suppression. Example: # bridge -d -j -p link show dev swp1 | jq '.[]["neigh_vlan_suppress"]' false # bridge link set dev swp1 neigh_vlan_suppress on # bridge -d -j -p link show dev swp1 | jq '.[]["neigh_vlan_suppress"]' true # bridge link set dev swp1 neigh_vlan_suppress off # bridge -d -j -p link show dev swp1 | jq '.[]["neigh_vlan_suppress"]' false
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -569,6 +569,7 @@ enum { · 568 unmodified lines | ||
| 569 | 569 | IFLA_BRPORT_MAB, |
| 570 | 570 | IFLA_BRPORT_MCAST_N_GROUPS, |
| 571 | 571 | IFLA_BRPORT_MCAST_MAX_GROUPS, |
| 572 | + IFLA_BRPORT_NEIGH_VLAN_SUPPRESS, | |
| 572 | 573 | __IFLA_BRPORT_MAX |
| 573 | 574 | }; |
| 574 | 575 | #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |