Fix virtio-user multi-process crash.
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Fix virtio-user multi-process crash.
The patchset fixes secondary process crash issue when it tries to access virtio-user pmd (e.g. via rte_eth_rx_burst).
The crash happens because in virtio_user probing, eth_dev_attach_secondary is not being called, as it does from rte_eth_dev_pci_probe. Therefore, the device is not properly initialized.
The patchset contains 2 patches:
1. Export rte_eth_dev_attach_secondary, so non-pci drivers will be allowed to call it.
2. Fix the actual bug by calling the function during virtio_user probe.
Ami Sabo (2):
lib/librte_ether: export secondary attach function net/virtio-user: fix multi-process issue
drivers/net/virtio/virtio_user_ethdev.c | 26 ++++++++++++++++---------- lib/librte_ether/rte_ethdev.c | 6 +++--- lib/librte_ether/rte_ethdev.h | 13 +++++++++++++ lib/librte_ether/rte_ether_version.map | 6 ++++++ 4 files changed, 38 insertions(+), 13 deletions(-)
Signature · 1 line
2.7.4