diff options
| author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2026-06-10 18:09:12 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 17:50:51 -0700 |
| commit | 7aae797a003ebb7a020eb0b5eda1b2b6355e4f7b (patch) | |
| tree | e540d223d44b4671151e11ef9d044d4e9c970404 /include/linux | |
| parent | 2230a2e62251ddd8b0c02a2ebf27080fd8e730be (diff) | |
dpaa2-switch: unify the FDB update logic in dpaa2_switch_port_set_fdb()
For both the join and leave paths, the logic goes through the following
steps: determines which FDB should be used on a port after the current
changeupper change, populate the private port structures with the new
FDB and, if necessary, make as not used the old FDB.
Instead of having two distinct paths inside the
dpaa2_switch_port_set_fdb() for linking=true and linking=false, unify
them. This will hopefully help in making this function easier to read.
No behavior changes are expected.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://patch.msgid.link/20260610150912.1788482-6-ioana.ciornei@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
