Re: [dpdk-dev] [PATCH v2] bus/pci: fix wrong intr_handle.type with uio_pci_generic

2018-01-09 Thread Yang, Zhiyong
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Tuesday, January 9, 2018 11:34 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; Yigit, Ferruh > Subject: Re: [dpdk-dev] [PATCH v2] bus/pci: fix wrong intr_handle.type with > uio_pci_gener

Re: [dpdk-dev] [PATCH v2] bus/pci: fix wrong intr_handle.type with uio_pci_generic

2018-01-09 Thread Thomas Monjalon
03/01/2018 04:29, Yang, Zhiyong: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 29/12/2017 08:55, Zhiyong Yang: > > > --- a/drivers/bus/pci/linux/pci.c > > > +++ b/drivers/bus/pci/linux/pci.c > > > @@ -723,7 +723,6 @@ pci_ioport_map(struct rte_pci_device *dev, int bar > > __rte_unused, >

Re: [dpdk-dev] [PATCH v2] bus/pci: fix wrong intr_handle.type with uio_pci_generic

2018-01-02 Thread Yang, Zhiyong
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, December 29, 2017 7:07 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; Yigit, Ferruh ; sta...@dpdk.org > Subject: Re: [PATCH v2] bus/pci: fix wrong intr_handle.type with > uio_pci_generic > > 29/12/201

Re: [dpdk-dev] [PATCH v2] bus/pci: fix wrong intr_handle.type with uio_pci_generic

2017-12-30 Thread Yang, Zhiyong
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, December 29, 2017 7:07 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; Yigit, Ferruh ; sta...@dpdk.org > Subject: Re: [PATCH v2] bus/pci: fix wrong intr_handle.type with > uio_pci_generic > > 29/12/201

Re: [dpdk-dev] [PATCH v2] bus/pci: fix wrong intr_handle.type with uio_pci_generic

2017-12-29 Thread Thomas Monjalon
29/12/2017 08:55, Zhiyong Yang: > For virtio legacy device, testpmd startup fails when using > uio_pci_generic. The issue is caused by invoking the function > pci_ioport_map. The right intr_handle.type is already set before > calling it, we should avoid overwriting the default value "RTE_ > INTR_HA

[dpdk-dev] [PATCH v2] bus/pci: fix wrong intr_handle.type with uio_pci_generic

2017-12-28 Thread Zhiyong Yang
For virtio legacy device, testpmd startup fails when using uio_pci_generic. The issue is caused by invoking the function pci_ioport_map. The right intr_handle.type is already set before calling it, we should avoid overwriting the default value "RTE_ INTR_HANDLE_UNKNOWN" in it. Besides, the removal