[dpdk-dev] [PATCH 2/2] net/virtio-user: fix multi-process issue

2017-03-02 Thread Ami Sabo
Secondary process doesn't properly attach to the rte_eth_device initialized by the primary process. ccessing device from secondary process (e.g. via rte_eth_rx_burst), causes process to crash. because rte_eth_dev_data is not properly set. The issue was flood by 'commit 7f95f78a8aea ("ethdev: clea

Re: [dpdk-dev] [PATCH 2/2] net/virtio-user: fix multi-process issue

2017-02-27 Thread Ami Sabo
Hi, You are right, the commit I mentioned didn't cause the issue - it just flooded it. The real issue is that rte_eth_dev_allocate should be called only from the primary process. Tomas's commit flood the issue by resseting rte_eth_dev_data, so now, when the virtio-user secondary process comes up

Re: [dpdk-dev] [PATCH 2/2] net/virtio-user: fix multi-process issue

2017-02-27 Thread Yuanhan Liu
On Sun, Feb 26, 2017 at 11:55:26AM +0200, Ami Sabo wrote: > Secondary process doesn't properly attach to the rte_eth_device > initialized by the primary process. > > ccessing device from secondary process (e.g. via rte_eth_rx_burst), > causes process to crash. because rte_eth_dev_data is not prope

[dpdk-dev] [PATCH 2/2] net/virtio-user: fix multi-process issue

2017-02-26 Thread Ami Sabo
Secondary process doesn't properly attach to the rte_eth_device initialized by the primary process. ccessing device from secondary process (e.g. via rte_eth_rx_burst), causes process to crash. because rte_eth_dev_data is not properly set. The issue was flood by 'commit 7f95f78a8aea ("ethdev: clea