netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: dsa: bcm_sf2: Add support for CFP statistics
@ 2019-02-06 20:45 Florian Fainelli
  2019-02-06 20:45 ` [PATCH net-next 1/4] net: dsa: bcm_sf2: Remove stats mutex Florian Fainelli
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Florian Fainelli @ 2019-02-06 20:45 UTC (permalink / raw)
  To: netdev; +Cc: davem, cphealy, vivien.didelot, Florian Fainelli

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(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-02-09  6:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-06 20:45 [PATCH net-next 0/4] net: dsa: bcm_sf2: Add support for CFP statistics Florian Fainelli
2019-02-06 20:45 ` [PATCH net-next 1/4] net: dsa: bcm_sf2: Remove stats mutex Florian Fainelli
2019-02-06 20:45 ` [PATCH net-next 2/4] net: dsa: bcm_sf2: Prepare for adding CFP statistics Florian Fainelli
2019-02-06 20:45 ` [PATCH net-next 3/4] net: dsa: bcm_sf2: Add support for " Florian Fainelli
2019-02-06 20:46 ` [PATCH net-next 4/4] net: dsa: bcm_sf2: Allow looping back CFP rules Florian Fainelli
2019-02-09  6:11 ` [PATCH net-next 0/4] net: dsa: bcm_sf2: Add support for CFP statistics David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).