[dpdk-dev] [PATCH v2 0/4] support more ethdev iterator filters

Thomas Monjalon thomas at monjalon.net
Wed Oct 10 21:23:26 CEST 2018


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


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      |  2 +
 lib/librte_kvargs/rte_kvargs.c           | 14 ++++
 lib/meson.build                          |  5 +-
 test/test/test_kvargs.c                  | 21 ++++++
 15 files changed, 220 insertions(+), 90 deletions(-)

-- 
2.19.0



More information about the dev mailing list