diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2006-02-27 01:05:59 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 19:08:17 +0100 |
commit | 1d89b1ae6c203bc68a3f424be144abcdf62773c9 (patch) | |
tree | 9d1979c98843ba7d18f6272f13ea06c2591ee8d5 /drivers/infiniband/hw/mthca/mthca_provider.c | |
parent | IB/mthca: Write FW commands through doorbell page (diff) | |
download | linux-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.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) 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) { |