IB/mlx5: Report mlx5 multi packet WQE caps during query

The capabilities whether hardware support multi packet WQE or not is
exposed to user space through query_device by uhw.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Bodong Wang
2016-10-31 12:15:21 +02:00
committed by Doug Ledford
parent c226dc22ec
commit 191ded4a4d
2 changed files with 13 additions and 0 deletions

View File

@@ -129,6 +129,8 @@ struct mlx5_ib_query_device_resp {
__u32 response_length;
struct mlx5_ib_tso_caps tso_caps;
struct mlx5_ib_rss_caps rss_caps;
__u32 mlx5_ib_support_multi_pkt_send_wqes;
__u32 reserved;
};
struct mlx5_ib_create_cq {