嵌入式爱好者

查看: 3738|回复: 1

[Ubuntu] dpdk 2层转发 出错

[复制链接]

5

主题

7

帖子

35

积分

扫一扫,手机访问本帖
发表于 2022-8-11 15:25:32 | 显示全部楼层 |阅读模式
在LS1046板子上跑dpdk的l2fwd程序时,开启4个端口出错,不知道什么原因


我执行的命令:./l2fwd -c 0xf -n 1 -- -p 0xf -q 1 --no-mac-updating

回复

使用道具 举报

5

主题

7

帖子

35

积分

 楼主| 发表于 2022-8-11 15:28:20 | 显示全部楼层
root@localhost:~# ./l2fwd_port -c 0xf -n 1 -- -p 0xf -q 1 --no-mac-updating
EAL: Detected 4 lcore(s)
EAL: DPAA Bus Detected
EAL: Probing VFIO support...
EAL: VFIO support initialized
PMD: net: dpaa: fm1-mac2: 36:7a:06:0a:a4:1c
PMD: net: dpaa: fm1-mac3: 7e:93:4c:b0:c4:f7
PMD: net: dpaa: fm1-mac4: c6:d7:a8:99:ff:84
PMD: net: dpaa: fm1-mac5: 8a:83:cf:91:b7:4d
PMD: net: dpaa: fm1-mac6: 6e:2d:b3:d1:76:9d
PMD: net: dpaa: fm1-mac9: 02:49:01:01:9f:d4
PMD: net: dpaa: fm1-mac10: 82:70:a7:ec:e1:3d
PMD: dpaa_sec-7 cryptodev init
PMD: dpaa_sec-8 cryptodev init
PMD: dpaa_sec-9 cryptodev init
PMD: dpaa_sec-10 cryptodev init
debug: p = 0xf, port mask=15
MAC updating disabled
Lcore 0: RX port 0
Lcore 1: RX port 1
Lcore 2: RX port 2
Lcore 3: RX port 3
Initializing port 0... done:
Port 0, MAC address: 36:7A:06:0A:A4:1C

Initializing port 1... done:
Port 1, MAC address: 7E:93:4C:B0:C4:F7

Initializing port 2... done:
Port 2, MAC address: C6:D7:A8:99:FF:84

Initializing port 3... done:
Port 3, MAC address: 8A:83:CF:91:B7:4D

Skipping disabled port 4
Skipping disabled port 5
Skipping disabled port 6

Checking link statusdone
Port0 Link Up. Speed 1000 Mbps - full-duplex
Port1 Link Up. Speed 1000 Mbps - full-duplex
Port2 Link Up. Speed 1000 Mbps - full-duplex
Port3 Link Up. Speed 1000 Mbps - full-duplex
L2FWD: entering main loop on lcore 1
L2FWD:  -- lcoreid=1 portid=1
L2FWD: entering main loop on lcore 2
L2FWD:  -- lcoreid=2 portid=2
L2FWD: entering main loop on lcore 3
L2FWD:  -- lcoreid=3 portid=3
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal
dpaa_eth_queue_portal_rx(): Failure in affining portal -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd_port: process_portal_map(): Unknown error -1
dpaa: Unable to alloc fq portal


这是执行输出的信息
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-24 06:48

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表