[PATCH] net/mlx5: add timestamp ascending order error statistics

Raslan Darawsheh rasland at nvidia.com
Mon Jun 19 11:07:19 CEST 2023


Hi,

> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> Sent: Thursday, April 20, 2023 11:19 AM
> To: dev at dpdk.org
> Subject: [PATCH] net/mlx5: add timestamp ascending order error statistics
> 
> The ConnectX NICs support packet send scheduling on specified moment of
> time. Application can set the desired timestamp value in dynamic mbuf field
> and driver will push the special WAIT WQE to the hardware queue in order to
> suspend the entire queue operations till the specified time moment, then PMD
> pushes the regular WQE for packet sending.
> 
> In the following packets the scheduling can be requested again, with different
> timestamps, and driver pushes WAIT WQE accordingly.
> The timestamps should be provided by application in ascending order as
> packets are queued to the hardware queue, otherwise hardware would not be
> able to perform scheduling correctly - it discovers the WAIT WQEs in order as
> they were pushed, there is no any reordering - neither in PMD, not in the NIC,
> and, obviously, the regular hardware can't work as time machine and wait for
> some elapsed moment in the past.
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list