common/sfc_efx: support Riverhead NIC family
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest60 patches 4 repliesIn review
- v260 patches 4 repliesSuperseded
- v160 patches 1 replySuperseded
Changes in v3 from the cover letter
- more spelling fixes
- fix extremely long lines in common/sfc_efx/base: update MCDI headers
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/60 | common/sfc_efx/base: add EF100 registers definitionsdrivers/ drivers/ | +935 | 0 replies | |
| 2/60 | common/sfc_efx/base: update MCDI headersdrivers/ drivers/ drivers/ | +5415 | 0 replies | |
| 3/60 | common/sfc_efx/base: add event queue operation to do pollingdrivers/ drivers/ | +182 | 0 replies | |
| 4/60 | common/sfc_efx/base: add efsys option for Riverheaddrivers/ drivers/ | +25 | 0 replies | |
| 5/60 | common/sfc_efx/base: add Riverhead NIC familydrivers/ drivers/ drivers/ | +24 | 0 replies | |
| 6/60 | common/sfc_efx/base: update registers check for Riverheaddrivers/ | +4 | 0 replies | |
| 7/60 | common/sfc_efx/base: use EF10 MCDI methods for Riverheaddrivers/ drivers/ drivers/ +1 more | +65 | 0 replies | |
| 8/60 | common/sfc_efx/base: use EF10 PHY methods for Riverheaddrivers/ drivers/ | +28 | 0 replies | |
| 9/60 | common/sfc_efx/base: move 14b prefix check out of caps getdrivers/ | +18 | 0 replies | |
| 10/60 | common/sfc_efx/base: remove PF count get from caps getdrivers/ | +18 | 0 replies | |
| 11/60 | common/sfc_efx/base: factor out helper to get board configdrivers/ | +117 | 0 replies | |
| 12/60 | common/sfc_efx/base: set NIC features in generic placedrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 13/60 | common/sfc_efx/base: factor out MCDI entity reset helperdrivers/ | +34 | 0 replies | |
| 14/60 | common/sfc_efx/base: add Riverhead support to NIC moduledrivers/ drivers/ drivers/ +5 more | +716 | 0 replies | |
| 15/60 | common/sfc_efx/base: use dummy tunnel ops for Riverheaddrivers/ | +8 | 0 replies | |
| 16/60 | common/sfc_efx/base: use EF10 filter methods for Riverheaddrivers/ drivers/ drivers/ | +27 | 0 replies | |
| 17/60 | common/sfc_efx/base: use EF10 MAC methods for Riverheaddrivers/ drivers/ drivers/ | +36 | 0 replies | |
| 18/60 | common/sfc_efx/base: add interrupts module for Riverheaddrivers/ drivers/ drivers/ +1 more | +180 | 0 replies | |
| 19/60 | common/sfc_efx/base: move EvQ init/fini wrappers to genericdrivers/ drivers/ drivers/ | +339 | 0 replies | |
| 20/60 | common/sfc_efx/base: move EvQ create generic checksdrivers/ drivers/ | +28 | 0 replies | |
| 21/60 | common/sfc_efx/base: prepare to merge EvQ init functionsdrivers/ | +26 | 0 replies | |
| 22/60 | common/sfc_efx/base: merge versions of init EvQ wrappersdrivers/ drivers/ drivers/ | +95 | 0 replies | |
| 23/60 | common/sfc_efx/base: add event queue module for Riverheaddrivers/ drivers/ drivers/ +3 more | +379 | 0 replies | |
| 24/60 | common/sfc_efx/base: complete EvQ creation on Riverheaddrivers/ drivers/ drivers/ +6 more | +79 | 0 replies | |
| 25/60 | common/sfc_efx/base: handle MCDI events on Riverheaddrivers/ drivers/ drivers/ | +49 | 0 replies | |
| 26/60 | common/sfc_efx/base: move RxQ init/fini wrappers to genericdrivers/ drivers/ drivers/ | +215 | 0 replies | |
| 27/60 | common/sfc_efx/base: move TxQ init/fini wrappers to genericdrivers/ drivers/ drivers/ | +150 | 0 replies | |
| 28/60 | common/sfc_efx/base: switch TxQ init to extended versiondrivers/ | +2 | 0 replies | |
| 29/60 | common/sfc_efx/base: maintain RxQ counter in generic codedrivers/ drivers/ | +5 | 0 replies | |
| 30/60 | common/sfc_efx/base: free Rx queue structure in generic codedrivers/ drivers/ | +3 | 0 replies | |
| 31/60 | common/sfc_efx/base: move Rx index check to generic codedrivers/ drivers/ | +35 | 0 replies | |
| 32/60 | common/sfc_efx/base: implement Rx control path for Riverheaddrivers/ drivers/ drivers/ +4 more | +498 | 0 replies | |
| 33/60 | common/sfc_efx/base: implement Tx control path for Riverheaddrivers/ drivers/ drivers/ +3 more | +311 | 0 replies | |
| 34/60 | common/sfc_efx/base: fix Tx descriptor DMA sync on Riverheaddrivers/ drivers/ drivers/ +2 more | +10 | 0 replies | |
| 35/60 | common/sfc_efx/base: handle Rx events for Riverheaddrivers/ drivers/ | +63 | 0 replies | |
| 36/60 | common/sfc_efx/base: handle Tx complete on Riverheaddrivers/ drivers/ | +57 | 0 replies | |
| 37/60 | common/sfc_efx/base: indicate support for TSO version 3drivers/ drivers/ drivers/ | +8 | 0 replies | |
| 38/60 | common/sfc_efx/base: report restrictions for TSO version 3drivers/ drivers/ drivers/ | +50 | 0 replies | |
| 39/60 | common/sfc_efx: do not include libefx headers from efsys.hdrivers/ | +0 | 0 replies | |
| 40/60 | common/sfc_efx/base: add API to get Rx prefix informationdrivers/ drivers/ drivers/ +4 more | +201 | 0 replies | |
| 41/60 | common/sfc_efx/base: group RxQ parameters into a structuredrivers/ drivers/ drivers/ +1 more | +58 | 0 replies | |
| 42/60 | common/sfc_efx/base: choose smallest Rx prefix on Riverheaddrivers/ drivers/ drivers/ | +338 | 0 replies | |
| 43/60 | common/sfc_efx/base: add function control window conceptdrivers/ drivers/ drivers/ +4 more | +67 | 0 replies | |
| 44/60 | common/sfc_efx/base: add function control window lookup APIdrivers/ drivers/ drivers/ +7 more | +529 | 0 replies | |
| 45/60 | common/sfc_efx/base: add efsys API to find a memory BARdrivers/ | +8 | 0 replies | |
| 46/60 | common/sfc_efx/base: add Xilinx capabilities table lookupdrivers/ drivers/ drivers/ +2 more | +183 | 0 replies | |
| 47/60 | common/sfc_efx/base: add NIC magic check on BAR lookupdrivers/ | +20 | 0 replies | |
| 48/60 | common/sfc_efx/base: introduce UDP tunnel destruct operationdrivers/ drivers/ | +26 | 0 replies | |
| 49/60 | common/sfc_efx/base: introduce states for UDP tunnel entriesdrivers/ drivers/ drivers/ | +269 | 0 replies | |
| 50/60 | common/sfc_efx/base: support UDP tunnel operations for EF100drivers/ drivers/ drivers/ +5 more | +418 | 0 replies | |
| 51/60 | common/sfc_efx/base: replace PCI efsys macros with functionsdrivers/ drivers/ drivers/ +3 more | +60 | 0 replies | |
| 52/60 | common/sfc_efx/base: use EF10 EVB methods for Riverheaddrivers/ drivers/ drivers/ | +30 | 0 replies | |
| 53/60 | common/sfc_efx/base: allocate vAdaptor on Riverheaddrivers/ drivers/ drivers/ | +55 | 0 replies | |
| 54/60 | common/sfc_efx/base: add option for extended width eventsdrivers/ drivers/ | +8 | 0 replies | |
| 55/60 | common/sfc_efx/base: add 256bit typedrivers/ | +571 | 0 replies | |
| 56/60 | common/sfc_efx/base: support creation of extended width EvQdrivers/ drivers/ drivers/ +6 more | +120 | 0 replies | |
| 57/60 | common/sfc_efx/base: poll extended width event queuesdrivers/ | +154 | 0 replies | |
| 58/60 | common/sfc_efx/base: handle normal events in extended widthdrivers/ | +51 | 0 replies | |
| 59/60 | common/sfc_efx/base: add option for descriptor proxy queuesdrivers/ drivers/ | +12 | 0 replies | |
| 60/60 | common/sfc_efx/base: handle descriptor proxy queue eventsdrivers/ drivers/ drivers/ | +137 | 0 replies |
Reviews trailers per patch
51 of 60 patches have a Reviewed-by or Acked-by.
| Patch | Andy Moreton | Vijay Kumar Srivastava | Andrew Lee |
|---|---|---|---|
| 1/60 | |||
| 2/60 | |||
| 3/60 | R-b | ||
| 4/60 | R-b | R-b | |
| 5/60 | R-b | R-b | |
| 6/60 | R-b | R-b | |
| 7/60 | R-b | ||
| 8/60 | R-b | R-b | |
| 9/60 | R-b | ||
| 10/60 | R-b | ||
| 11/60 | R-b | ||
| 12/60 | R-b | ||
| 13/60 | R-b | ||
| 14/60 | R-b | R-b | |
| 15/60 | R-b | ||
| 16/60 | R-b | R-b | |
| 17/60 | R-b | R-b | |
| 18/60 | R-b | ||
| 19/60 | R-b | R-b | |
| 20/60 | R-b | R-b | |
| 21/60 | R-b | ||
| 22/60 | R-b | ||
| 23/60 | R-b | ||
| 24/60 | R-b | ||
| 25/60 | R-b | ||
| 26/60 | R-b | ||
| 27/60 | R-b | R-b | |
| 28/60 | R-b | ||
| 29/60 | R-b | ||
| 30/60 | R-b | ||
| 31/60 | R-b | ||
| 32/60 | R-b | ||
| 33/60 | R-b | ||
| 34/60 | R-b | ||
| 35/60 | R-b | ||
| 36/60 | R-b | ||
| 37/60 | R-b | R-b | |
| 38/60 | R-b | R-b | |
| 39/60 | R-b | R-b | |
| 40/60 | R-b | ||
| 41/60 | R-b | ||
| 42/60 | R-b | ||
| 43/60 | R-b | ||
| 44/60 | R-b | ||
| 45/60 | R-b | ||
| 46/60 | R-b | ||
| 47/60 | R-b | ||
| 48/60 | R-b | ||
| 49/60 | R-b | ||
| 50/60 | R-b | ||
| 51/60 | R-b | ||
| 52/60 | R-b | ||
| 53/60 | R-b | ||
| 54/60 | |||
| 55/60 | |||
| 56/60 | |||
| 57/60 | |||
| 58/60 | |||
| 59/60 | |||
| 60/60 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [dpdk-dev] [PATCH v3 00/60] common/sfc_efx: support Riverhead NIC family
Riverhead is a new NIC family, the first one with EF100 architecture. Control interface is an MCDI similar to EF10. Datapath interface is completely new.
The patch series is build tested with and without EFSYS_OPT_RIVERHEAD enabled.
EF10-based NICs are tested with the patch series applied with and without EFSYS_OPT_RIVERHEAD enabled.
net/sfc patches will follow.
v3:
- more spelling fixes
- fix extremely long lines in common/sfc_efx/base: update MCDI headers
v2:
- fix spelling in few patches
- use tabs to indent instead of spaces
Andrew Rybchenko (41):
common/sfc_efx/base: add EF100 registers definitions common/sfc_efx/base: update MCDI headers common/sfc_efx/base: add event queue operation to do polling common/sfc_efx/base: add efsys option for Riverhead common/sfc_efx/base: add Riverhead NIC family common/sfc_efx/base: update registers check for Riverhead common/sfc_efx/base: use EF10 MCDI methods for Riverhead common/sfc_efx/base: use EF10 PHY methods for Riverhead common/sfc_efx/base: move 14b prefix check out of caps get common/sfc_efx/base: remove PF count get from caps get common/sfc_efx/base: factor out helper to get board config common/sfc_efx/base: set NIC features in generic place common/sfc_efx/base: factor out MCDI entity reset helper common/sfc_efx/base: add Riverhead support to NIC module common/sfc_efx/base: use dummy tunnel ops for Riverhead common/sfc_efx/base: use EF10 filter methods for Riverhead common/sfc_efx/base: use EF10 MAC methods for Riverhead common/sfc_efx/base: add interrupts module for Riverhead common/sfc_efx/base: move EvQ init/fini wrappers to generic common/sfc_efx/base: move EvQ create generic checks common/sfc_efx/base: prepare to merge EvQ init functions common/sfc_efx/base: merge versions of init EvQ wrappers common/sfc_efx/base: add event queue module for Riverhead common/sfc_efx/base: handle MCDI events on Riverhead common/sfc_efx/base: move RxQ init/fini wrappers to generic common/sfc_efx/base: move TxQ init/fini wrappers to generic common/sfc_efx/base: switch TxQ init to extended version common/sfc_efx/base: maintain RxQ counter in generic code common/sfc_efx/base: free Rx queue structure in generic code common/sfc_efx/base: move Rx index check to generic code common/sfc_efx/base: implement Rx control path for Riverhead common/sfc_efx/base: implement Tx control path for Riverhead common/sfc_efx/base: fix Tx descriptor DMA sync on Riverhead common/sfc_efx/base: handle Rx events for Riverhead common/sfc_efx/base: handle Tx complete on Riverhead common/sfc_efx: do not include libefx headers from efsys.h common/sfc_efx/base: add API to get Rx prefix information common/sfc_efx/base: group RxQ parameters into a structure common/sfc_efx/base: choose smallest Rx prefix on Riverhead common/sfc_efx/base: use EF10 EVB methods for Riverhead common/sfc_efx/base: allocate vAdaptor on Riverhead
Andy Moreton (7):
common/sfc_efx/base: add option for extended width events common/sfc_efx/base: add 256bit type common/sfc_efx/base: support creation of extended width EvQ common/sfc_efx/base: poll extended width event queues common/sfc_efx/base: handle normal events in extended width common/sfc_efx/base: add option for descriptor proxy queues common/sfc_efx/base: handle descriptor proxy queue events
Igor Romanov (9):
common/sfc_efx/base: add function control window concept common/sfc_efx/base: add function control window lookup API common/sfc_efx/base: add efsys API to find a memory BAR common/sfc_efx/base: add Xilinx capabilities table lookup common/sfc_efx/base: add NIC magic check on BAR lookup common/sfc_efx/base: introduce UDP tunnel destruct operation common/sfc_efx/base: introduce states for UDP tunnel entries common/sfc_efx/base: support UDP tunnel operations for EF100 common/sfc_efx/base: replace PCI efsys macros with functions
Ivan Malov (3):
common/sfc_efx/base: complete EvQ creation on Riverhead common/sfc_efx/base: indicate support for TSO version 3 common/sfc_efx/base: report restrictions for TSO version 3
drivers/common/sfc_efx/base/ef10_ev.c | 391 +- drivers/common/sfc_efx/base/ef10_evb.c | 8 +- drivers/common/sfc_efx/base/ef10_filter.c | 24 +- drivers/common/sfc_efx/base/ef10_impl.h | 38 + drivers/common/sfc_efx/base/ef10_mac.c | 6 +- drivers/common/sfc_efx/base/ef10_mcdi.c | 55 +- drivers/common/sfc_efx/base/ef10_nic.c | 413 +- drivers/common/sfc_efx/base/ef10_phy.c | 4 +- drivers/common/sfc_efx/base/ef10_rx.c | 384 +- drivers/common/sfc_efx/base/ef10_tx.c | 137 +- drivers/common/sfc_efx/base/efx.h | 226 +- drivers/common/sfc_efx/base/efx_check.h | 71 +- drivers/common/sfc_efx/base/efx_ev.c | 456 +- drivers/common/sfc_efx/base/efx_evb.c | 24 + drivers/common/sfc_efx/base/efx_filter.c | 18 + drivers/common/sfc_efx/base/efx_impl.h | 252 +- drivers/common/sfc_efx/base/efx_intr.c | 20 + drivers/common/sfc_efx/base/efx_mac.c | 32 + drivers/common/sfc_efx/base/efx_mcdi.c | 588 +- drivers/common/sfc_efx/base/efx_mcdi.h | 11 + drivers/common/sfc_efx/base/efx_nic.c | 102 + drivers/common/sfc_efx/base/efx_pci.c | 367 ++ drivers/common/sfc_efx/base/efx_phy.c | 26 + drivers/common/sfc_efx/base/efx_regs_ef100.h | 934 +++ drivers/common/sfc_efx/base/efx_regs_mcdi.h | 5483 ++++++++++++++++- .../common/sfc_efx/base/efx_regs_mcdi_aoe.h | 201 +- .../common/sfc_efx/base/efx_regs_mcdi_strs.h | 2 +- drivers/common/sfc_efx/base/efx_rx.c | 112 +- drivers/common/sfc_efx/base/efx_tunnel.c | 342 +- drivers/common/sfc_efx/base/efx_tx.c | 35 +- drivers/common/sfc_efx/base/efx_types.h | 581 +- drivers/common/sfc_efx/base/hunt_nic.c | 6 + drivers/common/sfc_efx/base/medford2_nic.c | 6 + drivers/common/sfc_efx/base/medford_nic.c | 6 + drivers/common/sfc_efx/base/meson.build | 10 +- drivers/common/sfc_efx/base/rhead_ev.c | 687 +++ drivers/common/sfc_efx/base/rhead_impl.h | 484 ++ drivers/common/sfc_efx/base/rhead_intr.c | 104 + drivers/common/sfc_efx/base/rhead_nic.c | 633 ++ drivers/common/sfc_efx/base/rhead_pci.c | 146 + drivers/common/sfc_efx/base/rhead_rx.c | 677 ++ drivers/common/sfc_efx/base/rhead_tunnel.c | 343 ++ drivers/common/sfc_efx/base/rhead_tx.c | 192 + drivers/common/sfc_efx/base/siena_nic.c | 10 +- drivers/common/sfc_efx/efsys.h | 9 +- .../sfc_efx/rte_common_sfc_efx_version.map | 3 + drivers/net/sfc/sfc.c | 3 +- drivers/net/sfc/sfc_ev.c | 18 +- 48 files changed, 13193 insertions(+), 1487 deletions(-) create mode 100644 drivers/common/sfc_efx/base/efx_pci.c create mode 100644 drivers/common/sfc_efx/base/efx_regs_ef100.h create mode 100644 drivers/common/sfc_efx/base/rhead_ev.c create mode 100644 drivers/common/sfc_efx/base/rhead_impl.h create mode 100644 drivers/common/sfc_efx/base/rhead_intr.c create mode 100644 drivers/common/sfc_efx/base/rhead_nic.c create mode 100644 drivers/common/sfc_efx/base/rhead_pci.c create mode 100644 drivers/common/sfc_efx/base/rhead_rx.c create mode 100644 drivers/common/sfc_efx/base/rhead_tunnel.c create mode 100644 drivers/common/sfc_efx/base/rhead_tx.c
Signature · 1 line
2.17.1