Skip to content

net/ionic: updates for 22.11 release

Andrew Boyer dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest36 patches 1 replyIn review
  2. v10 of 35 patches 1 replySuperseded

Changes in v2 from the cover letter

* Split DSC-200 addition into its own patch
* Reverted driver ID string change
* Removed "All Rights Reserved" text
* Updated license on ionic.rst file
* Sorted our entry in maintainers file
* Sorted our entry in release notes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/36net/ionic: fix up endianness for Rx and Tx handlingdrivers/net/ionic/ionic_rxtx.c+15 -120 replies
2/36net/ionic: fix up endianness for RSSdrivers/net/ionic/ionic_rxtx.c+1 -10 replies
3/36net/ionic: fix to set the adapter name for loggingdrivers/net/ionic/ionic_dev.c+4 -10 replies
4/36net/ionic: fix up the Rx filter save APIdrivers/net/ionic/ionic_rx_filter.c+1 -10 replies
5/36net/ionic: fix up reported error statsdrivers/net/ionic/ionic_lif.c+2 -40 replies
6/36net/ionic: update documentation and copyrightsMAINTAINERS doc/guides/nics/ionic.rst doc/guides/rel_notes/release_22_11.rst +19 more+39 -340 replies
7/36net/ionic: update supported devices listdoc/guides/nics/ionic.rst+1 -00 replies
8/36net/ionic: update license terms to remove GPLdoc/guides/nics/ionic.rst drivers/net/ionic/ionic.h drivers/net/ionic/ionic_dev.c +17 more+22 -210 replies
9/36net/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
10/36net/ionic: simplify code by removing doorbell map helperdrivers/net/ionic/ionic_lif.c+1 -120 replies
11/36net/ionic: remove unused identifiersdrivers/net/ionic/ionic.h drivers/net/ionic/ionic_dev.h drivers/net/ionic/ionic_ethdev.h+1 -60 replies
12/36net/ionic: only allocate interrupts if requireddrivers/net/ionic/ionic_ethdev.c+7 -50 replies
13/36net/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
14/36net/ionic: only request notifyq interrupt if supporteddrivers/net/ionic/ionic_lif.c+9 -30 replies
15/36net/ionic: replace void pointer with actual typedrivers/net/ionic/ionic_rxtx.c+13 -150 replies
16/36net/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
17/36net/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
18/36net/ionic: use a helper variable in packet Tx functiondrivers/net/ionic/ionic_rxtx.c+7 -40 replies
19/36net/ionic: do one-time init of receive descriptorsdrivers/net/ionic/ionic_rxtx.c+34 -40 replies
20/36net/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
21/36net/ionic: overhaul transmit side for performancedrivers/net/ionic/ionic_lif.c drivers/net/ionic/ionic_rxtx.c+87 -580 replies
22/36net/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
23/36net/ionic: do bulk allocations of receive mbufsdrivers/net/ionic/ionic_lif.h drivers/net/ionic/ionic_rxtx.c+33 -80 replies
24/36net/ionic: add a lookup table for packet typedrivers/net/ionic/ionic_rxtx.c+29 -340 replies
25/36net/ionic: add a lookup table for checksum flagsdrivers/net/ionic/ionic_rxtx.c+33 -140 replies
26/36net/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
27/36net/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
28/36net/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
29/36net/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
30/36net/ionic: update array allocations to use callocdrivers/net/ionic/ionic_ethdev.c drivers/net/ionic/ionic_lif.c+9 -90 replies
31/36net/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
32/36net/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
33/36net/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
34/36net/ionic: use a helper variable for page sizedrivers/net/ionic/ionic_lif.c+12 -140 replies
35/36net/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
36/36net/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 v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/36] 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.

---
v1:
* Rebased to avoid conflicts in release notes
* Added missing links to product briefs in patch 6
v2:
* Split DSC-200 addition into its own patch
* Reverted driver ID string change
* Removed "All Rights Reserved" text
* Updated license on ionic.rst file
* Sorted our entry in maintainers file
* Sorted our entry in release notes

Andrew Boyer (36):
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 supported devices list 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                            |  12 +-
 doc/guides/nics/features/ionic.ini     |   3 +
 doc/guides/nics/ionic.rst              |  30 +-
 doc/guides/rel_notes/release_22_11.rst |  12 +
 drivers/net/ionic/ionic.h              |  25 +-
 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, 2159 insertions(+), 994 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