]> git.samba.org - sfrench/cifs-2.6.git/commit
net: lan966x: Extend lan966x_foreign_bridging_check
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 17 Aug 2022 19:34:46 +0000 (21:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Aug 2022 13:00:54 +0000 (14:00 +0100)
commita751ea4d74e9170da0ec52286644b190a8364571
treebc9cf7af84ad8788d937bf35c0dd9b217fa3379a
parentd6208adfc9a9acbf76a6ee74eb3dad52eab33369
net: lan966x: Extend lan966x_foreign_bridging_check

Extend lan966x_foreign_bridging_check to check also if the upper
interface is a lag device. Don't allow a lan966x port to be part of a
lag if it has foreign interfaces.

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