DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Getting error while running DPDK test app on X-Gene1
@ 2016-01-13 10:22 Ankit Jindal
  2016-01-14  3:08 ` Qiu, Michael
  2016-01-14  4:15 ` Jerin Jacob
  0 siblings, 2 replies; 5+ messages in thread
From: Ankit Jindal @ 2016-01-13 10:22 UTC (permalink / raw)
  To: dev; +Cc: Jitendra Kanitkar, Pranavkumar Sawargaonkar

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

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

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

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

Network devices using DPDK-compatible driver
============================================
0000:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
drv=igb_uio unused=
0000:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
drv=igb_uio unused=

Network devices using kernel driver
===================================
<none>

Other network devices
=====================
<none>
root@arm64:~/dpdk#

Thanks,
Ankit

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

* Re: [dpdk-dev] Getting error while running DPDK test app on X-Gene1
  2016-01-13 10:22 [dpdk-dev] Getting error while running DPDK test app on X-Gene1 Ankit Jindal
@ 2016-01-14  3:08 ` Qiu, Michael
  2016-01-14  4:15 ` Jerin Jacob
  1 sibling, 0 replies; 5+ messages in thread
From: Qiu, Michael @ 2016-01-14  3:08 UTC (permalink / raw)
  To: Ankit Jindal, dev; +Cc: Jitendra Kanitkar, Pranavkumar Sawargaonkar

Could you show what's  exists in

/sys/bus/pci/devices/0000: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 0000:01:00.0 on NUMA socket 0
> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
> EAL: Cannot open /sys/bus/pci/devices/0000:01:00.0/resource0: No such
> file or directory
> EAL: Error - exiting with code: 1
>   Cause: Requested device 0000:01:00.0 cannot be used
>
> Below are the details on modules, hugepages and device binding.
> root@arm64:~# lsmod
> Module                  Size  Used by
> rte_kni               292795  0
> igb_uio                 4338  0
> ixgbe                 184456  0
>
> root@arm64:~/dpdk# cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
> 2048
>
> root@arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status
>
> Network devices using DPDK-compatible driver
> ============================================
> 0000:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> drv=igb_uio unused=
> 0000:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> drv=igb_uio unused=
>
> Network devices using kernel driver
> ===================================
> <none>
>
> Other network devices
> =====================
> <none>
> root@arm64:~/dpdk#
>
> Thanks,
> Ankit
>


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

* Re: [dpdk-dev] Getting error while running DPDK test app on X-Gene1
  2016-01-13 10:22 [dpdk-dev] Getting error while running DPDK test app on X-Gene1 Ankit Jindal
  2016-01-14  3:08 ` Qiu, Michael
@ 2016-01-14  4:15 ` Jerin Jacob
  2016-01-14  8:26   ` Qiu, Michael
  2016-01-14 11:12   ` Ankit Jindal
  1 sibling, 2 replies; 5+ messages in thread
From: Jerin Jacob @ 2016-01-14  4:15 UTC (permalink / raw)
  To: Ankit Jindal; +Cc: dev, Jitendra Kanitkar, Pranavkumar Sawargaonkar

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 0000:01:00.0 on NUMA socket 0
> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
> EAL: Cannot open /sys/bus/pci/devices/0000:01:00.0/resource0: No such
> file or directory
> EAL: Error - exiting with code: 1
>   Cause: Requested device 0000: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@arm64:~# lsmod
> Module                  Size  Used by
> rte_kni               292795  0
> igb_uio                 4338  0
> ixgbe                 184456  0
> 
> root@arm64:~/dpdk# cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
> 2048
> 
> root@arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status
> 
> Network devices using DPDK-compatible driver
> ============================================
> 0000:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> drv=igb_uio unused=
> 0000:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> drv=igb_uio unused=
> 
> Network devices using kernel driver
> ===================================
> <none>
> 
> Other network devices
> =====================
> <none>
> root@arm64:~/dpdk#
> 
> Thanks,
> Ankit

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

* Re: [dpdk-dev] Getting error while running DPDK test app on X-Gene1
  2016-01-14  4:15 ` Jerin Jacob
@ 2016-01-14  8:26   ` Qiu, Michael
  2016-01-14 11:12   ` Ankit Jindal
  1 sibling, 0 replies; 5+ messages in thread
From: Qiu, Michael @ 2016-01-14  8:26 UTC (permalink / raw)
  To: Jerin Jacob, Ankit Jindal
  Cc: dev, Jitendra Kanitkar, Pranavkumar Sawargaonkar

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 0000:01:00.0 on NUMA socket 0
>> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
>> EAL: Cannot open /sys/bus/pci/devices/0000:01:00.0/resource0: No such
>> file or directory
>> EAL: Error - exiting with code: 1
>>   Cause: Requested device 0000: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@arm64:~# lsmod
>> Module                  Size  Used by
>> rte_kni               292795  0
>> igb_uio                 4338  0
>> ixgbe                 184456  0
>>
>> root@arm64:~/dpdk# cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
>> 2048
>>
>> root@arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status
>>
>> Network devices using DPDK-compatible driver
>> ============================================
>> 0000:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
>> drv=igb_uio unused=
>> 0000:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
>> drv=igb_uio unused=
>>
>> Network devices using kernel driver
>> ===================================
>> <none>
>>
>> Other network devices
>> =====================
>> <none>
>> root@arm64:~/dpdk#
>>
>> Thanks,
>> Ankit


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

* Re: [dpdk-dev] Getting error while running DPDK test app on X-Gene1
  2016-01-14  4:15 ` Jerin Jacob
  2016-01-14  8:26   ` Qiu, Michael
@ 2016-01-14 11:12   ` Ankit Jindal
  1 sibling, 0 replies; 5+ messages in thread
From: Ankit Jindal @ 2016-01-14 11:12 UTC (permalink / raw)
  To: Jerin Jacob; +Cc: dev, Jitendra Kanitkar, Pranavkumar Sawargaonkar

On Thu, Jan 14, 2016 at 9:45 AM, Jerin Jacob
<jerin.jacob@caviumnetworks.com> 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 0000:01:00.0 on NUMA socket 0
>> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
>> EAL: Cannot open /sys/bus/pci/devices/0000:01:00.0/resource0: No such
>> file or directory
>> EAL: Error - exiting with code: 1
>>   Cause: Requested device 0000: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@arm64:~# lsmod
>> Module                  Size  Used by
>> rte_kni               292795  0
>> igb_uio                 4338  0
>> ixgbe                 184456  0
>>
>> root@arm64:~/dpdk# cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
>> 2048
>>
>> root@arm64:~/dpdk# ./tools/dpdk_nic_bind.py --status
>>
>> Network devices using DPDK-compatible driver
>> ============================================
>> 0000:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
>> drv=igb_uio unused=
>> 0000:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection'
>> drv=igb_uio unused=
>>
>> Network devices using kernel driver
>> ===================================
>> <none>
>>
>> Other network devices
>> =====================
>> <none>
>> root@arm64:~/dpdk#
>>
>> Thanks,
>> Ankit

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

end of thread, other threads:[~2016-01-14 11:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-13 10:22 [dpdk-dev] Getting error while running DPDK test app on X-Gene1 Ankit Jindal
2016-01-14  3:08 ` Qiu, Michael
2016-01-14  4:15 ` Jerin Jacob
2016-01-14  8:26   ` Qiu, Michael
2016-01-14 11:12   ` Ankit Jindal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).