Is there any way to disable congestion management while using DPAA at T4240rdb with SDK 1.9 .
My problem is after an ingress packet rate, the forwarding packet rate of T4240 is dropping dramatically.
I suspect there is an congestion control for the ingress traffic and this is the reason of performance degradation.
Any help will be appreciated.
Best regards
Hello Sedat Altun,
Please configure FSL_DPAA_INGRESS_CS_THRESHOLD in Kernel configuration file.
This parameter is Ingress congestion threshold on FMAN ports. The size in bytes of the ingress tail-drop threshold on FMan ports. Defaults to 0x10000000. Traffic piling up above this value will be rejected by QMan and discarded by FMan.
In addition, please check the congestion information with debugfs.
# mount -t debugfs none /sys/kernel/debug/
root@p4080ds:~# cat /sys/kernel/debug/fsl_dpa/eth0
DPA counters for fm1-gb1:
CPU irqs rx tx recycle confirm tx sg tx err ...
0/0 5 2 2 0 3 0 0
1/1 6 2 0 0 4 0 0
2/2 6 5 4 0 1 0 0
3/3 6 2 1 0 4 0 0
4/4 6 5 12 0 1 0 0
5/5 6 2 0 0 4 0 0
6/6 6 4 3 0 2 0 0
7/7 6 3 0 0 3 0 0
Total 47 25 22 0 22 0 0
Device congestion stats:
Device has been congested for 0 ms.
CGR id 0 avg count: 0
Device entered congestion 0 times. Current congestion state is: not congested.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------