eth: fbnic: support RSS contexts and ntuple filters
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 10 repliesIn review 5 of 7 applied
Patches in v1 5 of 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: ethtool: prevent flow steering to RSS contexts which don't existnet/ | +8 | 3 replies | Applied |
| 2/7 | selftests: net-drv: test adding flow rule to invalid RSS contexttools/ | +26 | 2 replies | Applied |
| 3/7 | eth: fbnic: support an additional RSS contextdrivers/ | +59 | 1 reply | Applied |
| 4/7 | eth: fbnic: add IP TCAM programmingdrivers/ drivers/ drivers/ +1 more | +389 | 0 replies | |
| 5/7 | eth: fbnic: support n-tuple filtersdrivers/ drivers/ drivers/ +2 more | +660 | 0 replies | |
| 6/7 | selftests: drv-net: rss_ctx: skip tests which need multiple contexts cleanlytools/ | +14 | 0 replies | Applied |
| 7/7 | eth: fbnic: support listing tcam content via debugfsdrivers/ | +138 | 2 replies | Applied |
Reviews trailers per patch
3 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Willem de Bruijn | Joe Damato |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | R-b |
| 3/7 | R-b | |
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/7] eth: fbnic: support RSS contexts and ntuple filters
Add support for RSS contexts and ntuple filters in fbnic. The device has only one context, intended for use by TCP zero-copy Rx.
First two patches add a check we seem to be missing in the core, to avoid having to copy it to all drivers.
$ ./drivers/net/hw/rss_ctx.py KTAP version 1 1..16 ok 1 rss_ctx.test_rss_key_indir ok 2 rss_ctx.test_rss_queue_reconfigure ok 3 rss_ctx.test_rss_resize ok 4 rss_ctx.test_hitless_key_update ok 5 rss_ctx.test_rss_context # Failed to create context 2, trying to test what we got ok 6 rss_ctx.test_rss_context4 # SKIP Tested only 1 contexts, wanted 4 # Increasing queue count 44 -> 66 # Failed to create context 2, trying to test what we got ok 7 rss_ctx.test_rss_context32 # SKIP Tested only 1 contexts, wanted 32 # Added only 1 out of 3 contexts ok 8 rss_ctx.test_rss_context_dump # Driver does not support rss + queue offset ok 9 rss_ctx.test_rss_context_queue_reconfigure ok 10 rss_ctx.test_rss_context_overlap ok 11 rss_ctx.test_rss_context_overlap2 # SKIP Test requires at least 2 contexts, but device only has 1 ok 12 rss_ctx.test_rss_context_out_of_order # SKIP Test requires at least 4 contexts, but device only has 1 # Failed to create context 2, trying to test what we got ok 13 rss_ctx.test_rss_context4_create_with_cfg # SKIP Tested only 1 contexts, wanted 4 ok 14 rss_ctx.test_flow_add_context_missing ok 15 rss_ctx.test_delete_rss_context_busy ok 16 rss_ctx.test_rss_ntuple_addition # SKIP Ntuple filter with RSS and nonzero action not supported # Totals: pass:10 fail:0 xfail:0 xpass:0 skip:6 error:0
Alexander Duyck (3):
eth: fbnic: add IP TCAM programming
eth: fbnic: support n-tuple filters
eth: fbnic: support listing tcam content via debugfs
Daniel Zahka (1):
eth: fbnic: support an additional RSS context
Jakub Kicinski (3):
net: ethtool: prevent flow steering to RSS contexts which don't exist
selftests: net-drv: test adding flow rule to invalid RSS context
selftests: drv-net: rss_ctx: skip tests which need multiple contexts
cleanly
drivers/net/ethernet/meta/fbnic/fbnic.h | 6 + drivers/net/ethernet/meta/fbnic/fbnic_csr.h | 6 + drivers/net/ethernet/meta/fbnic/fbnic_rpc.h | 35 + .../net/ethernet/meta/fbnic/fbnic_debugfs.c | 138 ++++ .../net/ethernet/meta/fbnic/fbnic_ethtool.c | 705 ++++++++++++++++++ .../net/ethernet/meta/fbnic/fbnic_netdev.c | 1 + drivers/net/ethernet/meta/fbnic/fbnic_rpc.c | 356 ++++++++- net/ethtool/ioctl.c | 12 +- .../selftests/drivers/net/hw/rss_ctx.py | 46 +- 9 files changed, 1294 insertions(+), 11 deletions(-)
Signature · 1 line
2.48.1