aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <konstantinb@nvidia.com>2021-04-06 03:26:47 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-07-12 09:34:37 +0000
commit8b8c71d7ac31140277ab0383d22e6cb5c2d779d4 (patch)
tree83628b4d884af5883c122e88d309257ab96a48bd
parentbc56a8f9e7abc20820757298cbb32c4aaa4fc0bc (diff)
downloadsrc-8b8c71d7ac31140277ab0383d22e6cb5c2d779d4.tar.gz
src-8b8c71d7ac31140277ab0383d22e6cb5c2d779d4.zip
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
-rw-r--r--sys/dev/mlx5/mlx5_en/en.h2
1 files changed, 1 insertions, 1 deletions
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 \