packets are discarded by ls1043

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

packets are discarded by ls1043

336 Views
flymice
Contributor I
I'm developing a board useing LS1043A,the lsdk is 19.06. The board has 7 ports just like LS1043ARDB. When I use IXIA to test packet forwarding between fm1-mac1 and fm1-mac2, some packets lost. The topology of my test is: IXIA port1 -- fm1-mac1, IXIA port2 -- fm1-mac2, IXIA port1 and port2 send packets which length is 64 bytes. port1 receive packets sent by port2, and port2 recieve pakcets sent by port1. I use testpmd to do the test, the command is : testpmd -c 0xf -n 1 -- -i --portmask=0x3f --nb-core=3 --coremask=0xe I checked the statistics of the ports: fm0-port-rx2 counter: 14236221 fm0-port-rx2 counter: 14236221 fm0-port-rx2 counter: 128736103 fm0-port-rx2 counter: 128736103 fm0-port-rx2 counter: 0 fm0-port-rx2 counter: 0 The value of port_dealloc_buf and port_discard_frame is equal to the lost packetes. My question is: what do port_dealloc_buf and port_discard_frame mean? How can I solve this problem?
0 Kudos
1 Reply

324 Views
bpe
NXP Employee
NXP Employee

 

port_dealloc_buf reflects BMI RBDC port_discard_frame reflects RFDC. You can find a
description of these registers in LS1043ADPAARM, Sections 5.5.4.5.30 and 5.5.4.5.33
The most likely reason for these counters growth is that you are simply hitting
the application throughput limit. Additional details can be found in the same document
Sections 5.5.6.8 and 3.3.14. Suggestions for DPDK performance tuning are
provided in the online documentation:

https://docs.nxp.com/bundle/GUID-C3A436DA-E944-4F73-9811-2335DEBD04D6/page/GUID-AD9EFB28-7C53-4D17-B...

 

Hope this helps,
Platon

0 Kudos