Re: [dpdk-dev] [PATCH] net/virtio: fix secondary process crash with PCI devices

2021-02-03 Thread Maxime Coquelin
On 2/3/21 4:58 PM, Maxime Coquelin wrote: > The Virtio rework series mistakenly moved the rte_pci_device > pointer to struct virtio_hw, which is shared between the two > processes. But this structure is per-process, so this change > made secondary process to try accessing primary process-only >

Re: [dpdk-dev] [PATCH] net/virtio: fix secondary process crash with PCI devices

2021-02-03 Thread David Marchand
On Wed, Feb 3, 2021 at 4:58 PM Maxime Coquelin wrote: > > The Virtio rework series mistakenly moved the rte_pci_device > pointer to struct virtio_hw, which is shared between the two > processes. But this structure is per-process, so this change > made secondary process to try accessing primary pro

[dpdk-dev] [PATCH] net/virtio: fix secondary process crash with PCI devices

2021-02-03 Thread Maxime Coquelin
The Virtio rework series mistakenly moved the rte_pci_device pointer to struct virtio_hw, which is shared between the two processes. But this structure is per-process, so this change made secondary process to try accessing primary process-only memory, leading to a crash This patch reverts to prope