From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [dpdk-stable] [PATCH] app/testpmd: fix crash when attaching a device Date: Thu, 14 Jun 2018 16:19:08 +0100 Message-ID: <0be3cf07-b9ba-e6c0-9d25-bcc8864582cb@intel.com> References: <20180613162519.19205-1-adrien.mazarguil@6wind.com> <8CEF83825BEC744B83065625E567D7C260CB3805@IRSMSX108.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , "stable@dpdk.org" , "Singh, Jasvinder" , "Xueming(steven) Li" To: "Iremonger, Bernard" , Adrien Mazarguil , "Lu, Wenzhuo" , "Wu, Jingjing" Return-path: In-Reply-To: <8CEF83825BEC744B83065625E567D7C260CB3805@IRSMSX108.ger.corp.intel.com> Content-Language: en-US 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 6/14/2018 3:56 PM, Iremonger, Bernard wrote: > > >> -----Original Message----- >> From: Adrien Mazarguil [mailto:adrien.mazarguil@6wind.com] >> Sent: Wednesday, June 13, 2018 5:28 PM >> To: Lu, Wenzhuo ; Wu, Jingjing >> ; Iremonger, Bernard >> >> Cc: dev@dpdk.org; stable@dpdk.org; Singh, Jasvinder >> ; Xueming(steven) Li >> >> Subject: [PATCH] app/testpmd: fix crash when attaching a device >> >> Below commit checks global device information to determine if a port uses >> the softnic driver once initialized. Problem is that this information is not >> available at this point when a port is initialized interactively through a "port >> attach XXX" command, crashing testpmd. >> >> This patch systematically initializes global device information to address this >> issue. >> >> Fixes: 5b590fbe09b6 ("app/testpmd: add traffic management forwarding >> mode") >> Cc: stable@dpdk.org >> Cc: Jasvinder Singh >> >> Signed-off-by: Adrien Mazarguil >> --- > > Acked-by: Bernard Iremonger Applied to dpdk-next-net/master, thanks.