summaryrefslogtreecommitdiff
path: root/include/linux/mlx4/qp.h
diff options
context:
space:
mode:
authorSean Hefty <sean.hefty@intel.com>2011-06-02 22:32:15 +0400
committerRoland Dreier <roland@purestorage.com>2011-10-13 20:44:18 +0400
commit0a1405da9952a72dd587829a3321695adde7dca1 (patch)
treeb22e101a1555a65b2f9c75fa1315f51a8c5f5f7e /include/linux/mlx4/qp.h
parent18abd5ea571608a7c726fc56e21d3e31f9febfd0 (diff)
downloadlinux-0a1405da9952a72dd587829a3321695adde7dca1.tar.xz
IB/mlx4: Add support for XRC QPs
Support the creation of XRC INI and TGT QPs. To handle the case where a CQ or PD is not provided, we allocate them internally with the xrcd. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx4/qp.h')
-rw-r--r--include/linux/mlx4/qp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h
index 4001c8249dbb..48cc4cb97858 100644
--- a/include/linux/mlx4/qp.h
+++ b/include/linux/mlx4/qp.h
@@ -75,6 +75,7 @@ enum {
MLX4_QP_ST_UC = 0x1,
MLX4_QP_ST_RD = 0x2,
MLX4_QP_ST_UD = 0x3,
+ MLX4_QP_ST_XRC = 0x6,
MLX4_QP_ST_MLX = 0x7
};
@@ -137,7 +138,7 @@ struct mlx4_qp_context {
__be32 ssn;
__be32 params2;
__be32 rnr_nextrecvpsn;
- __be32 srcd;
+ __be32 xrcd;
__be32 cqn_recv;
__be64 db_rec_addr;
__be32 qkey;