[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190206204600.24109-1-f.fainelli@gmail.com>
Date: Wed, 6 Feb 2019 12:45:56 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, cphealy@...il.com, vivien.didelot@...il.com,
Florian Fainelli <f.fainelli@...il.com>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists