Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] dpaa2-switch: FDB management refactoring
@ 2026-06-10 15:09 Ioana Ciornei
  2026-06-10 15:09 ` [PATCH net-next 1/5] dpaa2-switch: change dpaa2_switch_port_set_fdb() function prototype Ioana Ciornei
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ioana Ciornei @ 2026-06-10 15:09 UTC (permalink / raw)
  To: andrew+netdev, davem, edumazet, kuba, pabeni, netdev; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-14  1:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 15:09 [PATCH net-next 0/5] dpaa2-switch: FDB management refactoring Ioana Ciornei
2026-06-10 15:09 ` [PATCH net-next 1/5] dpaa2-switch: change dpaa2_switch_port_set_fdb() function prototype Ioana Ciornei
2026-06-10 15:09 ` [PATCH net-next 2/5] dpaa2-switch: factor out the FDB in-use check into a helper Ioana Ciornei
2026-06-10 15:09 ` [PATCH net-next 3/5] dpaa2-switch: move FDB selection for join path " Ioana Ciornei
2026-06-10 15:09 ` [PATCH net-next 4/5] dpaa2-switch: move FDB selection for leave " Ioana Ciornei
2026-06-10 15:09 ` [PATCH net-next 5/5] dpaa2-switch: unify the FDB update logic in dpaa2_switch_port_set_fdb() Ioana Ciornei
2026-06-14  1:00 ` [PATCH net-next 0/5] dpaa2-switch: FDB management refactoring patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox