summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-03-23 02:51:51 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-24 00:49:06 +0300
commit81ef35e7619a04b902ca457d60594f956154b9f2 (patch)
tree8b5b9479e42438c1828e67e67d2744859cd2062d /include/soc
parent010e269f91be8fc1436c753bfbbd9ce561151e71 (diff)
downloadlinux-81ef35e7619a04b902ca457d60594f956154b9f2.tar.xz
net: ocelot: call ocelot_netdevice_bridge_join when joining a bridged LAG
Similar to the DSA situation, ocelot supports LAG offload but treats this scenario improperly: ip link add br0 type bridge ip link add bond0 type bond ip link set bond0 master br0 ip link set swp0 master bond0 We do the same thing as we do there, which is to simulate a 'bridge join' on 'lag join', if we detect that the bonding upper has a bridge upper. Again, same as DSA, ocelot supports software fallback for LAG, and in that case, we should avoid calling ocelot_netdevice_changeupper. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions