virtio PMD issue
Hi Huawie/Yuanhan,
I encounter segfault issue in virtio PMD driver when I run any DPDK application in the VM. The virtio devices should not have been probed in the first place since they are not attached to igb_uio driver (and managed by kernel driver).
Network devices using DPDK-compatible driver
============================================
0000:00:09.0 'FastLinQ QL45000 Series 25GbE Controller' drv=igb_uio unused= 0000:00:0a.0 'FastLinQ QL45000 Series 25GbE Controller' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:00:03.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio
#0 0x00000000004e5392 in vtpci_init (dev=0xb61970, hw=0x7fff76146600) at /home2/hpatil/dpdk/drivers/net/virtio/virtio_pci.c:653 #1 0x00000000004effc4 in eth_virtio_dev_init (eth_dev=0xacb7a0 <rte_eth_devices>)
at /home2/hpatil/dpdk/drivers/net/virtio/virtio_ethdev.c:1060 #2 0x00000000004b730f in rte_eth_dev_init ()
#3 0x00000000004cb940 in pci_probe_all_drivers ()
#4 0x00000000004cbe88 in rte_eal_pci_probe ()
#5 0x00000000004c0336 in rte_eal_init ()
#6 0x00000000004404e2 in main ()
(gdb) p dev->devargs
$1 = (struct rte_devargs *) 0x0
Looks like its a known issue based on a old thread:
http://dpdk.org/dev/patchwork/patch/12462/
Do we know a fix now?
Thanks,
harish
it is fixed in 16.07-rc2 that I checked
Vincent
Quoted 43 lines · Harish Patil
Hi Huawie/Yuanhan,
I encounter segfault issue in virtio PMD driver when I run any DPDK application in the VM. The virtio devices should not have been probed in the first place since they are not attached toigb_uiodriver (and managed by kernel driver).Network devices using DPDK-compatible driver
============================================
0000:00:09.0 'FastLinQ QL45000 Series 25GbE Controller' drv=igb_uio unused= 0000:00:0a.0 'FastLinQ QL45000 Series 25GbE Controller' drv=igb_uio unused=Network devices using kernel driver
===================================
0000:00:03.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio#0
0x00000000004e5392invtpci_init(dev=0xb61970, hw=0x7fff76146600) at /home2/hpatil/dpdk/drivers/net/virtio/virtio_pci.c:653 #10x00000000004effc4ineth_virtio_dev_init(eth_dev=0xacb7a0 <rte_eth_devices>)
at /home2/hpatil/dpdk/drivers/net/virtio/virtio_ethdev.c:1060 #20x00000000004b730finrte_eth_dev_init()
#30x00000000004cb940inpci_probe_all_drivers()
#40x00000000004cbe88inrte_eal_pci_probe()
#50x00000000004c0336inrte_eal_init()
#60x00000000004404e2in main ()
(gdb) pdev->devargs
$1 = (structrte_devargs*)0x0Looks like its a known issue based on a old thread:
http://dpdk.org/dev/patchwork/patch/12462/Do we know a fix now?
Thanks,
harish
Quoted 2 lines
it is fixed in 16.07-rc2 that I checked
Great, thanks.
Quoted 52 lines
Vincent
Quoted 46 lines · Harish Patil
Hi Huawie/Yuanhan,
I encounter segfault issue in virtio PMD driver when I run any DPDK application in the VM. The virtio devices should not have been probed in the first place since they are not attached toigb_uiodriver (and managed
by kernel driver).Network devices using DPDK-compatible driver
============================================
0000:00:09.0 'FastLinQ QL45000 Series 25GbE Controller' drv=igb_uio unused=
0000:00:0a.0 'FastLinQ QL45000 Series 25GbE Controller' drv=igb_uio unused=Network devices using kernel driver
===================================
0000:00:03.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio#0
0x00000000004e5392invtpci_init(dev=0xb61970, hw=0x7fff76146600) at /home2/hpatil/dpdk/drivers/net/virtio/virtio_pci.c:653 #10x00000000004effc4ineth_virtio_dev_init(eth_dev=0xacb7a0 <rte_eth_devices>)
at /home2/hpatil/dpdk/drivers/net/virtio/virtio_ethdev.c:1060 #20x00000000004b730finrte_eth_dev_init()
#30x00000000004cb940inpci_probe_all_drivers()
#40x00000000004cbe88inrte_eal_pci_probe()
#50x00000000004c0336inrte_eal_init()
#60x00000000004404e2in main ()
(gdb) pdev->devargs
$1 = (structrte_devargs*)0x0Looks like its a known issue based on a old thread:
http://dpdk.org/dev/patchwork/patch/12462/Do we know a fix now?
Thanks,
harish