]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: felix: propagate the LAG offload ops towards the ocelot lib
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 5 Feb 2021 22:02:21 +0000 (00:02 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Feb 2021 22:51:51 +0000 (14:51 -0800)
commit9e8e0f6e33cc1c9ee8042300f45802cbcd441102
tree6ab5fc32ec80cc2b113d606a6f021c1d9611df06
parent65fa1706a5916241f5f12facb48f8239014362fe
net: dsa: felix: propagate the LAG offload ops towards the ocelot lib

The ocelot switch has been supporting LAG offload since its initial
commit, however felix could not make use of that, due to lack of a LAG
abstraction in DSA. Now that we have that, let's forward DSA's calls
towards the ocelot library, who will deal with setting up the bonding.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/ocelot/felix.c
drivers/net/ethernet/mscc/ocelot.h
include/soc/mscc/ocelot.h