[openib-general] SDP: device mthca0 does not support fast memory regions

Libor Michalek libor at topspin.com
Thu Jun 16 11:12:55 PDT 2005


On Wed, Jun 15, 2005 at 04:30:47PM -0500, Troy Benjegerdes wrote:
> I'm getting a 'SDP: device mthca0 does nto support fast memory regions'
> error on PPC64 systems.. Is there something that needs to be done for
> PPC, or could I have an older version of the mthca module hanging
> around?

  I'm not sure about the state or plans for FMR support on PPC64, Roland
will have a better idea. 

  I have not added support for AIO when FMRs are disabled, but if you are
not using AIO, then the following patch should be sufficient. Currently
the AIO code path assumes that there is a valid fmr_pool, I'll need to
fix this so that we gracefully fall back to copy mode when fmr registration
fails. 

-Libor

Index: sdp_conn.c
===================================================================
--- sdp_conn.c	(revision 2628)
+++ sdp_conn.c	(working copy)
@@ -1857,9 +1857,8 @@
 	 */
 	hca->fmr_pool = ib_create_fmr_pool(hca->pd, &fmr_param_s);
 	if (IS_ERR(hca->fmr_pool)) {
-		sdp_warn("Error <%ld> creating HCA <%s> fast memory pool",
-			 PTR_ERR(hca->fmr_pool), device->name);
-		goto error;
+		sdp_warn("Warning, could not creating HCA <%s> FMR pool <%ld>",
+			 device->name, PTR_ERR(hca->fmr_pool));
 	}
 	/*
 	 * port allocation



More information about the general mailing list