[dpdk-dev] Fwd: How to check the packets dropped by RED in DPDK?

Gokul Bargaje gokulbargaje.182009 at nitk.edu.in
Mon Jan 6 11:24:25 CET 2020


Hi All,

I am running the qos_sched sample application to see the RED packet drop. I
am generating the traffic and sending the traffic via qos_sched
application. As a result,
1. The application is showing the packet drop which is so high as shown in
the below figure.
2. How to determine that the packets are dropped by the RED or TAIL drop
method?

Following is the output I am getting from an application on every second.

*_______________________________________________*







*RX port 1: rx: 22954 err: 0  no_mbuf: 0TX port 0: tx: 1088    err:
0-------------+----------------+----------------+                |
 received     |   dropped
|-------------+----------------+----------------+     RX       |     20476
   |          0         |QOS+TX  |     20476    |         0          |
pps:1093--------------+---------------+-----------------+*
_______________________________________________
I have enabled RED from the configuration file by enabling following flags.

*CONFIG_RTE_SCHED_RED=yCONFIG_RTE_SCHED_COLLECT_STATS=y*

Please do help if you can.

Thank you,
Gokul


More information about the dev mailing list