git: 6148777d8692 - stable/13 - mlx5en(4): Explain why CQE zipping is off.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Apr 2023 06:58:11 UTC
The branch stable/13 has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=6148777d8692c4f31df011babe4deb16f308292b
commit 6148777d8692c4f31df011babe4deb16f308292b
Author: Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2023-04-18 11:12:32 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2023-04-30 06:56:19 +0000
mlx5en(4): Explain why CQE zipping is off.
Sponsored by: NVIDIA Networking
(cherry picked from commit 6bd4bb9bdbadb76c5502c7972df9f525b909e2f5)
---
sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
index 7b754d901beb..97dcc04d7ae8 100644
--- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
@@ -3841,9 +3841,10 @@ mlx5e_build_ifp_priv(struct mlx5_core_dev *mdev,
priv->params.lro_wqe_sz = MLX5E_PARAMS_DEFAULT_LRO_WQE_SZ;
/*
- * CQE zipping is currently defaulted to off. when it won't
- * anymore we will consider the HW capability:
- * "!!MLX5_CAP_GEN(mdev, cqe_compression)"
+ * CQE zipping is off, because the per-packet 32-bit Toeplitz hash
+ * is then not supported. The 32-bit Toeplitz hash is needed to
+ * correctly demultiplex incoming traffic into the expected
+ * network queues.
*/
priv->params.cqe_zipping_en = false;