diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2023-04-18 11:12:32 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2023-04-30 06:56:19 +0000 |
commit | 6148777d8692c4f31df011babe4deb16f308292b (patch) | |
tree | 20d14e507da3f2e8cca5a661595fcd355cc6d28b | |
parent | 61dd6a2ea1aa6349598bb1cc09976a4c76109ce7 (diff) | |
download | src-6148777d8692c4f31df011babe4deb16f308292b.tar.gz src-6148777d8692c4f31df011babe4deb16f308292b.zip |
mlx5en(4): Explain why CQE zipping is off.
Sponsored by: NVIDIA Networking
(cherry picked from commit 6bd4bb9bdbadb76c5502c7972df9f525b909e2f5)
-rw-r--r-- | sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 7 |
1 files 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; |