diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2006-02-26 19:05:59 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 13:08:17 -0500 |
commit | 1d89b1ae6c203bc68a3f424be144abcdf62773c9 (patch) | |
tree | 9d1979c98843ba7d18f6272f13ea06c2591ee8d5 /drivers/infiniband/hw/mthca/mthca_provider.c | |
parent | 14abdffcc0a0ca9c5bb3274648d073e09a6fd2ba (diff) |
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.c | 1 |
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) | |||
1289 | dev->ib_dev.alloc_pd = mthca_alloc_pd; | 1289 | dev->ib_dev.alloc_pd = mthca_alloc_pd; |
1290 | dev->ib_dev.dealloc_pd = mthca_dealloc_pd; | 1290 | dev->ib_dev.dealloc_pd = mthca_dealloc_pd; |
1291 | dev->ib_dev.create_ah = mthca_ah_create; | 1291 | dev->ib_dev.create_ah = mthca_ah_create; |
1292 | dev->ib_dev.query_ah = mthca_ah_query; | ||
1292 | dev->ib_dev.destroy_ah = mthca_ah_destroy; | 1293 | dev->ib_dev.destroy_ah = mthca_ah_destroy; |
1293 | 1294 | ||
1294 | if (dev->mthca_flags & MTHCA_FLAG_SRQ) { | 1295 | if (dev->mthca_flags & MTHCA_FLAG_SRQ) { |