From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] app/testpmd: fix testpmd exit for ctrl+d Date: Thu, 26 Jul 2018 16:14:33 +0200 Message-ID: <4866271.duVD2LWeSr@xps> References: <20180723104425.10090-1-jasvinder.singh@intel.com> <1532441847-7492-1-git-send-email-reshma.pattan@intel.com> <3AEA2BF9852C6F48A459DA490692831F2A37617A@IRSMSX109.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Iremonger, Bernard" , "Singh, Jasvinder" , "olivier.matz@6wind.com" , Mordechay Haimovsky , cristian.dumitrescu@intel.com To: "Pattan, Reshma" Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 8701C25D9 for ; Thu, 26 Jul 2018 16:14:39 +0200 (CEST) In-Reply-To: <3AEA2BF9852C6F48A459DA490692831F2A37617A@IRSMSX109.ger.corp.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" 24/07/2018 16:46, Pattan, Reshma: > + CC: Olivier and Mordechay Haimovsky. > > > Testpmd should be existed gracefully when ctrl+d is typed. > > This behaviour is not handled properly, fix this by calling > > pmd_test_exit() instead of rte_panic. > > > > Fixes: 0ad778b398c6 ("app/testpmd: rework softnic forward mode") > > > > Reported-by: Mordechay Haimovsky > > Signed-off-by: Jasvinder Singh > > Signed-off-by: Reshma Pattan > > --- > > v2: removed changes done to lib/librte_cmdline/cmdline.c reworded commit > > message and heading. The partial revert from Moti is preferred.