Re: [PATCH net] gve: Check valid ts bit on RX descriptor before hw timestamping
From: Simon Horman
Date: Tue Oct 14 2025 - 08:56:10 EST
On Tue, Oct 14, 2025 at 12:47:39AM +0000, Harshitha Ramamurthy wrote:
> From: Tim Hostetler <thostet@xxxxxxxxxx>
>
> The device returns a valid bit in the LSB of the low timestamp byte in
> the completion descriptor that the driver should check before
> setting the SKB's hardware timestamp. If the timestamp is not valid, do not
> hardware timestamp the SKB.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: b2c7aeb49056 ("gve: Implement ndo_hwtstamp_get/set for RX timestamping")
> Reviewed-by: Joshua Washington <joshwash@xxxxxxxxxx>
> Signed-off-by: Tim Hostetler <thostet@xxxxxxxxxx>
> Signed-off-by: Harshitha Ramamurthy <hramamurthy@xxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>