Re: [dpdk-dev] [PATCH] bus/pci: pcidev access from secondary process

2020-04-25 Thread Thomas Monjalon
24/04/2020 19:08, Vijaya Mohan Guvva: > For pci devices presented through igb_uio, pcidev->mem_resource[] is > not populated when the device is initialized for secondary process. > > Initialize pcidev->mem_resource[] with pci-bar mapped addresses. > > Fixes: c752998b (pci: introduce library and d

[dpdk-dev] [PATCH] bus/pci: pcidev access from secondary process

2020-04-24 Thread Vijaya Mohan Guvva
For pci devices presented through igb_uio, pcidev->mem_resource[] is not populated when the device is initialized for secondary process. Initialize pcidev->mem_resource[] with pci-bar mapped addresses. Fixes: c752998b (pci: introduce library and driver) Cc: sta...@dpdk.org Signed-off-by: Vijaya

Re: [dpdk-dev] [PATCH] bus/pci: pcidev access from secondary process

2020-03-31 Thread Thomas Monjalon
31/03/2020 04:12, vijay mohan: > On Mon, 30 Mar 2020 at 18:54, Thomas Monjalon wrote: > > 06/03/2020 13:28, Ferruh Yigit: > > > On 3/6/2020 12:02 AM, Vijaya Mohan Guvva wrote: > > > > For pci devices presented through igb_uio, pcidev->mem_resource[] is > > > > not populated when the device is init

Re: [dpdk-dev] [PATCH] bus/pci: pcidev access from secondary process

2020-03-30 Thread vijay mohan
Hi Thomas, As long as pmd or application doesn't access dev->mem_resource[i].addr, secondary process works with igb_uio. But for pci devices like crypto_qat, pmd checks for dev->mem_resource[i].addr and bails out if the address is null. Root cause is, not initializing the mapped address in rte_pci

Re: [dpdk-dev] [PATCH] bus/pci: pcidev access from secondary process

2020-03-30 Thread Thomas Monjalon
06/03/2020 13:28, Ferruh Yigit: > On 3/6/2020 12:02 AM, Vijaya Mohan Guvva wrote: > > For pci devices presented through igb_uio, pcidev->mem_resource[] is > > not populated when the device is initialized for secondary process. > > > > Initialize pcidev->mem_resource[] with pci-bar mapped addresses

Re: [dpdk-dev] [PATCH] bus/pci: pcidev access from secondary process

2020-03-06 Thread Ferruh Yigit
On 3/6/2020 12:02 AM, Vijaya Mohan Guvva wrote: > For pci devices presented through igb_uio, pcidev->mem_resource[] is > not populated when the device is initialized for secondary process. > > Initialize pcidev->mem_resource[] with pci-bar mapped addresses. > > Signed-off-by: Vijaya Mohan Guvva

[dpdk-dev] [PATCH] bus/pci: pcidev access from secondary process

2020-03-05 Thread Vijaya Mohan Guvva
For pci devices presented through igb_uio, pcidev->mem_resource[] is not populated when the device is initialized for secondary process. Initialize pcidev->mem_resource[] with pci-bar mapped addresses. Signed-off-by: Vijaya Mohan Guvva --- drivers/bus/pci/pci_common_uio.c | 1 + 1 file changed,