LS1046A DPDK l3fwd problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1046A DPDK l3fwd problem

2,041件の閲覧回数
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,017件の閲覧回数
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,011件の閲覧回数
BigOrangecat
Contributor II

thank you for your answering of the question.

0 件の賞賛
返信