diff options
author | Bodong Wang <bodong@mellanox.com> | 2017-08-17 15:52:34 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-24 17:47:35 -0400 |
commit | 795b609c8b59f8f20fa9d72bf8b4ae3b8aa5582c (patch) | |
tree | b7c0580ff6d1acf73e06182ea6a5a6fed3f8a60f /include/linux | |
parent | a550ddfc543e250798048cf4eabe721cd85ac724 (diff) | |
download | linux-stable-795b609c8b59f8f20fa9d72bf8b4ae3b8aa5582c.tar.gz linux-stable-795b609c8b59f8f20fa9d72bf8b4ae3b8aa5582c.tar.bz2 linux-stable-795b609c8b59f8f20fa9d72bf8b4ae3b8aa5582c.zip |
IB/mlx5: Allow posting multi packet send WQEs if hardware supports
Set the field to allow posting multi packet send WQEs if hardware
supports this feature. This doesn't mean the send WQEs will be for
multi packet unless the send WQE was prepared according to multi
packet send WQE format.
User space shall use flag MLX5_IB_ALLOW_MPW to check if hardware
supports MPW and allows MPW in SQ context.
Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 6563500c85de..6865e60ba473 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -2445,7 +2445,7 @@ struct mlx5_ifc_sqc_bits { u8 cd_master[0x1]; u8 fre[0x1]; u8 flush_in_error_en[0x1]; - u8 reserved_at_4[0x1]; + u8 allow_multi_pkt_send_wqe[0x1]; u8 min_wqe_inline_mode[0x3]; u8 state[0x4]; u8 reg_umr[0x1]; |