summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_provider.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@mellanox.co.il>2006-02-27 01:05:59 +0100
committerRoland Dreier <rolandd@cisco.com>2006-03-20 19:08:17 +0100
commit1d89b1ae6c203bc68a3f424be144abcdf62773c9 (patch)
tree9d1979c98843ba7d18f6272f13ea06c2591ee8d5 /drivers/infiniband/hw/mthca/mthca_provider.c
parentIB/mthca: Write FW commands through doorbell page (diff)
downloadlinux-1d89b1ae6c203bc68a3f424be144abcdf62773c9.tar.xz
linux-1d89b1ae6c203bc68a3f424be144abcdf62773c9.zip
IB/mthca: Implement query_ah method
Implement query_ah (except for AVs which are in HCA memory). This is needed to implement RMPP duplicate session detection on sending side (extraction of DGID/DLID and GRH flag from address handle). Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_provider.c')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_provider.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_provider.c b/drivers/infiniband/hw/mthca/mthca_provider.c
index 084bea592df5..2c250bc11c33 100644
--- a/drivers/infiniband/hw/mthca/mthca_provider.c
+++ b/drivers/infiniband/hw/mthca/mthca_provider.c
@@ -1289,6 +1289,7 @@ int mthca_register_device(struct mthca_dev *dev)
dev->ib_dev.alloc_pd = mthca_alloc_pd;
dev->ib_dev.dealloc_pd = mthca_dealloc_pd;
dev->ib_dev.create_ah = mthca_ah_create;
+ dev->ib_dev.query_ah = mthca_ah_query;
dev->ib_dev.destroy_ah = mthca_ah_destroy;
if (dev->mthca_flags & MTHCA_FLAG_SRQ) {