]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[hermon] Minimise the number of VPM mapping operations
authorMichael Brown <mcb30@ipxe.org>
Sat, 18 Sep 2010 21:37:54 +0000 (22:37 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sat, 18 Sep 2010 22:20:50 +0000 (23:20 +0100)
commit92ced720802e6ae91acfbd54a6be0493c16d81d1
treeef0e319ae1e9d0173f4eb727b93cf5534d4b6239
parent8cd2b170b6e1371b80de91496fa28dd91260b0e5
[hermon] Minimise the number of VPM mapping operations

Mapping a single page at a time causes a several-second delay at
device initialisation time.  Reduce this by mapping multiple pages at
a time, using the largest block sizes possible given the alignment
constraints.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/hermon.c