[openib-general][PATCH][mthca]: arbel/tavor calls

Guy German guyg at voltaire.com
Mon Aug 15 05:22:06 PDT 2005


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

Signed-off-by: Guy German <guyg at voltaire.com>

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));
 }



More information about the general mailing list