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

Ferruh Yigit ferruh.yigit at intel.com
Thu Jun 14 17:19:08 CEST 2018


On 6/14/2018 3:56 PM, Iremonger, Bernard wrote:
> 
> 
>> -----Original Message-----
>> From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com]
>> Sent: Wednesday, June 13, 2018 5:28 PM
>> To: Lu, Wenzhuo <wenzhuo.lu at intel.com>; Wu, Jingjing
>> <jingjing.wu at intel.com>; Iremonger, Bernard
>> <bernard.iremonger at intel.com>
>> Cc: dev at dpdk.org; stable at dpdk.org; Singh, Jasvinder
>> <jasvinder.singh at intel.com>; Xueming(steven) Li
>> <xuemingl at 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: stable at dpdk.org
>> Cc: Jasvinder Singh <jasvinder.singh at intel.com>
>>
>> Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
>> ---
> 
> Acked-by: Bernard Iremonger <Bernard.iremonger at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list