Skip to content

net/cpfl: add hairpin queue support

[email protected] dpdk-dev 10 versions – Applied

Status from this message: Applied to dpdk-next-net-intel.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest14 patches 2 repliesApplied
  2. v914 patches 0 repliesSuperseded
  3. v814 patches 3 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v714 patches0 repliesSuperseded
v613 patches0 repliesSuperseded
v513 patches0 repliesSuperseded
v413 patches7 repliesSuperseded
v310 patches9 repliesSuperseded
v210 patches0 repliesSuperseded
v110 patches7 repliesSuperseded

Changes in v10 from the cover letter

- Avoid accessing out-of-bounds.

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/14net/cpfl: refine structuresdrivers/net/cpfl/cpfl_ethdev.c drivers/net/cpfl/cpfl_ethdev.h drivers/net/cpfl/cpfl_rxtx.c +2 more+196 -950 replies
2/14common/idpf: support queue groups add/deletedrivers/common/idpf/idpf_common_virtchnl.c drivers/common/idpf/idpf_common_virtchnl.h drivers/common/idpf/version.map+77 -00 replies
3/14net/cpfl: add haipin queue group during vport initdrivers/net/cpfl/cpfl_ethdev.c drivers/net/cpfl/cpfl_ethdev.h drivers/net/cpfl/cpfl_rxtx.h+160 -00 replies
4/14net/cpfl: support hairpin queue capbility getdrivers/net/cpfl/cpfl_ethdev.c drivers/net/cpfl/cpfl_rxtx.h+21 -00 replies
5/14net/cpfl: support hairpin queue setup and releasedrivers/net/cpfl/cpfl_ethdev.c drivers/net/cpfl/cpfl_ethdev.h drivers/net/cpfl/cpfl_rxtx.c +2 more+420 -10 replies
6/14common/idpf: add queue config APIdrivers/common/idpf/idpf_common_virtchnl.c drivers/common/idpf/idpf_common_virtchnl.h drivers/common/idpf/version.map+78 -00 replies
7/14net/cpfl: support hairpin queue configurationdrivers/net/cpfl/cpfl_ethdev.c drivers/net/cpfl/cpfl_rxtx.c drivers/net/cpfl/cpfl_rxtx.h+225 -60 replies
8/14common/idpf: add switch queue APIdrivers/common/idpf/idpf_common_virtchnl.c drivers/common/idpf/idpf_common_virtchnl.h drivers/common/idpf/version.map+5 -10 replies
9/14net/cpfl: support hairpin queue start/stopdrivers/net/cpfl/cpfl_ethdev.c drivers/net/cpfl/cpfl_rxtx.c drivers/net/cpfl/cpfl_rxtx.h+207 -180 replies
10/14common/idpf: add irq map config APIdrivers/common/idpf/idpf_common_device.c drivers/common/idpf/idpf_common_device.h drivers/common/idpf/version.map+80 -00 replies
11/14net/cpfl: enable write back based on ITR expiredrivers/net/cpfl/cpfl_ethdev.c+12 -10 replies
12/14net/cpfl: support peer ports getdrivers/net/cpfl/cpfl_ethdev.c+41 -00 replies
13/14net/cpfl: support hairpin bind/unbinddrivers/net/cpfl/cpfl_ethdev.c+137 -00 replies
14/14doc: update the doc of CPFL PMDdoc/guides/nics/cpfl.rst+7 -00 replies

Reviews trailers per patch

None of the 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJingjing Wu
SeriesA-b
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH v10 00/14] net/cpfl: add hairpin queue support

From: Beilei Xing <[email protected]>

This patchset adds hairpin queue support.

v2 changes:
- change hairpin rx queus configuration sequence.
- code refine.

v3 changes:
- Refine the patchset based on the latest code.

v4 change:
- Remove hairpin rx buffer queue's sw_ring.
- Change hairpin rx queus configuration sequence in cpfl_hairpin_bind function.
- Refind hairpin queue setup and release.

v5 change:
- Fix memory leak during queue setup.
- Refine hairpin Rxq/Txq start/stop.

v6 change:
- Add sign-off.

v7 change:
- Update cpfl.rst

v8 change:
- Fix Intel-compilation failure.

v9 change:
- Fix memory leak if fail to init queue group.
- Change log level.

v10 change:
- Avoid accessing out-of-bounds.

Beilei Xing (14):
net/cpfl: refine structures
common/idpf: support queue groups add/delete net/cpfl: add haipin queue group during vport init net/cpfl: support hairpin queue capbility get net/cpfl: support hairpin queue setup and release common/idpf: add queue config API net/cpfl: support hairpin queue configuration common/idpf: add switch queue API net/cpfl: support hairpin queue start/stop common/idpf: add irq map config API net/cpfl: enable write back based on ITR expire net/cpfl: support peer ports get
net/cpfl: support hairpin bind/unbind
doc: update the doc of CPFL PMD

 doc/guides/nics/cpfl.rst                   |   7 +
 drivers/common/idpf/idpf_common_device.c   |  75 ++
 drivers/common/idpf/idpf_common_device.h   |   4 +
 drivers/common/idpf/idpf_common_virtchnl.c | 138 +++-
 drivers/common/idpf/idpf_common_virtchnl.h |  18 +
 drivers/common/idpf/version.map            |   6 +
 drivers/net/cpfl/cpfl_ethdev.c             | 613 ++++++++++++++--
 drivers/net/cpfl/cpfl_ethdev.h             |  35 +-
 drivers/net/cpfl/cpfl_rxtx.c               | 789 +++++++++++++++++++--
 drivers/net/cpfl/cpfl_rxtx.h               |  76 ++
 drivers/net/cpfl/cpfl_rxtx_vec_common.h    |  21 +-
 11 files changed, 1663 insertions(+), 119 deletions(-)
Signature · 1 line
2.26.2