diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2007-06-21 12:27:47 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-12 15:41:00 -0700 |
commit | 6a775e2ba4f7635849ade628e64723ab2beef0bc (patch) | |
tree | 3c80d06d5f2f7135c81dddc2dcd6e536f9ecf22d /include/linux/mlx4 | |
parent | 6164c8cd1333403a28202f7c7e64ff9086d8f1aa (diff) | |
download | op-kernel-dev-6a775e2ba4f7635849ade628e64723ab2beef0bc.zip op-kernel-dev-6a775e2ba4f7635849ade628e64723ab2beef0bc.tar.gz |
IB/mlx4: Implement query QP
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/qp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h index 10c57d2..3968b94 100644 --- a/include/linux/mlx4/qp.h +++ b/include/linux/mlx4/qp.h @@ -282,6 +282,9 @@ int mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp); +int mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp, + struct mlx4_qp_context *context); + static inline struct mlx4_qp *__mlx4_qp_lookup(struct mlx4_dev *dev, u32 qpn) { return radix_tree_lookup(&dev->qp_table_tree, qpn & (dev->caps.num_qps - 1)); |