> -----Original Message-----
> From: Adrien Mazarguil [mailto:[email protected]]
> Sent: Wednesday, June 13, 2018 5:28 PM
> To: Lu, Wenzhuo <[email protected]>; Wu, Jingjing
> <[email protected]>; Iremonger, Bernard
> <[email protected]>
> Cc: [email protected]; [email protected]; Singh, Jasvinder
> <[email protected]>; Xueming(steven) Li
> <[email protected]>
> 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: [email protected]
> Cc: Jasvinder Singh <[email protected]>
>
> Signed-off-by: Adrien Mazarguil <[email protected]>
> ---
Acked-by: Bernard Iremonger <[email protected]>