LS1046 DPDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1046 DPDK

766 次查看
dah
Contributor I

In the case of Layer 2 forwarding in dpdk, only IPv4 or IPv6 type packets can be received, and ARP packets cannot be received. However, ARP packets can be counted through TestPMD. Is it possible that FMAN in DPAA filters out non-IP packets?

0 项奖励
回复
1 回复

751 次查看
yipingwang
NXP TechSupport
NXP TechSupport

We have verified that the ARP packets can be forwarded by the DPDK application l2fwd.

root@ls1046ardb:/usr/share/dpdk/examples# ./l2fwd -c 0x8 -- -p 0x20
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 0002:01:00.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 8086:10d3 net_e1000_em
EAL: DPAA Bus Detected
PMD: Using FMC script mode,RXQs will be setup according to FMC configuration
PMD: net: dpaa: fm1-mac3: 00:e0:0c:00:10:00
PMD: net: dpaa: fm1-mac4: 00:e0:0c:00:10:01
PMD: net: dpaa: fm1-mac5: 00:e0:0c:00:10:02
PMD: net: dpaa: fm1-mac6: 00:e0:0c:00:10:03
PMD: net: dpaa: fm1-mac9: 00:e0:0c:00:10:04
PMD: net: dpaa: fm1-mac10: 00:e0:0c:00:10:05
PMD: dpaa_sec-1 cryptodev init
PMD: dpaa_sec-2 cryptodev init
PMD: dpaa_sec-3 cryptodev init
PMD: dpaa_sec-4 cryptodev init
MAC updating enabled
Notice: odd number of ports in portmask.
Lcore 3: RX port 5
Skipping disabled port 0
Skipping disabled port 1
Skipping disabled port 2
Skipping disabled port 3
Skipping disabled port 4
Initializing port 5... done:
Port 5, MAC address: 00:E0:0C:00:10:05
 

Checking link status.done
Port5 Link Up. Speed 10000 Mbps - full-duplex
L2FWD: entering main loop on lcore 3
L2FWD: -- lcoreid=3 portid=5
 
Port statistics ====================================
Statistics for port 5 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
 
Port statistics ====================================
Statistics for port 5 ------------------------------
Packets sent: 30
Packets received: 30
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 30
Total packets received: 30
Total packets dropped: 0
====================================================
 
Port statistics ====================================
Statistics for port 5 ------------------------------
Packets sent: 30
 
0 项奖励
回复