Re: [dpdk-dev] [PATCH] net/mlx5: fix device reference in secondary process

2018-05-02 Thread Yongseok Koh
> On May 1, 2018, at 11:53 PM, Nélio Laranjeiro > wrote: > > On Tue, May 01, 2018 at 11:13:20PM -0700, Yongseok Koh wrote: >> rte_eth_devices[] is not shared between primary and secondary process, but >> a static array to each process. The backward pointer of device (priv->dev) >> must be reset

Re: [dpdk-dev] [PATCH] net/mlx5: fix device reference in secondary process

2018-05-01 Thread Nélio Laranjeiro
On Tue, May 01, 2018 at 11:13:20PM -0700, Yongseok Koh wrote: > rte_eth_devices[] is not shared between primary and secondary process, but > a static array to each process. The backward pointer of device (priv->dev) > must be reset when a secondary process attaches to a device. > > Fixes: f8b9a3ba

[dpdk-dev] [PATCH] net/mlx5: fix device reference in secondary process

2018-05-01 Thread Yongseok Koh
rte_eth_devices[] is not shared between primary and secondary process, but a static array to each process. The backward pointer of device (priv->dev) must be reset when a secondary process attaches to a device. Fixes: f8b9a3bad467 ("net/mlx5: install a socket to exchange a file descriptor") Cc: st