[dpdk-dev] [PATCH v2 0/5] app/testpmd: improve attach/detach support
Thomas Monjalon
thomas at monjalon.net
Thu Oct 25 17:11:12 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
Changes in v2 - Bernard review:
- improve pretty names of printed events
- add syntax of the new command in the guide
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 | 11 +
4 files changed, 193 insertions(+), 96 deletions(-)
--
2.19.0
More information about the dev
mailing list