LS1046A DPDK l3fwd problem

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

LS1046A DPDK l3fwd problem

2,027 Views
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 Kudos
Reply
2 Replies

2,003 Views
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 Kudos
Reply

1,997 Views
BigOrangecat
Contributor II

thank you for your answering of the question.

0 Kudos
Reply