Skip to content

add two ports hairpin mode support in mlx5 PMD

Bing Zhao dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 2 repliesIn review
  2. v26 patches 6 repliesSuperseded
  3. v14 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* Doc update
* fix code bugs and code style update

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net/mlx5: change hairpin queue peer checkingdrivers/net/mlx5/mlx5_rxq.c drivers/net/mlx5/mlx5_txq.c+52 -120 replies
2/7net/mlx5: add support for two ports hairpin modedrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_rxtx.h +1 more+658 -20 replies
3/7net/mlx5: add support to get hairpin peer portsdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_trigger.c+93 -00 replies
4/7net/mlx5: conditional hairpin auto binddrivers/net/mlx5/mlx5_trigger.c+37 -20 replies
5/7net/mlx5: change hairpin ingress flow validationdrivers/net/mlx5/mlx5_flow_dv.c drivers/net/mlx5/mlx5_rxq.c drivers/net/mlx5/mlx5_rxtx.h+43 -30 replies
6/7net/mlx5: not split hairpin flow in explicit modedrivers/net/mlx5/mlx5_flow.c+5 -40 replies
7/7doc: update mlx5 hairpin support and limitationsdoc/guides/nics/mlx5.rst doc/guides/rel_notes/release_20_11.rst+6 -01 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchViacheslav Ovsiienko
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

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

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 0/7] add two ports hairpin mode support in mlx5 PMD

This patch set will add the support for hairpin between two ports in mlx5 PMD.

v2:
* Update the code and reorganize the patch set
v3:
* Doc update
* fix code bugs and code style update

Bing Zhao (7):
net/mlx5: change hairpin queue peer checking net/mlx5: add support for two ports hairpin mode net/mlx5: add support to get hairpin peer ports net/mlx5: conditional hairpin auto bind net/mlx5: change hairpin ingress flow validation net/mlx5: not split hairpin flow in explicit mode
doc: update mlx5 hairpin support and limitations

 doc/guides/nics/mlx5.rst               |   5 +
 doc/guides/rel_notes/release_20_11.rst |   1 +
 drivers/net/mlx5/linux/mlx5_os.c       |  12 +
 drivers/net/mlx5/mlx5.h                |  21 +
 drivers/net/mlx5/mlx5_flow.c           |   9 +-
 drivers/net/mlx5/mlx5_flow_dv.c        |  17 +-
 drivers/net/mlx5/mlx5_rxq.c            |  59 ++-
 drivers/net/mlx5/mlx5_rxtx.h           |   4 +
 drivers/net/mlx5/mlx5_trigger.c        | 757 ++++++++++++++++++++++++++++++++-
 drivers/net/mlx5/mlx5_txq.c            |  32 +-
 10 files changed, 894 insertions(+), 23 deletions(-)
Signature · 1 line
1.8.3.1