From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH V20 4/4] app/testpmd: enable device hotplug monitoring Date: Thu, 05 Apr 2018 23:48:25 +0200 Message-ID: <3928106.ZGSgniU5kR@xps> References: <1522918968-15290-5-git-send-email-jia.guo@intel.com> <1522944617-16601-1-git-send-email-jia.guo@intel.com> <1522944617-16601-5-git-send-email-jia.guo@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stephen@networkplumber.org, bruce.richardson@intel.com, ferruh.yigit@intel.com, konstantin.ananyev@intel.com, gaetan.rivet@6wind.com, jingjing.wu@intel.com, motih@mellanox.com, harry.van.haaren@intel.com, jianfeng.tan@intel.com, dev@dpdk.org, helin.zhang@intel.com To: Jeff Guo , shreyansh.jain@nxp.com Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id EA22E1CD88 for ; Thu, 5 Apr 2018 23:48:27 +0200 (CEST) In-Reply-To: <1522944617-16601-5-git-send-email-jia.guo@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/04/2018 18:10, Jeff Guo: > Use testpmd for example, to show how an application uses device event > APIs to monitor the hotplug events, including both hot removal event > and hot insertion event. > > The process is that, testpmd first enable hotplug by below commands, > > E.g. ./build/app/testpmd -c 0x3 --n 4 -- -i --hot-plug I am not convinced by the testpmd option. Why not just a CLI command to start monitoring events?