mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
net: bridge: Add/del switchdev object on host join/leave
When the host joins or leaves a multicast group, use switchdev to add an object to the hardware to forward traffic for the group to the host. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2a26028d11
commit
47d5b6db2a
3 changed files with 46 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ enum switchdev_obj_id {
|
|||
SWITCHDEV_OBJ_ID_UNDEFINED,
|
||||
SWITCHDEV_OBJ_ID_PORT_VLAN,
|
||||
SWITCHDEV_OBJ_ID_PORT_MDB,
|
||||
SWITCHDEV_OBJ_ID_HOST_MDB,
|
||||
};
|
||||
|
||||
struct switchdev_obj {
|
||||
|
|
|
|||
Loading…
Reference in a new issue