diff options
author | Sean Hefty <sean.hefty@intel.com> | 2011-06-02 18:32:15 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-10-13 16:44:18 (GMT) |
commit | 0a1405da9952a72dd587829a3321695adde7dca1 (patch) | |
tree | b22e101a1555a65b2f9c75fa1315f51a8c5f5f7e /include/linux/mlx4 | |
parent | 18abd5ea571608a7c726fc56e21d3e31f9febfd0 (diff) | |
download | linux-fsl-qoriq-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')
-rw-r--r-- | include/linux/mlx4/qp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h index 4001c82..48cc4cb 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; |