]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: felix: bring the NPI port indirection for host MDBs to surface
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 11 May 2022 09:50:14 +0000 (12:50 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 May 2022 23:38:54 +0000 (16:38 -0700)
commit0a30f99ae96eb9a4fb1b2321edbc919bef140cba
treec5a5b280c85490b5d360f96c94376b72080f2e81
parent1de5912542dcd1e12bcde8c722866bf4e50566a2
net: dsa: felix: bring the NPI port indirection for host MDBs to surface

For symmetry with host FDBs where the indirection is now handled outside
the ocelot switch lib, do the same for host MDB entries. The only caller
of the ocelot switch lib which uses the NPI port is the Felix DSA driver.

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.c