Thread (7 messages) 7 messages, 2 authors, 5h ago
HOTtoday

[PATCH net-next 0/5] dpaa2-switch: FDB management refactoring

From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: 2026-06-10 15:09:37
Also in: lkml

The FDB management done by the dpaa2_switch_port_set_fdb() function is
hard to follow even by trained eyes. This series tries to make it easier
to read and understand it by factoring out some code blocks into helper
functions and unifying the join and leave paths in terms of FDB
management.

Ioana Ciornei (5):
  dpaa2-switch: change dpaa2_switch_port_set_fdb() function prototype
  dpaa2-switch: factor out the FDB in-use check into a helper
  dpaa2-switch: move FDB selection for join path into a helper
  dpaa2-switch: move FDB selection for leave path into a helper
  dpaa2-switch: unify the FDB update logic in
    dpaa2_switch_port_set_fdb()

 .../ethernet/freescale/dpaa2/dpaa2-switch.c   | 128 ++++++++++--------
 1 file changed, 70 insertions(+), 58 deletions(-)

-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help