[dpdk-dev] [PATCH 0/5] app/testpmd: improve attach/detach support

Thomas Monjalon thomas at monjalon.net
Wed Oct 24 15:41:06 CEST 2018


While working on EAL probe/remove and ethdev iterator/close,
some scenarios appeared to not be managed by testpmd, especially
because it was not designed for multi-ports devices:
  - configure dependent port (detected via event)
  - configuring twice (if already probed before)
  - detaching twice

Thomas Monjalon (5):
  app/testpmd: check not detaching device twice
  app/testpmd: merge ports list update functions
  app/testpmd: check not configuring port twice
  app/testpmd: move ethdev events registration
  app/testpmd: setup attached ports on probe event

 app/test-pmd/cmdline.c                      |  59 +++++-
 app/test-pmd/testpmd.c                      | 213 +++++++++++---------
 app/test-pmd/testpmd.h                      |   6 +-
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |   9 +
 4 files changed, 191 insertions(+), 96 deletions(-)

-- 
2.19.0



More information about the dev mailing list