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)
commit0ddf83cda5a6e1a7148ddef46b1c2e21d5be7515
treec5a5b280c85490b5d360f96c94376b72080f2e81
parente9b3ba439dcb975474accbae1a37b99f9df59bed
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