net: dsa: bcm_sf2: Add support for CFP statistics
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: dsa: bcm_sf2: Remove stats mutexdrivers/ drivers/ | +0 | 0 replies | |
| 2/4 | net: dsa: bcm_sf2: Prepare for adding CFP statisticsdrivers/ | +21 | 0 replies | |
| 3/4 | net: dsa: bcm_sf2: Add support for CFP statisticsdrivers/ drivers/ drivers/ +1 more | +112 | 0 replies | |
| 4/4 | net: dsa: bcm_sf2: Allow looping back CFP rulesdrivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/4] net: dsa: bcm_sf2: Add support for CFP statistics
Hi all,
The Broadcom SF2 switch has a Compact Field Processor (CFP) which not only can perform matching + action, but also counts the number of times a rule has been hit. This is invaluable while debugging when/if rules are not matched.
Florian Fainelli (4):
net: dsa: bcm_sf2: Remove stats mutex
net: dsa: bcm_sf2: Prepare for adding CFP statistics
net: dsa: bcm_sf2: Add support for CFP statistics
net: dsa: bcm_sf2: Allow looping back CFP rules
drivers/net/dsa/bcm_sf2.c | 39 ++++++++++++-- drivers/net/dsa/bcm_sf2.h | 8 +-- drivers/net/dsa/bcm_sf2_cfp.c | 99 ++++++++++++++++++++++++++++++++-- drivers/net/dsa/bcm_sf2_regs.h | 4 ++ 4 files changed, 140 insertions(+), 10 deletions(-)
Signature · 1 line
2.17.1