From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Guo, Jia" Subject: Re: [PATCH V20 4/4] app/testpmd: enable device hotplug monitoring Date: Fri, 6 Apr 2018 11:51:35 +0800 Message-ID: <64dd2d06-9463-02f5-eeeb-9219f01455a7@intel.com> 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> <3928106.ZGSgniU5kR@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed 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: Thomas Monjalon , shreyansh.jain@nxp.com Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 5142E1CA80 for ; Fri, 6 Apr 2018 05:51:39 +0200 (CEST) In-Reply-To: <3928106.ZGSgniU5kR@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 4/6/2018 5:48 AM, Thomas Monjalon wrote: > 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? hot plug is a basic related memory like feature, let the feature go into option like other base option would be make sense i think. >