|
@@ -805,6 +805,11 @@ static int mlx5_ib_query_device(struct ib_device *ibdev,
|
|
|
if (MLX5_CAP_ETH(mdev, multi_pkt_send_wqe))
|
|
|
resp.mlx5_ib_support_multi_pkt_send_wqes =
|
|
|
MLX5_IB_ALLOW_MPW;
|
|
|
+
|
|
|
+ if (MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe))
|
|
|
+ resp.mlx5_ib_support_multi_pkt_send_wqes |=
|
|
|
+ MLX5_IB_SUPPORT_EMPW;
|
|
|
+
|
|
|
resp.response_length +=
|
|
|
sizeof(resp.mlx5_ib_support_multi_pkt_send_wqes);
|
|
|
}
|