Does DPAA driver in dpdk of LS1046ardb Kit drop receive packet if the checksum of UDP data is wrong?
if so, How do i disable it ??
Solved! Go to Solution.
Yes, it will drop it by default. The dpaa_ethdev.c has code (just make sure you have latest code):
if (getenv("DPAA_GET_ERROR_PACKETS_IN_APP"))
fman_if_receive_rx_errors(fman_intf,
FM_FD_RX_STATUS_ERR_MASK);
else
fman_if_discard_rx_errors(fman_intf);
Please set the env variable as : “export DPAA_GET_ERROR_PACKETS_IN_APP=1” before running DPDK application.
Yes, it will drop it by default. The dpaa_ethdev.c has code (just make sure you have latest code):
if (getenv("DPAA_GET_ERROR_PACKETS_IN_APP"))
fman_if_receive_rx_errors(fman_intf,
FM_FD_RX_STATUS_ERR_MASK);
else
fman_if_discard_rx_errors(fman_intf);
Please set the env variable as : “export DPAA_GET_ERROR_PACKETS_IN_APP=1” before running DPDK application.
Please use DPDK source code provided in LSDK 20.12 release.
what version ? where can i get this dpdk version?