diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2020-01-14 19:56:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-15 13:48:18 +0100 |
commit | 0ab558795184f87b532363e262357160d25f5d64 (patch) | |
tree | ca3a3103c9023fe7763b14f3ef84731d0d24ef83 /net/bridge/br_vlan_tunnel.c | |
parent | net: bridge: vlan: add del rtm message support (diff) | |
download | linux-dev-0ab558795184f87b532363e262357160d25f5d64.tar.xz linux-dev-0ab558795184f87b532363e262357160d25f5d64.zip |
net: bridge: vlan: add rtm range support
Add a new vlandb nl attribute - BRIDGE_VLANDB_ENTRY_RANGE which causes
RTM_NEWVLAN/DELVAN to act on a range. Dumps now automatically compress
similar vlans into ranges. This will be also used when per-vlan options
are introduced and vlans' options match, they will be put into a single
range which is encapsulated in one netlink attribute. We need to run
similar checks as br_process_vlan_info() does because these ranges will
be used for options setting and they'll be able to skip
br_process_vlan_info().
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_vlan_tunnel.c')
0 files changed, 0 insertions, 0 deletions