net: bgmac: add Northstar IPv4 TCP/UDP NAT flowtable offload
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net: ethernet: bgmac: validate RX length against the DMA packet capacitydrivers/ | +7 | 1 reply | |
| 2/9 | netfilter: flowtable: reject non-host IPv4 packets before lookupnet/ | +4 | 1 reply | |
| 3/9 | netfilter: flowtable: retain offload ownership until deletion completesDocumentation/ MAINTAINERS net/ +3 more | +127 | 1 reply | |
| 4/9 | dt-bindings: net: describe the Northstar flow acceleratorDocumentation/ Documentation/ MAINTAINERS | +74 | 1 reply | |
| 5/9 | net: dsa: add Broadcom FA metadata and IPv4 exception pathsdrivers/ drivers/ drivers/ +5 more | +603 | 1 reply | |
| 6/9 | net: flow_offload: allow drivers to validate and invalidate cached pathsinclude/ include/ net/ +2 more | +87 | 4 replies | |
| 7/9 | net: bgmac: add Northstar IPv4 TCP/UDP NAT flowtable offloadMAINTAINERS drivers/ drivers/ +5 more | +1991 | 1 reply | |
| 8/9 | net: add KUnit coverage for FA and flowtable path validationMAINTAINERS drivers/ drivers/ +12 more | +1254 | 1 reply | |
| 9/9 | docs: net: document Northstar FA setup and NAT qualificationDocumentation/ Documentation/ MAINTAINERS | +509 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/9] net: bgmac: add Northstar IPv4 TCP/UDP NAT flowtable offload
This patch series adds support for the Broadcom Northstar IPv4 TCP/UDP NAT flowtable hardware called Flow Accelerator (FA). There is a second generation called FA+/FA2 which will be added on top later on since it builds upon the custom Broadcom tag.
Florian Fainelli (9):
net: ethernet: bgmac: validate RX length against the DMA packet
capacity
netfilter: flowtable: reject non-host IPv4 packets before lookup
netfilter: flowtable: retain offload ownership until deletion
completes
dt-bindings: net: describe the Northstar flow accelerator
net: dsa: add Broadcom FA metadata and IPv4 exception paths
net: flow_offload: allow drivers to validate and invalidate cached
paths
net: bgmac: add Northstar IPv4 TCP/UDP NAT flowtable offload
net: add KUnit coverage for FA and flowtable path validation
docs: net: document Northstar FA setup and NAT qualification
.../bindings/net/brcm,bcm4708-fa.yaml | 45 + .../bindings/net/brcm,bcm5301x-gmac.yaml | 27 + .../ethernet/broadcom/bcm-ns-fa.rst | 507 +++++ .../device_drivers/ethernet/index.rst | 1 + Documentation/networking/nf_flowtable.rst | 13 + MAINTAINERS | 8 + drivers/net/dsa/b53/Kconfig | 12 + drivers/net/dsa/b53/b53_common.c | 427 +++- drivers/net/dsa/b53/b53_fa_test.c | 102 + drivers/net/dsa/b53/b53_priv.h | 6 + drivers/net/dsa/b53/b53_regs.h | 39 + drivers/net/ethernet/broadcom/.kunitconfig | 21 + drivers/net/ethernet/broadcom/Kconfig | 35 + drivers/net/ethernet/broadcom/Makefile | 1 + .../net/ethernet/broadcom/bcm-ns-fa-test.c | 661 ++++++ drivers/net/ethernet/broadcom/bcm-ns-fa.c | 1901 +++++++++++++++++ drivers/net/ethernet/broadcom/bcm-ns-fa.h | 30 + drivers/net/ethernet/broadcom/bgmac-bcma.c | 5 + drivers/net/ethernet/broadcom/bgmac.c | 41 +- drivers/net/ethernet/broadcom/bgmac.h | 2 + include/linux/dsa/brcm.h | 19 + include/net/dsa.h | 2 + include/net/flow_offload.h | 12 + include/net/netfilter/nf_flow_table.h | 8 +- net/dsa/Kconfig | 20 + net/dsa/tag_brcm.c | 120 +- net/dsa/tag_brcm_test.c | 199 ++ net/netfilter/Kconfig | 10 + net/netfilter/nf_flow_table_core.c | 21 +- net/netfilter/nf_flow_table_core_test.c | 171 ++ net/netfilter/nf_flow_table_ip.c | 4 + net/netfilter/nf_flow_table_offload.c | 62 + net/netfilter/nf_flow_table_offload_test.c | 129 ++ net/netfilter/nft_flow_offload.c | 6 +- .../kunit/configs/nf_flow_table.config | 9 + 35 files changed, 4651 insertions(+), 25 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/brcm,bcm4708-fa.yaml create mode 100644 Documentation/devicetree/bindings/net/brcm,bcm5301x-gmac.yaml create mode 100644 Documentation/networking/device_drivers/ethernet/broadcom/bcm-ns-fa.rst create mode 100644 drivers/net/dsa/b53/b53_fa_test.c create mode 100644 drivers/net/ethernet/broadcom/.kunitconfig create mode 100644 drivers/net/ethernet/broadcom/bcm-ns-fa-test.c create mode 100644 drivers/net/ethernet/broadcom/bcm-ns-fa.c create mode 100644 drivers/net/ethernet/broadcom/bcm-ns-fa.h create mode 100644 net/dsa/tag_brcm_test.c create mode 100644 net/netfilter/nf_flow_table_core_test.c create mode 100644 net/netfilter/nf_flow_table_offload_test.c create mode 100644 tools/testing/kunit/configs/nf_flow_table.config
Signature · 1 line
2.53.0