From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/2] app/testpmd: fix invalid port detach Date: Wed, 31 Jan 2018 21:36:55 +0100 Message-ID: <3030595.E4uSP6LIab@xps> References: <1517321620-14198-1-git-send-email-matan@mellanox.com> <1517321620-14198-2-git-send-email-matan@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Wenzhuo Lu To: Matan Azrad Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 02E9D1B83B for ; Wed, 31 Jan 2018 21:37:43 +0100 (CET) In-Reply-To: <1517321620-14198-2-git-send-email-matan@mellanox.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" 30/01/2018 15:13, Matan Azrad: > Using registration to all ports includes also the ports which should not > be used by the application. > > It is nice to print each port event by testpmd but in case of RMV > event, testpmd tries to detach the port and this case is problematic > when the port should not be used by the application. > > Check the port validation before detach API calling. > > Fixes: 4fb82244b394 ("app/testpmd: extend event printing") > > Signed-off-by: Matan Azrad Series applied, thanks