LS1043 DPDK rxq 中断问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043 DPDK rxq 中断问题

478 Views
wuliu24685
Contributor I

hi

LS1043平台,跑DPDK19.11示例程序l3fwd-power遇到问题:

./l3fwd-power -l 1-3 -- -p 0x0f --config="(0,0,2),(1,0,3)"
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-32768kB
EAL: No available hugepages reported in hugepages-64kB
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0001:01:00.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 8086:1539 net_e1000_igb
EAL: DPAA Bus Detected
PMD: Using FMC script mode,RXQs will be setup according to FMC configuration
PMD: net: dpaa: fm1-mac1: 68:91:d0:66:da:00
PMD: net: dpaa: fm1-mac2: 68:91:d0:66:da:01
PMD: net: dpaa: fm1-mac3: 68:91:d0:66:da:02
PMD: net: dpaa: fm1-mac4: 68:91:d0:66:da:03
PMD: net: dpaa: fm1-mac5: 68:91:d0:66:da:04
PMD: net: dpaa: fm1-mac6: 68:91:d0:66:da:05
POWER: Env isn't set yet!
POWER: Attempting to initialise ACPI cpufreq power management...
POWER: Initialized successfully for lcore 1 power management
POWER: Initialized successfully for lcore 2 power management
POWER: Initialized successfully for lcore 3 power management
Initializing port 0 ... Creating queues: nb_rxq=1 nb_txq=3... Address:68:91:D0:66:DA:00, Allocated mbuf pool on socket 0
LPM: Adding route 0x01010100 / 24 (0)
LPM: Adding route 0x02010100 / 24 (1)
LPM: Adding route 0x03010100 / 24 (2)
LPM: Adding route 0x04010100 / 24 (3)
LPM: Adding route 0x05010100 / 24 (4)
LPM: Adding route 0x06010100 / 24 (5)
LPM: Adding route 0x07010100 / 24 (6)
LPM: Adding route 0x08010100 / 24 (7)
txq=1,0,0 txq=2,1,0 txq=3,2,0
Initializing port 1 ... Creating queues: nb_rxq=1 nb_txq=3... Address:68:91:D0:66:DA:01, txq=1,0,0 txq=2,1,0 txq=3,2,0
Initializing port 2 ... Creating queues: nb_rxq=0 nb_txq=3... Address:68:91:D0:66:DA:02, txq=1,0,0 txq=2,1,0 txq=3,2,0
Initializing port 3 ... Creating queues: nb_rxq=0 nb_txq=3... Address:68:91:D0:66:DA:03, txq=1,0,0 txq=2,1,0 txq=3,2,0

Skipping disabled port 4

Skipping disabled port 5

Initializing rx queues on lcore 1 ...
Initializing rx queues on lcore 2 ... rxq=0,0,0
Initializing rx queues on lcore 3 ... rxq=1,0,0

Checking link status..........................................................................................done
Port 0 Link Up - speed 1000 Mbps - full-duplex
Port 1 Link Up - speed 1000 Mbps - full-duplex
Port 2 Link Down
Port 3 Link Down
L3FWD_POWER: entering main loop on lcore 2
L3FWD_POWER: -- lcoreid=2 portid=0 rxqueueid=0
RX Intr handle unset
L3FWD_POWER: RX interrupt won't enable.
L3FWD_POWER: lcore 1 has nothing to do
L3FWD_POWER: entering main loop on lcore 3
L3FWD_POWER: -- lcoreid=3 portid=1 rxqueueid=0
RX Intr handle unset
L3FWD_POWER: RX interrupt won't enable.

 

0 Kudos
Reply
3 Replies

450 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Yes you need upgrade your kernel since this was marked as a bug https://inbox.dpdk.org/dev/20150507195753.24518cfd@urahara/T/

But now it's fixed.

Regards

0 Kudos
Reply

439 Views
wuliu24685
Contributor I

目前环境:

内核版本:5.10
DPDK版本:19.11

您提供的链接都是intel 网卡的,而DPDK19.11的intel 网卡rxq 中断是可以正常使用的,不用修改。
目前的问题是你们的平台rte_pmd_dpaa不支持rxq 中断。

0 Kudos
Reply

355 Views
wuliu24685
Contributor I

内核版本:5.10
DPDK版本:19.11

 

跑示例l3fwd-power,需要配置那些参数?

0 Kudos
Reply