I think there is a call to Arbel's function instead the general func, 
in mthca_free_region. 

Signed-off-by: Guy German <[EMAIL PROTECTED]>

Index: mthca_mr.c
===================================================================
--- mthca_mr.c  (revision 3085)
+++ mthca_mr.c  (working copy)
@@ -459,7 +459,7 @@ int mthca_mr_alloc_phys(struct mthca_dev
 static void mthca_free_region(struct mthca_dev *dev, u32 lkey)
 {
        mthca_table_put(dev, dev->mr_table.mpt_table,
-                       arbel_key_to_hw_index(lkey));
+                       key_to_hw_index(dev, lkey));
 
        mthca_free(&dev->mr_table.mpt_alloc, key_to_hw_index(dev, lkey));
 }
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to