git: 8b8c71d7ac31 - main - mlx5en: increase the limit MLX5E_MAX_TX_HEADER
Konstantin Belousov
kib at FreeBSD.org
Mon Jul 12 12:00:29 UTC 2021
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=8b8c71d7ac31140277ab0383d22e6cb5c2d779d4
commit 8b8c71d7ac31140277ab0383d22e6cb5c2d779d4
Author: Konstantin Belousov <konstantinb at nvidia.com>
AuthorDate: 2021-04-06 03:26:47 +0000
Commit: Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-07-12 09:34:37 +0000
mlx5en: increase the limit MLX5E_MAX_TX_HEADER
to accomodate for large inline headers for VxLAN TX
Reviewed by: hselasky
Sponsored by: Mellanox Technologies/NVidia Networking
MFC after: 1 week
---
sys/dev/mlx5/mlx5_en/en.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/mlx5/mlx5_en/en.h b/sys/dev/mlx5/mlx5_en/en.h
index 2ec47fa96a6d..86f44dda168c 100644
--- a/sys/dev/mlx5/mlx5_en/en.h
+++ b/sys/dev/mlx5/mlx5_en/en.h
@@ -125,7 +125,7 @@
#define MLX5E_SQ_TX_QUEUE_SIZE 4096 /* SQ drbr queue size */
#define MLX5E_MAX_TX_NUM_TC 8 /* units */
-#define MLX5E_MAX_TX_HEADER 128 /* bytes */
+#define MLX5E_MAX_TX_HEADER 192 /* bytes */
#define MLX5E_MAX_TX_PAYLOAD_SIZE 65536 /* bytes */
#define MLX5E_MAX_TX_MBUF_SIZE 65536 /* bytes */
#define MLX5E_MAX_TX_MBUF_FRAGS \
More information about the dev-commits-src-main
mailing list