Skip to content

common/sfc_efx: support Riverhead NIC family

Andrew Rybchenko dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest60 patches 4 repliesIn review
  2. v260 patches 4 repliesSuperseded
  3. 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 filesSizeRepliesApplied
1/60common/sfc_efx/base: add EF100 registers definitionsdrivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_regs_ef100.h+935 -00 replies
2/60common/sfc_efx/base: update MCDI headersdrivers/common/sfc_efx/base/efx_regs_mcdi.h drivers/common/sfc_efx/base/efx_regs_mcdi_aoe.h drivers/common/sfc_efx/base/efx_regs_mcdi_strs.h+5415 -2710 replies
3/60common/sfc_efx/base: add event queue operation to do pollingdrivers/common/sfc_efx/base/efx_ev.c drivers/common/sfc_efx/base/efx_impl.h+182 -1450 replies
4/60common/sfc_efx/base: add efsys option for Riverheaddrivers/common/sfc_efx/base/efx_check.h drivers/common/sfc_efx/efsys.h+25 -220 replies
5/60common/sfc_efx/base: add Riverhead NIC familydrivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_nic.c+24 -00 replies
6/60common/sfc_efx/base: update registers check for Riverheaddrivers/common/sfc_efx/base/efx_impl.h+4 -00 replies
7/60common/sfc_efx/base: use EF10 MCDI methods for Riverheaddrivers/common/sfc_efx/base/ef10_mcdi.c drivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_impl.h +1 more+65 -140 replies
8/60common/sfc_efx/base: use EF10 PHY methods for Riverheaddrivers/common/sfc_efx/base/ef10_phy.c drivers/common/sfc_efx/base/efx_phy.c+28 -20 replies
9/60common/sfc_efx/base: move 14b prefix check out of caps getdrivers/common/sfc_efx/base/ef10_nic.c+18 -150 replies
10/60common/sfc_efx/base: remove PF count get from caps getdrivers/common/sfc_efx/base/ef10_nic.c+18 -190 replies
11/60common/sfc_efx/base: factor out helper to get board configdrivers/common/sfc_efx/base/ef10_nic.c+117 -960 replies
12/60common/sfc_efx/base: set NIC features in generic placedrivers/common/sfc_efx/base/ef10_nic.c drivers/common/sfc_efx/base/efx_nic.c drivers/common/sfc_efx/base/siena_nic.c+3 -50 replies
13/60common/sfc_efx/base: factor out MCDI entity reset helperdrivers/common/sfc_efx/base/ef10_nic.c+34 -170 replies
14/60common/sfc_efx/base: add Riverhead support to NIC moduledrivers/common/sfc_efx/base/ef10_impl.h drivers/common/sfc_efx/base/ef10_nic.c drivers/common/sfc_efx/base/efx_impl.h +5 more+716 -150 replies
15/60common/sfc_efx/base: use dummy tunnel ops for Riverheaddrivers/common/sfc_efx/base/efx_tunnel.c+8 -20 replies
16/60common/sfc_efx/base: use EF10 filter methods for Riverheaddrivers/common/sfc_efx/base/ef10_filter.c drivers/common/sfc_efx/base/efx_filter.c drivers/common/sfc_efx/base/efx_impl.h+27 -90 replies
17/60common/sfc_efx/base: use EF10 MAC methods for Riverheaddrivers/common/sfc_efx/base/ef10_mac.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mac.c+36 -30 replies
18/60common/sfc_efx/base: add interrupts module for Riverheaddrivers/common/sfc_efx/base/efx_intr.c drivers/common/sfc_efx/base/meson.build drivers/common/sfc_efx/base/rhead_impl.h +1 more+180 -00 replies
19/60common/sfc_efx/base: move EvQ init/fini wrappers to genericdrivers/common/sfc_efx/base/ef10_ev.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c+339 -3040 replies
20/60common/sfc_efx/base: move EvQ create generic checksdrivers/common/sfc_efx/base/ef10_ev.c drivers/common/sfc_efx/base/efx_ev.c+28 -340 replies
21/60common/sfc_efx/base: prepare to merge EvQ init functionsdrivers/common/sfc_efx/base/efx_mcdi.c+26 -260 replies
22/60common/sfc_efx/base: merge versions of init EvQ wrappersdrivers/common/sfc_efx/base/ef10_ev.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c+95 -1980 replies
23/60common/sfc_efx/base: add event queue module for Riverheaddrivers/common/sfc_efx/base/efx_ev.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c +3 more+379 -50 replies
24/60common/sfc_efx/base: complete EvQ creation on Riverheaddrivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_ev.c drivers/common/sfc_efx/base/hunt_nic.c +6 more+79 -20 replies
25/60common/sfc_efx/base: handle MCDI events on Riverheaddrivers/common/sfc_efx/base/ef10_ev.c drivers/common/sfc_efx/base/ef10_impl.h drivers/common/sfc_efx/base/rhead_ev.c+49 -90 replies
26/60common/sfc_efx/base: move RxQ init/fini wrappers to genericdrivers/common/sfc_efx/base/ef10_rx.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c+215 -1840 replies
27/60common/sfc_efx/base: move TxQ init/fini wrappers to genericdrivers/common/sfc_efx/base/ef10_tx.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c+150 -1330 replies
28/60common/sfc_efx/base: switch TxQ init to extended versiondrivers/common/sfc_efx/base/efx_mcdi.c+2 -30 replies
29/60common/sfc_efx/base: maintain RxQ counter in generic codedrivers/common/sfc_efx/base/ef10_rx.c drivers/common/sfc_efx/base/efx_rx.c+5 -80 replies
30/60common/sfc_efx/base: free Rx queue structure in generic codedrivers/common/sfc_efx/base/ef10_rx.c drivers/common/sfc_efx/base/efx_rx.c+3 -60 replies
31/60common/sfc_efx/base: move Rx index check to generic codedrivers/common/sfc_efx/base/ef10_rx.c drivers/common/sfc_efx/base/efx_rx.c+35 -410 replies
32/60common/sfc_efx/base: implement Rx control path for Riverheaddrivers/common/sfc_efx/base/ef10_rx.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c +4 more+498 -100 replies
33/60common/sfc_efx/base: implement Tx control path for Riverheaddrivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c drivers/common/sfc_efx/base/efx_tx.c +3 more+311 -100 replies
34/60common/sfc_efx/base: fix Tx descriptor DMA sync on Riverheaddrivers/common/sfc_efx/base/ef10_rx.c drivers/common/sfc_efx/base/ef10_tx.c drivers/common/sfc_efx/base/efx_impl.h +2 more+10 -90 replies
35/60common/sfc_efx/base: handle Rx events for Riverheaddrivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/rhead_ev.c+63 -10 replies
36/60common/sfc_efx/base: handle Tx complete on Riverheaddrivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/rhead_ev.c+57 -10 replies
37/60common/sfc_efx/base: indicate support for TSO version 3drivers/common/sfc_efx/base/ef10_nic.c drivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/siena_nic.c+8 -00 replies
38/60common/sfc_efx/base: report restrictions for TSO version 3drivers/common/sfc_efx/base/ef10_nic.c drivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/rhead_nic.c+50 -40 replies
39/60common/sfc_efx: do not include libefx headers from efsys.hdrivers/common/sfc_efx/efsys.h+0 -10 replies
40/60common/sfc_efx/base: add API to get Rx prefix informationdrivers/common/sfc_efx/base/ef10_rx.c drivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_impl.h +4 more+201 -20 replies
41/60common/sfc_efx/base: group RxQ parameters into a structuredrivers/common/sfc_efx/base/ef10_rx.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c +1 more+58 -660 replies
42/60common/sfc_efx/base: choose smallest Rx prefix on Riverheaddrivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c drivers/common/sfc_efx/base/rhead_rx.c+338 -60 replies
43/60common/sfc_efx/base: add function control window conceptdrivers/common/sfc_efx/base/ef10_mcdi.c drivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_impl.h +4 more+67 -100 replies
44/60common/sfc_efx/base: add function control window lookup APIdrivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_check.h drivers/common/sfc_efx/base/efx_impl.h +7 more+529 -00 replies
45/60common/sfc_efx/base: add efsys API to find a memory BARdrivers/common/sfc_efx/base/rhead_pci.c+8 -10 replies
46/60common/sfc_efx/base: add Xilinx capabilities table lookupdrivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_pci.c drivers/common/sfc_efx/base/rhead_impl.h +2 more+183 -10 replies
47/60common/sfc_efx/base: add NIC magic check on BAR lookupdrivers/common/sfc_efx/base/rhead_pci.c+20 -00 replies
48/60common/sfc_efx/base: introduce UDP tunnel destruct operationdrivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_tunnel.c+26 -150 replies
49/60common/sfc_efx/base: introduce states for UDP tunnel entriesdrivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_tunnel.c+269 -250 replies
50/60common/sfc_efx/base: support UDP tunnel operations for EF100drivers/common/sfc_efx/base/ef10_filter.c drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.h +5 more+418 -100 replies
51/60common/sfc_efx/base: replace PCI efsys macros with functionsdrivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_nic.c +3 more+60 -190 replies
52/60common/sfc_efx/base: use EF10 EVB methods for Riverheaddrivers/common/sfc_efx/base/ef10_evb.c drivers/common/sfc_efx/base/efx_check.h drivers/common/sfc_efx/base/efx_evb.c+30 -60 replies
53/60common/sfc_efx/base: allocate vAdaptor on Riverheaddrivers/common/sfc_efx/base/ef10_impl.h drivers/common/sfc_efx/base/ef10_nic.c drivers/common/sfc_efx/base/rhead_nic.c+55 -30 replies
54/60common/sfc_efx/base: add option for extended width eventsdrivers/common/sfc_efx/base/efx_check.h drivers/common/sfc_efx/efsys.h+8 -00 replies
55/60common/sfc_efx/base: add 256bit typedrivers/common/sfc_efx/base/efx_types.h+571 -90 replies
56/60common/sfc_efx/base: support creation of extended width EvQdrivers/common/sfc_efx/base/ef10_ev.c drivers/common/sfc_efx/base/ef10_nic.c drivers/common/sfc_efx/base/efx.h +6 more+120 -200 replies
57/60common/sfc_efx/base: poll extended width event queuesdrivers/common/sfc_efx/base/rhead_ev.c+154 -10 replies
58/60common/sfc_efx/base: handle normal events in extended widthdrivers/common/sfc_efx/base/rhead_ev.c+51 -280 replies
59/60common/sfc_efx/base: add option for descriptor proxy queuesdrivers/common/sfc_efx/base/efx_check.h drivers/common/sfc_efx/efsys.h+12 -00 replies
60/60common/sfc_efx/base: handle descriptor proxy queue eventsdrivers/common/sfc_efx/base/efx.h drivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/rhead_ev.c+137 -00 replies

Reviews trailers per patch

51 of 60 patches have a Reviewed-by or Acked-by.

PatchAndy MoretonVijay Kumar SrivastavaAndrew Lee
1/60
2/60
3/60R-b
4/60R-b R-b
5/60R-b R-b
6/60R-b R-b
7/60R-b
8/60R-b R-b
9/60R-b
10/60R-b
11/60R-b
12/60R-b
13/60R-b
14/60R-b R-b
15/60R-b
16/60R-b R-b
17/60R-b R-b
18/60R-b
19/60R-b R-b
20/60R-b R-b
21/60R-b
22/60R-b
23/60R-b
24/60R-b
25/60R-b
26/60R-b
27/60R-b R-b
28/60R-b
29/60R-b
30/60R-b
31/60R-b
32/60R-b
33/60R-b
34/60R-b
35/60R-b
36/60R-b
37/60R-b R-b
38/60R-b R-b
39/60R-b R-b
40/60R-b
41/60R-b
42/60R-b
43/60R-b
44/60R-b
45/60R-b
46/60R-b
47/60R-b
48/60R-b
49/60R-b
50/60R-b
51/60R-b
52/60R-b
53/60R-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.

Read the v3 thread

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