Re: [dpdk-dev] [PATCH v1] net/mlx4: fix 'show port info all' during detach

2018-03-20 Thread Gaƫtan Rivet
Hi Ophir, Adrien, On Fri, Mar 02, 2018 at 08:12:58PM +0100, Adrien Mazarguil wrote: > On Wed, Feb 28, 2018 at 04:47:30PM +, Ophir Munk wrote: > > The following scenario causes a crash in function mlx4_get_ifname > > 1. On testpmd startup mlx4 device is probed and started > > 2. mlx4 sriov is d

Re: [dpdk-dev] [PATCH v1] net/mlx4: fix 'show port info all' during detach

2018-03-02 Thread Adrien Mazarguil
On Wed, Feb 28, 2018 at 04:47:30PM +, Ophir Munk wrote: > The following scenario causes a crash in function mlx4_get_ifname > 1. On testpmd startup mlx4 device is probed and started > 2. mlx4 sriov is disabled. As a result an RMV event is sent to > testpmd which closes the device and nullify th

[dpdk-dev] [PATCH v1] net/mlx4: fix 'show port info all' during detach

2018-02-28 Thread Ophir Munk
The following scenario causes a crash in function mlx4_get_ifname 1. On testpmd startup mlx4 device is probed and started 2. mlx4 sriov is disabled. As a result an RMV event is sent to testpmd which closes the device and nullify the priv struct members. 3. Running 'show port info all' in testpmd re