All of lore.kernel.org
 help / color / mirror / Atom feed
* virtio PMD issue
@ 2016-07-15 18:48 Harish Patil
  2016-07-15 19:55 ` Vincent Li
  0 siblings, 1 reply; 3+ messages in thread
From: Harish Patil @ 2016-07-15 18:48 UTC (permalink / raw)
  To: huawie.xie, yuanhan.liu; +Cc: dev

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: virtio PMD issue
  2016-07-15 18:48 virtio PMD issue Harish Patil
@ 2016-07-15 19:55 ` Vincent Li
  2016-07-15 20:06   ` Harish Patil
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Li @ 2016-07-15 19:55 UTC (permalink / raw)
  To: Harish Patil; +Cc: huawie.xie, yuanhan.liu, dev

it is fixed in 16.07-rc2 that I checked

Vincent

On Fri, Jul 15, 2016 at 11:48 AM, Harish Patil <harish.patil@qlogic.com> wrote:
> 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
>
>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: virtio PMD issue
  2016-07-15 19:55 ` Vincent Li
@ 2016-07-15 20:06   ` Harish Patil
  0 siblings, 0 replies; 3+ messages in thread
From: Harish Patil @ 2016-07-15 20:06 UTC (permalink / raw)
  To: Vincent Li; +Cc: huawie.xie, yuanhan.liu, dev

>
>it is fixed in 16.07-rc2 that I checked

Great, thanks.

>
>Vincent
>
>On Fri, Jul 15, 2016 at 11:48 AM, Harish Patil <harish.patil@qlogic.com>
>wrote:
>> 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
>>
>>
>>
>>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-15 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15 18:48 virtio PMD issue Harish Patil
2016-07-15 19:55 ` Vincent Li
2016-07-15 20:06   ` Harish Patil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.