Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-06-18 Thread Martin Drašar
Dne 18.6.2018 v 11:54 Rosen, Rami napsal(a): > Hi Martin, >> dpdk_init() > > I assume you run your own application. > Can you post the log you get when running testpmd with --log-level=8 and -w > I40E0_PCI_BUS_ID ? > > Also can you post "lspci -n"? > Regards, > Rami Rosen Hello, thank

Re: [dpdk-users] DPDK 17.05 does not find X710 card

2018-06-18 Thread Martin Drašar
Sorry, there was a typo in the subject. X710, not X510.

Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-06-18 Thread Martin Drašar
Dne 18.6.2018 v 15:09 Rosen, Rami napsal(a): > Hi, Martin, > How do you bind the device ? is it with igb_uio/vfio ? In case this is what > you do - can you please try with uio_pci_generic and tell if you get the same > error ? > The uio_pci_generic should be included in your distro as one of

Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-06-18 Thread Martin Drašar
Dne 18.6.2018 v 15:34 Rosen, Rami napsal(a): > Hi Martin, > > Yes, you are right. > > Which kernel are you running ? (uname -r) > > Regards, > Rami Rosen I am running 3.10.0-693.el7.x86_64. Martin

Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-06-18 Thread Martin Drašar
Using iomem=relaxed did not change anything. Once I manage to update UEFI drivers on my X520, I will try it to see if it is a driver issue. Martin

Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-06-25 Thread Martin Drašar
Hi, Stephen, thanks four input. I have already read that part of documentation Rami posted, but that ‘may disallow’ left me hoping there are some situations when it is not disallowed. If it is indeed not possible using the igb uio, I will have to do it with the vfio. However, and that is the

Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-06-19 Thread Martin Drašar
Just some additional details (strace around the pic probe): > write(1, "EAL: PCI device :05:00.0 on "..., 46EAL: PCI device > :05:00.0 on NUMA socket 0) = 46 > sendto(3, "<30>Jun 19 16:05:21 framework[42"..., 84, MSG_NOSIGNAL, NULL, 0) = > 84 > write(1, "EAL: probe driver: 8086:154d

Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-06-21 Thread Martin Drašar
Dne 21.6.2018 v 7:58 Avi Cohen (A) napsal(a): > Look at this > https://stackoverflow.com/questions/8213671/mmap-operation-not-permitted Hello Avi, thank you for chiming in. Neither iomem runtime parameter or allowing mmap on 0 page helped me. As for the latter, DPDK correctly maps to PCI

Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-06-19 Thread Martin Drašar
Dne 19.6.2018 v 2:21 Rosen, Rami napsal(a): > Hi Martin, > I assume that you get the mmap() error that you posted earlier when > running your own DPDK application. And again, if this is the case, can > you please post here > the full log you get when running testpmd with --log-level=8 and -w >

Re: [dpdk-users] DPDK 17.05 does not find X510 card

2018-07-11 Thread Martin Drašar
Dne 25.6.2018 v 11:35 Rosen, Rami napsal(a): > Hi Martin, > > There is info about VFIO and IOMMU for DPDK in the > Linux Getting Started Guide: > https://doc.dpdk.org/guides/linux_gsg/index.html > > > Generally, you need to follow section 8.1.3 for IOMMU: > ... > 8.1.3 Linux boot command line