git: 64f13da9dce6 - stable/13 - mlx5en: allow software parser for created send queues
Konstantin Belousov
kib at FreeBSD.org
Mon Jul 26 15:19:29 UTC 2021
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=64f13da9dce6803a16ccd0400f73369c68b5ccc9
commit 64f13da9dce6803a16ccd0400f73369c68b5ccc9
Author: Konstantin Belousov <konstantinb at nvidia.com>
AuthorDate: 2021-04-06 03:42:12 +0000
Commit: Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-07-26 13:51:10 +0000
mlx5en: allow software parser for created send queues
(cherry picked from commit 5e12b3bb43bcc4aacc859242d7a653e64d6b339a)
---
sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
index 1adf83cf57f9..92a7fc97279f 100644
--- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
@@ -1733,6 +1733,7 @@ mlx5e_enable_sq(struct mlx5e_sq *sq, struct mlx5e_sq_param *param,
MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST);
MLX5_SET(sqc, sqc, tis_lst_sz, 1);
MLX5_SET(sqc, sqc, flush_in_error_en, 1);
+ MLX5_SET(sqc, sqc, allow_swp, 1);
MLX5_SET(wq, wq, wq_type, MLX5_WQ_TYPE_CYCLIC);
MLX5_SET(wq, wq, uar_page, sq->priv->bfreg.index);
More information about the dev-commits-src-all
mailing list