Skip to content

net/ionic: updates for 22.11 release

Andrew Boyer dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest35 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/35net/ionic: fix up endianness for Rx and Tx handlingdrivers/net/ionic/ionic_rxtx.c+15 -120 replies
1/35net/ionic: fix up endianness for Rx and Tx handlingdrivers/net/ionic/ionic_rxtx.c+15 -120 replies
2/35net/ionic: fix up endianness for RSSdrivers/net/ionic/ionic_rxtx.c+1 -10 replies
2/35net/ionic: fix up endianness for RSSdrivers/net/ionic/ionic_rxtx.c+1 -10 replies
3/35net/ionic: fix to set the adapter name for loggingdrivers/net/ionic/ionic_dev.c+4 -10 replies
3/35net/ionic: fix to set the adapter name for loggingdrivers/net/ionic/ionic_dev.c+4 -10 replies
4/35net/ionic: fix up the Rx filter save APIdrivers/net/ionic/ionic_rx_filter.c+1 -10 replies
4/35net/ionic: fix up the Rx filter save APIdrivers/net/ionic/ionic_rx_filter.c+1 -10 replies
5/35net/ionic: fix up reported error statsdrivers/net/ionic/ionic_lif.c+2 -40 replies
5/35net/ionic: fix up reported error statsdrivers/net/ionic/ionic_lif.c+2 -40 replies
6/35net/ionic: update documentation and copyrightsMAINTAINERS doc/guides/nics/ionic.rst doc/guides/rel_notes/release_22_11.rst +19 more+36 -311 reply
6/35net/ionic: update documentation and copyrightsMAINTAINERS doc/guides/nics/ionic.rst doc/guides/rel_notes/release_22_11.rst +19 more+37 -320 replies
7/35net/ionic: update license terms to remove GPLdrivers/net/ionic/ionic.h drivers/net/ionic/ionic_dev.c drivers/net/ionic/ionic_dev.h +16 more+21 -201 reply
7/35net/ionic: update license terms to remove GPLdrivers/net/ionic/ionic.h drivers/net/ionic/ionic_dev.c drivers/net/ionic/ionic_dev.h +16 more+21 -200 replies
8/35net/ionic: update MTU calculationsdrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_if.h +3 more+51 -420 replies
8/35net/ionic: update MTU calculationsdrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_if.h +3 more+51 -420 replies
9/35net/ionic: simplify code by removing doorbell map helperdrivers/net/ionic/ionic_lif.c+1 -120 replies
9/35net/ionic: simplify code by removing doorbell map helperdrivers/net/ionic/ionic_lif.c+1 -120 replies
10/35net/ionic: remove unused identifiersdrivers/net/ionic/ionic.h drivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_ethdev.h+1 -60 replies
10/35net/ionic: remove unused identifiersdrivers/net/ionic/ionic.h drivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_ethdev.h+1 -60 replies
11/35net/ionic: only allocate interrupts if requireddrivers/net/ionic/ionic_ethdev.c+7 -50 replies
11/35net/ionic: only allocate interrupts if requireddrivers/net/ionic/ionic_ethdev.c+7 -50 replies
12/35net/ionic: move PCI-specific code to a separate filedrivers/net/ionic/ionic.h drivers/net/ionic/ionic_dev.c drivers/net/ionic/ionic_dev.h +5 more+286 -1910 replies
12/35net/ionic: move PCI-specific code to a separate filedrivers/net/ionic/ionic.h drivers/net/ionic/ionic_dev.c drivers/net/ionic/ionic_dev.h +5 more+286 -1910 replies
13/35net/ionic: only request notifyq interrupt if supporteddrivers/net/ionic/ionic_lif.c+9 -30 replies
13/35net/ionic: only request notifyq interrupt if supporteddrivers/net/ionic/ionic_lif.c+9 -30 replies
14/35net/ionic: replace void pointer with actual typedrivers/net/ionic/ionic_rxtx.c+13 -150 replies
14/35net/ionic: replace void pointer with actual typedrivers/net/ionic/ionic_rxtx.c+13 -150 replies
15/35net/ionic: free all buffers during Rx queue stopdrivers/net/ionic/ionic_dev.c drivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.c +2 more+81 -890 replies
15/35net/ionic: free all buffers during Rx queue stopdrivers/net/ionic/ionic_dev.c drivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.c +2 more+81 -890 replies
16/35net/ionic: precalculate segment lengths on receive sidedrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_lif.h +1 more+57 -300 replies
16/35net/ionic: precalculate segment lengths on receive sidedrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_lif.h +1 more+57 -300 replies
17/35net/ionic: use a helper variable in packet Tx functiondrivers/net/ionic/ionic_rxtx.c+7 -40 replies
17/35net/ionic: use a helper variable in packet Tx functiondrivers/net/ionic/ionic_rxtx.c+7 -40 replies
18/35net/ionic: do one-time init of receive descriptorsdrivers/net/ionic/ionic_rxtx.c+34 -40 replies
18/35net/ionic: do one-time init of receive descriptorsdrivers/net/ionic/ionic_rxtx.c+34 -40 replies
19/35net/ionic: overhaul receive side for performancedoc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.c +3 more+159 -1220 replies
19/35net/ionic: overhaul receive side for performancedoc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.c +3 more+159 -1220 replies
20/35net/ionic: overhaul transmit side for performancedrivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_rxtx.c+87 -580 replies
20/35net/ionic: overhaul transmit side for performancedrivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_rxtx.c+87 -580 replies
21/35net/ionic: add support for mbuf fast freedoc/guides/nics/features/ionic.ini doc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_ethdev.c +2 more+12 -20 replies
21/35net/ionic: add support for mbuf fast freedoc/guides/nics/features/ionic.ini doc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_ethdev.c +2 more+12 -20 replies
22/35net/ionic: do bulk allocations of receive mbufsdrivers/net/ionic/ionic_lif.h drivers/net/ionic/ionic_rxtx.c+33 -80 replies
22/35net/ionic: do bulk allocations of receive mbufsdrivers/net/ionic/ionic_lif.h drivers/net/ionic/ionic_rxtx.c+33 -80 replies
23/35net/ionic: add a lookup table for packet typedrivers/net/ionic/ionic_rxtx.c+29 -340 replies
23/35net/ionic: add a lookup table for packet typedrivers/net/ionic/ionic_rxtx.c+29 -340 replies
24/35net/ionic: add a lookup table for checksum flagsdrivers/net/ionic/ionic_rxtx.c+33 -140 replies
24/35net/ionic: add a lookup table for checksum flagsdrivers/net/ionic/ionic_rxtx.c+33 -140 replies
25/35net/ionic: advertise supported packet typesdoc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_rxtx.c +1 more+23 -00 replies
25/35net/ionic: advertise supported packet typesdoc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_rxtx.c +1 more+23 -00 replies
26/35net/ionic: add Rx descriptor status functionsdoc/guides/nics/features/ionic.ini doc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_ethdev.c +2 more+45 -00 replies
26/35net/ionic: add Rx descriptor status functionsdoc/guides/nics/features/ionic.ini doc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_ethdev.c +2 more+45 -00 replies
27/35net/ionic: add Tx descriptor status functiondoc/guides/nics/features/ionic.ini drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_rxtx.c +1 more+54 -00 replies
27/35net/ionic: add Tx descriptor status functiondoc/guides/nics/features/ionic.ini drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_rxtx.c +1 more+54 -00 replies
28/35net/ionic: add Q-in-CMB option controlled by devargdoc/guides/nics/ionic.rst doc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic.h +6 more+135 -40 replies
28/35net/ionic: add Q-in-CMB option controlled by devargdoc/guides/nics/ionic.rst doc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic.h +6 more+135 -40 replies
29/35net/ionic: update array allocations to use callocdrivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.c+9 -90 replies
29/35net/ionic: update array allocations to use callocdrivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.c+9 -90 replies
30/35net/ionic: add alignment and socket info in allocationsdrivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_rx_filter.c+12 -90 replies
30/35net/ionic: add alignment and socket info in allocationsdrivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_rx_filter.c+12 -90 replies
31/35net/ionic: allow client to specify Tx free thresholddrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.h +1 more+19 -40 replies
31/35net/ionic: allow client to specify Tx free thresholddrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.h +1 more+19 -40 replies
32/35net/ionic: add optimized handlers for non-scattered Rx/Txdoc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.c +6 more+1054 -5710 replies
32/35net/ionic: add optimized handlers for non-scattered Rx/Txdoc/guides/rel_notes/release_22_11.rst drivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.c +6 more+1054 -5710 replies
33/35net/ionic: use a helper variable for page sizedrivers/net/ionic/ionic_lif.c+12 -140 replies
33/35net/ionic: use a helper variable for page sizedrivers/net/ionic/ionic_lif.c+12 -140 replies
34/35net/ionic: retry init commands up to five timesdrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_main.c+17 -20 replies
34/35net/ionic: retry init commands up to five timesdrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_main.c+17 -20 replies
35/35net/ionic: add watchdogs to protect each queue typedrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.h drivers/net/ionic/ionic_main.c +3 more+128 -20 replies
35/35net/ionic: add watchdogs to protect each queue typedrivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_lif.h drivers/net/ionic/ionic_main.c +3 more+128 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/35] net/ionic: updates for 22.11 release

This patch series provides features and performance improvements relevant for the upstream release of DPDK 22.11.

There are some bits (like struct ionic_dev_intf) only useful for drivers and device types which have not yet been upstreamed. All of the changes are confined to the ionic PMD.

Links to the product brief PDFs in patch 6 will be added as soon as they are available.

Andrew Boyer (35):
net/ionic: fix up endianness for Rx and Tx handling net/ionic: fix up endianness for RSS
net/ionic: fix to set the adapter name for logging net/ionic: fix up the Rx filter save API net/ionic: fix up reported error stats net/ionic: update documentation and copyrights net/ionic: update license terms to remove GPL net/ionic: update MTU calculations
net/ionic: simplify code by removing doorbell map helper net/ionic: remove unused identifiers
net/ionic: only allocate interrupts if required net/ionic: move PCI-specific code to a separate file net/ionic: only request notifyq interrupt if supported net/ionic: replace void pointer with actual type net/ionic: free all buffers during Rx queue stop net/ionic: precalculate segment lengths on receive side net/ionic: use a helper variable in packet Tx function net/ionic: do one-time init of receive descriptors net/ionic: overhaul receive side for performance net/ionic: overhaul transmit side for performance net/ionic: add support for mbuf fast free net/ionic: do bulk allocations of receive mbufs net/ionic: add a lookup table for packet type net/ionic: add a lookup table for checksum flags net/ionic: advertise supported packet types net/ionic: add Rx descriptor status functions net/ionic: add Tx descriptor status function net/ionic: add Q-in-CMB option controlled by devarg net/ionic: update array allocations to use calloc net/ionic: add alignment and socket info in allocations net/ionic: allow client to specify Tx free threshold net/ionic: add optimized handlers for non-scattered Rx/Tx net/ionic: use a helper variable for page size net/ionic: retry init commands up to five times net/ionic: add watchdogs to protect each queue type

 MAINTAINERS                            |   4 +-
 doc/guides/nics/features/ionic.ini     |   3 +
 doc/guides/nics/ionic.rst              |  28 +-
 doc/guides/rel_notes/release_22_11.rst |  11 +
 drivers/net/ionic/ionic.h              |  27 +-
 drivers/net/ionic/ionic_dev.c          |  79 +--
 drivers/net/ionic/ionic_dev.h          |  40 +-
 drivers/net/ionic/ionic_dev_pci.c      | 274 ++++++++
 drivers/net/ionic/ionic_ethdev.c       | 254 +++----
 drivers/net/ionic/ionic_ethdev.h       |  15 +-
 drivers/net/ionic/ionic_if.h           |  13 +-
 drivers/net/ionic/ionic_lif.c          | 310 ++++++---
 drivers/net/ionic/ionic_lif.h          |  33 +-
 drivers/net/ionic/ionic_logs.h         |   4 +-
 drivers/net/ionic/ionic_mac_api.c      |   4 +-
 drivers/net/ionic/ionic_mac_api.h      |   4 +-
 drivers/net/ionic/ionic_main.c         |  32 +-
 drivers/net/ionic/ionic_osdep.h        |   4 +-
 drivers/net/ionic/ionic_regs.h         |   4 +-
 drivers/net/ionic/ionic_rx_filter.c    |   9 +-
 drivers/net/ionic/ionic_rx_filter.h    |   4 +-
 drivers/net/ionic/ionic_rxtx.c         | 916 +++++++++----------------
 drivers/net/ionic/ionic_rxtx.h         |  56 +-
 drivers/net/ionic/ionic_rxtx_sg.c      | 544 +++++++++++++++
 drivers/net/ionic/ionic_rxtx_simple.c  | 465 +++++++++++++
 drivers/net/ionic/meson.build          |   7 +-
 26 files changed, 2154 insertions(+), 990 deletions(-)
 create mode 100644 drivers/net/ionic/ionic_dev_pci.c
 create mode 100644 drivers/net/ionic/ionic_rxtx_sg.c
 create mode 100644 drivers/net/ionic/ionic_rxtx_simple.c
Signature · 1 line
2.17.1