diff options
author | Konstantin Belousov <konstantinb@nvidia.com> | 2021-04-06 03:42:12 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-07-12 09:34:37 +0000 |
commit | 5e12b3bb43bcc4aacc859242d7a653e64d6b339a (patch) | |
tree | 8b073202afd04637553974619ae82e2d033f1dcf | |
parent | 861a612d7bad4812630c9be55e7b59d8fe2cfa18 (diff) | |
download | src-5e12b3bb43bcc4aacc859242d7a653e64d6b339a.tar.gz src-5e12b3bb43bcc4aacc859242d7a653e64d6b339a.zip |
mlx5en: allow software parser for created send queues
Reviewed by: hselasky
Sponsored by: Mellanox Technologies/NVidia Networking
MFC after: 1 week
-rw-r--r-- | sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |