]> 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)
commit3fb10bad73f3a852666f33133b1ad804d01e10bb
treec5a5b280c85490b5d360f96c94376b72080f2e81
parentd6f7040fccd9d4d93826633e5f93b1365f5753d6
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