Skip to content

net: dsa: b53: ARL improvements

Florian Fainelli netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: dsa: b53: Rename num_arl_entries to num_arl_binsdrivers/net/dsa/b53/b53_common.c drivers/net/dsa/b53/b53_priv.h+27 -271 reply
2/4net: dsa: b53: Provide number of ARL bucketsdrivers/net/dsa/b53/b53_common.c drivers/net/dsa/b53/b53_priv.h+22 -01 reply
3/4net: dsa: b53: Bound check ARL searchesdrivers/net/dsa/b53/b53_common.c drivers/net/dsa/b53/b53_priv.h+6 -11 reply
4/4net: dsa: b53: Remove is_static argument to b53_read_op()drivers/net/dsa/b53/b53_common.c+3 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/4] net: dsa: b53: ARL improvements

Hi all,

This patch series improves the b53 driver ARL search code by renaming the ARL entries to be reflective of what they are: bins, and then introduce the number of buckets so we can properly bound check ARL searches.

The final patch removes an unused argument.

Florian Fainelli (4):
net: dsa: b53: Rename num_arl_entries to num_arl_bins
net: dsa: b53: Provide number of ARL buckets
net: dsa: b53: Bound check ARL searches
net: dsa: b53: Remove is_static argument to b53_read_op()

 drivers/net/dsa/b53/b53_common.c | 81 ++++++++++++++++++++------------
 drivers/net/dsa/b53/b53_priv.h   |  8 +++-
 2 files changed, 58 insertions(+), 31 deletions(-)
Signature · 1 line
2.17.1