[openib-general] failure to create an FMR mapping 1K pages on memfree

Or Gerlitz or.gerlitz at gmail.com
Tue Feb 27 12:26:32 PST 2007


On 2/27/07, Roland Dreier <rdreier at cisco.com> 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.




More information about the general mailing list