git: d6c9a0849737 - stable/15 - mlx5ib: use the hardware Toeplitz id when creating an RSS TIR
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Sep 2026 00:45:07 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=d6c9a0849737f59b6eff242302ae735736c186ab
commit d6c9a0849737f59b6eff242302ae735736c186ab
Author: Ariel Ehrenberg <aehrenberg@nvidia.com>
AuthorDate: 2026-09-02 13:12:32 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-09-14 00:44:41 +0000
mlx5ib: use the hardware Toeplitz id when creating an RSS TIR
(cherry picked from commit 36256f77c7de2bbfdff6922648f4d445d7212dc2)
---
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c b/sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
index a504f1ff1788..d4b59bbee274 100644
--- a/sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
+++ b/sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
@@ -1448,7 +1448,8 @@ static int create_rss_raw_qp_tir(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp,
goto err;
}
- MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FUNC_TOEPLITZ);
+ MLX5_SET(tirc, tirc, rx_hash_fn,
+ MLX5_TIRC_RX_HASH_FN_HASH_TOEPLITZ);
memcpy(rss_key, ucmd.rx_hash_key, len);
break;
}