Hardware time stamp mismatch Connectx 5

Hello everyone,

I have created a DPDK (21.11) capture application in linux that reads the hardware timestamp of received packets but, for instance, if I do a capture of 1 minute and I calculate the difference of timestamps from the last received packet and the first packet, I get a duration around 10 seconds. I transmit traffic all time so I expected that the timestamp difference should be of 1 minute. Why could it be happening?



The problem is that the returned timestamp is in raw format. I used the function use mlx5dv_ts_to_ns to convert the timestamp to ns