Re: [PATCH v2 net-next 2/4] vmxnet3: add latency measurement support in vmxnet3

From: Simon Horman
Date: Wed Jun 05 2024 - 10:24:09 EST


On Fri, May 31, 2024 at 12:30:47PM -0700, Ronak Doshi wrote:
> This patch enhances vmxnet3 to support latency measurement.
> This support will help to track the latency in packet processing
> between guest virtual nic driver and host. For this purpose, we
> introduce a new timestamp ring in vmxnet3 which will be per Tx/Rx
> queue. This ring will be used to carry timestamp of the packets
> which will be used to calculate the latency.
>
> User can enable latency measurement using realtime knob in vnic
> setting in VCenter.
>
> Signed-off-by: Ronak Doshi <ronak.doshi@xxxxxxxxxxxx>
> Acked-by: Guolin Yang <guolin.yang@xxxxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>