summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDanit Goldberg <danitg@mellanox.com>2018-11-30 13:22:06 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-12-07 13:22:09 -0700
commit7e11b911b520de6a3189fafa94740f5fde2a2c98 (patch)
treed3d6848e71148a119b513db069f70d3387ad777b /include
parent569c665150156e44ecbd92af47a6d3fd4e2e4690 (diff)
downloadlinux-7e11b911b520de6a3189fafa94740f5fde2a2c98.tar.bz2
IB/mlx5: Report packet based credit mode device capability
Report packet based credit mode capability via the mlx5 DV interface. Signed-off-by: Danit Goldberg <danitg@mellanox.com> Reviewed-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/mlx5-abi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h
index 4af581170f62..87b3198f4b5d 100644
--- a/include/uapi/rdma/mlx5-abi.h
+++ b/include/uapi/rdma/mlx5-abi.h
@@ -237,6 +237,7 @@ enum mlx5_ib_query_dev_resp_flags {
/* Support 128B CQE compression */
MLX5_IB_QUERY_DEV_RESP_FLAGS_CQE_128B_COMP = 1 << 0,
MLX5_IB_QUERY_DEV_RESP_FLAGS_CQE_128B_PAD = 1 << 1,
+ MLX5_IB_QUERY_DEV_RESP_PACKET_BASED_CREDIT_MODE = 1 << 2,
};
enum mlx5_ib_tunnel_offloads {