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

2020-01-06 Thread Gokul Bargaje
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 pa

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

2020-01-06 Thread Gokul Bargaje
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

[dpdk-dev] How to get the current timestamp in milliseconds in the DPDK?

2019-11-12 Thread Gokul Bargaje
Hi Team, Like in Java, there is a method called getTimeInMillis() which returns the current timestamp in milliseconds. I want to know if there's a way to find out timestamp in milliseconds (or in Microseconds) in the C language or in the DPDK? I did some googling and I got the solution which retu

[dpdk-dev] What is the 'unit of timestamp' assigned to mbuf packet in DPDK?

2019-11-18 Thread Gokul Bargaje
Hi, The timestamp assigned to packet at the time of enqueue (value of timestamp field in mbuf), is it in milliseconds or microseconds or in cpu cycles? How this timestamp is calculated? Is it calculated using the *rte_cycles.h*? Thanks in advance! --Gokul

Re: [dpdk-dev] [dpdk-users] What is the 'unit of timestamp' assigned to mbuf packet in DPDK?

2019-11-22 Thread Gokul Bargaje
calculate the total time spent by the packet waiting in queue (i.e. the difference between enqueue time and dequeue time). Thanks, Gokul On Fri, Nov 22, 2019 at 8:18 PM Ferruh Yigit wrote: > On 11/18/2019 2:29 PM, Gokul Bargaje wrote: > > Hi, > > > > The timestamp assigned to