Skip to content

support more ethdev iterator filters

Thomas Monjalon dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 10 repliesIn review
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 12 repliesSuperseded

Changes in v3 from the cover letter

- improve comment for representor_id

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kvargs: support list valuelib/librte_kvargs/rte_kvargs.c test/test/test_kvargs.c+35 -00 replies
2/4ethdev: move representor parsing functionslib/librte_ethdev/ethdev_private.c lib/librte_ethdev/ethdev_private.h lib/librte_ethdev/rte_ethdev.c+88 -850 replies
3/4ethdev: support representor id as iterator filterdrivers/net/i40e/i40e_vf_representor.c drivers/net/ixgbe/ixgbe_vf_representor.c drivers/net/mlx5/mlx5.c +2 more+53 -10 replies
4/4ethdev: support MAC address as iterator filterlib/Makefile lib/librte_cmdline/meson.build lib/librte_ethdev/Makefile +3 more+46 -49 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchAndrew Rybchenko
1/4
2/4A-b
3/4R-b
4/4A-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 [PATCH v3 0/4] support more ethdev iterator filters

The new ethdev iterator lacks the support of filtering by representor port id or by MAC address.

Changes in v3:
- improve comment for representor_id

Changes in v2:
- fix list parsing in kvargs
- support mac= parameter

Thomas Monjalon (4):
kvargs: support list value
ethdev: move representor parsing functions
ethdev: support representor id as iterator filter
ethdev: support MAC address as iterator filter

 drivers/net/i40e/i40e_vf_representor.c   |  1 +
 drivers/net/ixgbe/ixgbe_vf_representor.c |  1 +
 drivers/net/mlx5/mlx5.c                  |  4 +-
 lib/Makefile                             |  1 +
 lib/librte_cmdline/meson.build           |  4 ++
 lib/librte_ethdev/Makefile               |  2 +-
 lib/librte_ethdev/ethdev_private.c       | 82 +++++++++++++++++++++++
 lib/librte_ethdev/ethdev_private.h       |  6 ++
 lib/librte_ethdev/meson.build            |  2 +-
 lib/librte_ethdev/rte_class_eth.c        | 80 ++++++++++++++++++++++
 lib/librte_ethdev/rte_ethdev.c           | 85 ------------------------
 lib/librte_ethdev/rte_ethdev_core.h      |  4 ++
 lib/librte_kvargs/rte_kvargs.c           | 14 ++++
 lib/meson.build                          |  5 +-
 test/test/test_kvargs.c                  | 21 ++++++
 15 files changed, 222 insertions(+), 90 deletions(-)
Signature · 1 line
2.19.0