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

From: Jakub Kicinski
Date: Thu May 30 2024 - 21:10:06 EST


On Tue, 28 May 2024 16:39:04 -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.

How does the user access this functionality?
Please provide more info in the commit msg.

> + if (VMXNET3_VERSION_GE_9(adapter)) {
> + adapter->latencyConf = &adapter->tqd_start->tsConf.latencyConf;
> + }

unnecessary parenthesis, please fix all such cases in this set