opensubscriber
   Find in this group all groups
 
Unknown more information…

o : openib-general@openib.org 28 February 2007 • 4:26AM -0500

Re: [openib-general] failure to create an FMR mapping 1K pages on memfree
by Or Gerlitz

REPLY TO AUTHOR
 
REPLY TO GROUP




On 2/27/07, Roland Dreier <rdreier@cisc...> wrote:
> Is it really returning -ENOMEM?  It seems much more likely that you
> are hitting the code
>
>         /* For Arbel, all MTTs must fit in the same page. */
>         if (mthca_is_memfree(dev) &&
>             mr->attr.max_pages * sizeof *mr->mem.arbel.mtts > PAGE_SIZE)
>                 return -EINVAL;
>
> I guess you could call this limit a driver design issue.

Indeed, sorry for the in accorate description, mthca_fmr_alloc returns
-EINVAL and the fmr pool code returns -ENOMEM. Thanks for the
clarification.

Or.

_______________________________________________
openib-general mailing list
openib-general@open...
http://openib.org/mailman/listinfo/openib-general

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

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.