git: bc1023849256 - main - mlx5: overwrite only the echo reply timestamp from the last packet in LRO
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Mar 2025 16:03:22 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=bc1023849256b786fd21aad06a1a1b577c5dbd9d
commit bc1023849256b786fd21aad06a1a1b577c5dbd9d
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-02-10 04:35:55 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-03-13 16:01:05 +0000
mlx5: overwrite only the echo reply timestamp from the last packet in LRO
Reviewed by: Ariel Ehrenberg <aehrenberg@nvidia.com>, Slava Shwartsman <slavash@nvidia.com>
Sponsored by: NVidia networking
MFC after: 1 week
---
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c b/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
index a9b3a883f32d..11f60d33bb74 100644
--- a/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
+++ b/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
@@ -218,7 +218,6 @@ mlx5e_lro_update_hdr(struct mbuf *mb, struct mlx5_cqe64 *cqe)
* [0-31] - timestamp.
* [32-64] - timestamp echo replay.
*/
- ts_ptr[1] = *(uint32_t *)&cqe->timestamp;
ts_ptr[2] = *((uint32_t *)&cqe->timestamp + 1);
}
}