[dpdk-dev] Getting error while running DPDK test app on X-Gene1

2016-01-14 Thread Ankit Jindal
On Thu, Jan 14, 2016 at 9:45 AM, Jerin Jacob
 wrote:
> On Wed, Jan 13, 2016 at 03:52:01PM +0530, Ankit Jindal wrote:
>> Hi,
>>
>> We are trying to run dpdk on our arm64 based SOC having Intel 10G
>> ixgbe PCIe card plugged. While running any test app, we are getting
>> following error.
>>
>> EAL: PCI device :01:00.0 on NUMA socket 0
>> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
>> EAL: Cannot open /sys/bus/pci/devices/:01:00.0/resource0: No such
>> file or directory
>> EAL: Error - exiting with code: 1
>>   Cause: Requested device :01:00.0 cannot be used
>
>
> pci resource creation patch is not yet part of the arm64 mainline kernel.
> The following patch should fix the problem.
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/358906.html

Thanks, it fixed the problem.

Thanks,
Ankit
>
> Jerin
>
>>
>> Below are the details on modules, hugepages and device binding.
>> root at arm64:~# lsmod
>> Module  Size  Used by
>> rte_kni   292795  0
>> igb_uio 4338  0
>> ixgbe 184456  0
>>
>> root at arm64:~/dpdk# cat 
>> /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
>> 2048
>>
>> root at arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status
>>
>> Network devices using DPDK-compatible driver
>> 
>> :01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
>> drv=igb_uio unused=
>> :01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
>> drv=igb_uio unused=
>>
>> Network devices using kernel driver
>> ===
>> 
>>
>> Other network devices
>> =
>> 
>> root at arm64:~/dpdk#
>>
>> Thanks,
>> Ankit


[dpdk-dev] Getting error while running DPDK test app on X-Gene1

2016-01-14 Thread Jerin Jacob
On Wed, Jan 13, 2016 at 03:52:01PM +0530, Ankit Jindal wrote:
> Hi,
> 
> We are trying to run dpdk on our arm64 based SOC having Intel 10G
> ixgbe PCIe card plugged. While running any test app, we are getting
> following error.
> 
> EAL: PCI device :01:00.0 on NUMA socket 0
> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
> EAL: Cannot open /sys/bus/pci/devices/:01:00.0/resource0: No such
> file or directory
> EAL: Error - exiting with code: 1
>   Cause: Requested device :01:00.0 cannot be used


pci resource creation patch is not yet part of the arm64 mainline kernel.
The following patch should fix the problem.

http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/358906.html

Jerin

> 
> Below are the details on modules, hugepages and device binding.
> root at arm64:~# lsmod
> Module  Size  Used by
> rte_kni   292795  0
> igb_uio 4338  0
> ixgbe 184456  0
> 
> root at arm64:~/dpdk# cat 
> /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
> 2048
> 
> root at arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status
> 
> Network devices using DPDK-compatible driver
> 
> :01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> drv=igb_uio unused=
> :01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> drv=igb_uio unused=
> 
> Network devices using kernel driver
> ===
> 
> 
> Other network devices
> =
> 
> root at arm64:~/dpdk#
> 
> Thanks,
> Ankit


[dpdk-dev] Getting error while running DPDK test app on X-Gene1

2016-01-14 Thread Qiu, Michael
On 1/14/2016 12:15 PM, Jerin Jacob wrote:
> On Wed, Jan 13, 2016 at 03:52:01PM +0530, Ankit Jindal wrote:
>> Hi,
>>
>> We are trying to run dpdk on our arm64 based SOC having Intel 10G
>> ixgbe PCIe card plugged. While running any test app, we are getting
>> following error.
>>
>> EAL: PCI device :01:00.0 on NUMA socket 0
>> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
>> EAL: Cannot open /sys/bus/pci/devices/:01:00.0/resource0: No such
>> file or directory
>> EAL: Error - exiting with code: 1
>>   Cause: Requested device :01:00.0 cannot be used
>
> pci resource creation patch is not yet part of the arm64 mainline kernel.
> The following patch should fix the problem.
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/358906.html
>
> Jerin

What's the status of your arm kernel patch?

Thanks,
Michael
>> Below are the details on modules, hugepages and device binding.
>> root at arm64:~# lsmod
>> Module  Size  Used by
>> rte_kni   292795  0
>> igb_uio 4338  0
>> ixgbe 184456  0
>>
>> root at arm64:~/dpdk# cat 
>> /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
>> 2048
>>
>> root at arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status
>>
>> Network devices using DPDK-compatible driver
>> 
>> :01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
>> drv=igb_uio unused=
>> :01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
>> drv=igb_uio unused=
>>
>> Network devices using kernel driver
>> ===
>> 
>>
>> Other network devices
>> =
>> 
>> root at arm64:~/dpdk#
>>
>> Thanks,
>> Ankit



[dpdk-dev] Getting error while running DPDK test app on X-Gene1

2016-01-14 Thread Qiu, Michael
Could you show what's  exists in

/sys/bus/pci/devices/:01:00.0/


Thanks, Michael


On 1/13/2016 6:23 PM, Ankit Jindal wrote:
> Hi,
>
> We are trying to run dpdk on our arm64 based SOC having Intel 10G
> ixgbe PCIe card plugged. While running any test app, we are getting
> following error.
>
> EAL: PCI device :01:00.0 on NUMA socket 0
> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
> EAL: Cannot open /sys/bus/pci/devices/:01:00.0/resource0: No such
> file or directory
> EAL: Error - exiting with code: 1
>   Cause: Requested device :01:00.0 cannot be used
>
> Below are the details on modules, hugepages and device binding.
> root at arm64:~# lsmod
> Module  Size  Used by
> rte_kni   292795  0
> igb_uio 4338  0
> ixgbe 184456  0
>
> root at arm64:~/dpdk# cat 
> /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
> 2048
>
> root at arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status
>
> Network devices using DPDK-compatible driver
> 
> :01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> drv=igb_uio unused=
> :01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> drv=igb_uio unused=
>
> Network devices using kernel driver
> ===
> 
>
> Other network devices
> =
> 
> root at arm64:~/dpdk#
>
> Thanks,
> Ankit
>



[dpdk-dev] Getting error while running DPDK test app on X-Gene1

2016-01-13 Thread Ankit Jindal
Hi,

We are trying to run dpdk on our arm64 based SOC having Intel 10G
ixgbe PCIe card plugged. While running any test app, we are getting
following error.

EAL: PCI device :01:00.0 on NUMA socket 0
EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
EAL: Cannot open /sys/bus/pci/devices/:01:00.0/resource0: No such
file or directory
EAL: Error - exiting with code: 1
  Cause: Requested device :01:00.0 cannot be used

Below are the details on modules, hugepages and device binding.
root at arm64:~# lsmod
Module  Size  Used by
rte_kni   292795  0
igb_uio 4338  0
ixgbe 184456  0

root at arm64:~/dpdk# cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
2048

root at arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver

:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
drv=igb_uio unused=
:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
drv=igb_uio unused=

Network devices using kernel driver
===


Other network devices
=

root at arm64:~/dpdk#

Thanks,
Ankit