diff options
author | David S. Miller <davem@davemloft.net> | 2021-08-20 17:00:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-20 17:00:35 +0300 |
commit | 0ba218e2530aa4e8dd6d325a9e9d734276513301 (patch) | |
tree | 71d8b57b3c5b4326fc3a1dbedff9a929bfa88e56 /drivers/virt | |
parent | a515e5b53cc699f1f3b60a5135f50657efa2758b (diff) | |
parent | 2796d846d74a18cc6563e96eff8bf28c5e06f912 (diff) | |
download | linux-0ba218e2530aa4e8dd6d325a9e9d734276513301.tar.xz |
Merge branch 'bridge-vlan'
Nikolay Aleksandrov says:
====================
net: bridge: mcast: add support for port/vlan router control
This small set adds control over port/vlan mcast router config.
Initially I had added host vlan entry router control via vlan's global
options but that is really unnecessary and we can use a single per-vlan
option to control it both for port/vlan and host/vlan entries. Since
it's all still in net-next we can convert BRIDGE_VLANDB_GOPTS_MCAST_ROUTER
to BRIDGE_VLANDB_ENTRY_MCAST_ROUTER and use it for both. That makes much
more sense and is easier for user-space. Patch 01 prepares the port
router function to be used with port mcast context instead of port and
then patch 02 converts the global vlan mcast router option to per-vlan
mcast router option which directly gives us both host/vlan and port/vlan
mcast router control without any additional changes.
This way we get the following coherent syntax:
[ port/vlan mcast router]
$ bridge vlan set vid 100 dev ens20 mcast_router 2
[ bridge/vlan mcast router ]
$ bridge vlan set vid 100 dev bridge mcast_router 2
instead of:
$ bridge vlan set vid 100 dev bridge mcast_router 1 global
The mcast_router should not be regarded as a global option, it controls
the port/vlan and bridge/vlan mcast router behaviour.
This is the last set needed for the initial per-vlan mcast support.
Next patch-sets:
- iproute2 support
- selftests
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions