Skip to content

ethdev iterators for multi-ports device

Thomas Monjalon dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 15 repliesIn review
  2. v24 patches 13 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ethdev: simplify port state comparisonslib/librte_ethdev/rte_ethdev.c+2 -44 replies
2/4ethdev: add siblings iteratorslib/librte_ethdev/rte_ethdev.c lib/librte_ethdev/rte_ethdev.h lib/librte_ethdev/rte_ethdev_version.map+84 -04 replies
3/4net/mlx5: use port sibling iteratorsdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5_ethdev.c+14 -264 replies
4/4app/testpmd: use port sibling iterator in device cleanupapp/test-pmd/testpmd.c+1 -32 replies

Reviews trailers per patch

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

PatchAndrew RybchenkoFerruh YigitYongseok Koh
1/4R-b
2/4R-b
3/4A-b
4/4R-b

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 [PATCH v3 0/4] ethdev iterators for multi-ports device

Add port iterators in order to allow listing easily the ports of the same device.

The iterators can be tested by using mlx5 or testpmd.

v3: changes only in the (main) patch 2

Thomas Monjalon (4):
ethdev: simplify port state comparisons
ethdev: add siblings iterators
net/mlx5: use port sibling iterators app/testpmd: use port sibling iterator in device cleanup

 app/test-pmd/testpmd.c                   |  4 +-
 drivers/net/mlx5/mlx5.c                  | 34 +++++--------
 drivers/net/mlx5/mlx5_ethdev.c           |  6 +--
 lib/librte_ethdev/rte_ethdev.c           | 25 ++++++++--
 lib/librte_ethdev/rte_ethdev.h           | 63 ++++++++++++++++++++++++
 lib/librte_ethdev/rte_ethdev_version.map |  2 +
 6 files changed, 101 insertions(+), 33 deletions(-)
Signature · 1 line
2.21.0