LS1046A DPDK l3fwd problem

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

LS1046A DPDK l3fwd problem

2,034 次查看
BigOrangecat
Contributor II

I use the LS1046A to run DPDK example--l3fwd, the board can receive IP packets, it can also receive another Ethernet type packets, however, it will drop the packet excepted IP packet. I can not handle the other type of Ethernet packets. Shall I add the Ethernet type to a table in the program? where can I add the Ethernet type? Even the ARP can not be handled in the program. I want to handle EtherCAT packet, but failed.

0 项奖励
回复
2 回复数

2,010 次查看
bpe
NXP Employee
NXP Employee

l3fwd, as it's name suggests, uses L3 headers to make forwarding decisions.
The L3 protocols it supports are IPv4 and IPv6. This software is not suited for
handling other types of protocols, such as ARP, which is not strictly L3 or
EtherCAT which is L2. If you wish to handle other types of protocols, you
probably need to look at different DPDK applications or even create your own
from scratch. Everything depends on how you actually want to handle your ingress
egress traffic. If the task is just to make the node transparent to ARP,
you can take a look at l2fwd. As of EtherCAT, there is no support to it in
DPDK or LSDK at all.

Best Regards,
Platon

0 项奖励
回复

2,004 次查看
BigOrangecat
Contributor II

thank you for your answering of the question.

0 项奖励
回复