Skip to content

Unable to launch pktgen 20.11.3: error in rte_eth_rx_queue_setup #18

@agur-adams

Description

@agur-adams

Hello,

After stepping through the instructions for getting DPDK drivers up and running on AMD OpenNIC, I'm unable to launch pktgen 20.11.3 on a programmed Alveo U250 (command, output, and error below).

$ sudo ./pktgen-dpdk-pktgen-20.11.3/usr/local/bin/pktgen -a 01:00.0 -a 01:00.1 -d librte_net_qdma.so -l 0-5 -n 4 -- -m [2:3].0 -m [4:5].1

Copyright (c) <2010-2020>, Intel Corporation. All rights reserved. Powered by DPDK
EAL: Detected 16 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_qdma (10ee:903f) device: 0000:01:00.0 (socket 0)
PMD: QDMA PMD VERSION: 2020.2.1
EAL: Probe PCI driver: net_qdma (10ee:913f) device: 0000:01:00.1 (socket 0)
EAL: No legacy callbacks, legacy socket not created

*** Copyright (c) <2010-2020>, Intel Corporation. All rights reserved.
*** Pktgen  created by: Keith Wiles -- >>> Powered by DPDK <<<

 Port: Name         IfIndex Alias        NUMA  PCI
    0: net_qdma        0                   0   10ee:903f/01:00.0
    1: net_qdma        0                   0   10ee:913f/01:00.1

Initialize Port 0 -- TxQ 1, RxQ 1
!PANIC!: rte_eth_rx_queue_setup: err=-22, port=0, Invalid argument
PANIC in pktgen_config_ports():
rte_eth_rx_queue_setup: err=-22, port=0, Invalid argument
6: [./pktgen-dpdk-pktgen-20.11.3/usr/local/bin/pktgen(+0x962a) [0x55adbee4962a]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f3bb8efdc87]]
4: [./pktgen-dpdk-pktgen-20.11.3/usr/local/bin/pktgen(+0x9193) [0x55adbee49193]]
3: [./pktgen-dpdk-pktgen-20.11.3/usr/local/bin/pktgen(+0x30444) [0x55adbee70444]]
2: [/usr/local/lib/x86_64-linux-gnu/librte_eal.so.21(__rte_panic+0xc5) [0x7f3bb9b59285]]
1: [/usr/local/lib/x86_64-linux-gnu/librte_eal.so.21(rte_dump_stack+0x2e) [0x7f3bb9b7b2ae]]
Aborted

I'm using the following hardware in a virtual machine. The VM has access to the programmed Alveo U250 via PCI-passthrough in a Proxmox server.

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              16
On-line CPU(s) list: 0-15
Thread(s) per core:  1
Core(s) per socket:  16
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Gold 6248 CPU @ 2.50GHz
Stepping:            7
CPU MHz:             2494.140
BogoMIPS:            4988.28
Virtualization:      VT-x
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            4096K
L3 cache:            16384K
NUMA node0 CPU(s):   0-15
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat umip pku ospke avx512_vnni arch_capabilities

Happy to provide additional detail as needed. Thanks in advance for any assistance anyone can offer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions