net: dsa: bcm_sf2: CFP support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 1 replyIn review
- v24 patches 3 repliesSuperseded
- v14 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- rebased against latest net-next/master after Vivien's changes
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: dsa: Hook {get,set}_rxnfc ethtool operationsinclude/ net/ | +34 | 0 replies | |
| 2/4 | net: dsa: bcm_sf2: Configure traffic classes to queue mappingdrivers/ drivers/ | +13 | 0 replies | |
| 3/4 | net: dsa: bcm_sf2: Add CFP registers definitionsdrivers/ | +146 | 0 replies | |
| 4/4 | net: dsa: bcm_sf2: Add support for ethtool::rxnfcdrivers/ drivers/ drivers/ +1 more | +645 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH net-next v3 0/4] net: dsa: bcm_sf2: CFP support
Hi all,
This patch series adds support for the Broadcom Compact Field Processor (CFP) which is a classification and matching engine built into most Broadcom switches.
We support that using ethtool::rxnfc because it allows all known uses cases from the users I support to work, and more importantly, it allows the selection of a target rule index, which is later used by e.g: offloading hardware, this is an essential feature that I could not find being supported with cls_* for instance.
Thanks!
Changes in v3:
- rebased against latest net-next/master after Vivien's changes
Changes in v2:
- fixed modular builds reported by kbuild test robot
Florian Fainelli (4):
net: dsa: Hook {get,set}_rxnfc ethtool operations
net: dsa: bcm_sf2: Configure traffic classes to queue mapping
net: dsa: bcm_sf2: Add CFP registers definitions
net: dsa: bcm_sf2: Add support for ethtool::rxnfc
drivers/net/dsa/Makefile | 1 + drivers/net/dsa/bcm_sf2.c | 23 ++ drivers/net/dsa/bcm_sf2.h | 17 ++ drivers/net/dsa/bcm_sf2_cfp.c | 613 +++++++++++++++++++++++++++++++++++++++++ drivers/net/dsa/bcm_sf2_regs.h | 150 ++++++++++ include/net/dsa.h | 8 + net/dsa/slave.c | 26 ++ 7 files changed, 838 insertions(+) create mode 100644 drivers/net/dsa/bcm_sf2_cfp.c
Signature · 1 line
2.9.3