[rds-devel] Re: [PATCH bugfix] rds/ib: correlate max pages per fmr to the fmr page shift

Olaf Kirch olaf.kirch at oracle.com
Tue Jan 22 11:01:25 PST 2008


On Monday 14 January 2008 13:41, Or Gerlitz wrote:
> Correlate the maximum number of "pages" an fmr should map to page shift used with
> this pool, make the value of the fmr_message size module param and the RDS_FMR_SIZE
> constant value to reflect the semantics of being the maximum size of an RDMA transfer.
> 
> The current code assumes that the fmr page shift is always 12 which means that
> without this patch on HCAs supporting smaller then 4K "page" (fmr chunks) sizes
> this test in ib_rdma.c/ib_map_fmr() would fail

I didn't take this patch (for now) because I'm using my own lightweight MR
pool now instead of fmr_pool.

Olaf
-- 
Olaf Kirch  |  --- o --- Nous sommes du soleil we love when we play
okir at lst.de |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax



More information about the rds-devel mailing list