udp checksum on rx packet of dpdk

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

udp checksum on rx packet of dpdk

ソリューションへジャンプ
592件の閲覧回数
rashmikj
Contributor III

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 ??

0 件の賞賛
1 解決策
580件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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.

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
581件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛
505件の閲覧回数
rashmikj
Contributor III

I am using latest dpdk available with LSDK. I checked the dpaa_ethdev.c file in dpdk. I didn't find the code as mentioned in your post. 

I have attached the dpaa_ethdev.c file .

There is no change in behaviour. It still drops the encrypted packet.

0 件の賞賛
494件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please use DPDK source code provided in LSDK 20.12 release.

0 件の賞賛
547件の閲覧回数
lxjlan
Contributor I

what version ? where can i get this dpdk version?

0 件の賞賛