netdevsim: add fake FT/CLS_FLOWER offload
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesApplied 2/2
- v12 patches 3 repliesSuperseded
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netdevsim: tc: allow to test nf_tables offload control plane codedrivers/ drivers/ | +19 | 0 replies | Applied |
| 2/2 | selftests: netfilter: add phony nft_offload testtools/ tools/ tools/ | +139 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 net-next 0/2] netdevsim: add fake FT/CLS_FLOWER offload
v2: fix up error reporting via extack
shellcheck cleanups
sort config toggles
1) Enable nf_tables offload control plane testing in netdevsim. Tag existing offload fn to allow error injection for testing rollback and abort logic.
2) Add nft_offload selftest to exercise the control plane and error unwind via fault injection.
Florian Westphal (2):
netdevsim: tc: allow to test nf_tables offload control plane code
selftests: netfilter: add phony nft_offload test
drivers/net/netdevsim/bpf.c | 6 - drivers/net/netdevsim/tc.c | 20 ++- .../testing/selftests/net/netfilter/Makefile | 1 + tools/testing/selftests/net/netfilter/config | 6 + .../selftests/net/netfilter/nft_offload.sh | 132 ++++++++++++++++++ 5 files changed, 158 insertions(+), 7 deletions(-) create mode 100755 tools/testing/selftests/net/netfilter/nft_offload.sh
Signature · 1 line
2.53.0