Skip to contentSkip to conversation

How to check the packets dropped by RED in DPDK?

dpdk-dev Gokul Bargaje 1 participant 2 messages Jan 6, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

#2 lore raw

Correcting the 'packet drop' mentioned in the previous mail.

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

pps:1093--------------+---------------+-----------------+*
_______________________________________________
I have enabled RED from the configuration file by enabling following flags.

*CONFIG_RTE_SCHED_RED=y*
*CONFIG_RTE_SCHED_COLLECT_STATS=y*

Please do help if you can.

Thank you,
Gokul