On 6/14/2018 3:56 PM, Iremonger, Bernard wrote: > > >> -----Original Message----- >> From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] >> Sent: Wednesday, June 13, 2018 5:28 PM >> To: Lu, Wenzhuo <wenzhuo...@intel.com>; Wu, Jingjing >> <jingjing...@intel.com>; Iremonger, Bernard >> <bernard.iremon...@intel.com> >> Cc: dev@dpdk.org; sta...@dpdk.org; Singh, Jasvinder >> <jasvinder.si...@intel.com>; Xueming(steven) Li >> <xuemi...@mellanox.com> >> 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: sta...@dpdk.org >> Cc: Jasvinder Singh <jasvinder.si...@intel.com> >> >> Signed-off-by: Adrien Mazarguil <adrien.mazarg...@6wind.com> >> --- > > Acked-by: Bernard Iremonger <bernard.iremon...@intel.com>
Applied to dpdk-next-net/master, thanks.