]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: Extend switchdev bridge flags
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Sat, 18 Dec 2021 21:49:45 +0000 (22:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2021 11:44:06 +0000 (11:44 +0000)
commit50e90eeadc839703e0a5df50e0ebb555175cf15b
treecb7587bfa9315c590dc69ec45e89bb0d6982864d
parent8047b236200bd67dc05fe548e8cdb754e6671b4c
net: lan966x: Extend switchdev bridge flags

Currently allow a port to be part or not of the multicast flooding mask.
By implementing the switchdev calls SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS
and SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c