Re: [dpdk-dev] [PATCH] app/testpmd: fix crash when attaching a device

2018-06-14 Thread Iremonger, Bernard
> -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Wednesday, June 13, 2018 5:28 PM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard > > Cc: dev@dpdk.org; sta...@dpdk.org; Singh, Jasvinder > ; Xueming(steven) Li > > Subject: [PATCH] app/tes

[dpdk-dev] [PATCH] app/testpmd: fix crash when attaching a device

2018-06-13 Thread Adrien Mazarguil
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 i