From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH 0/5] app/testpmd: improve attach/detach support Date: Wed, 24 Oct 2018 15:41:06 +0200 Message-ID: <20181024134111.26771-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, ophirmu@mellanox.com, wisamm@mellanox.com, ferruh.yigit@intel.com, arybchenko@solarflare.com To: bernard.iremonger@intel.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 09B314CE4 for ; Wed, 24 Oct 2018 15:41:18 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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