mlx4_core: For 64-bit systems, vmap() kernel queue buffers
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Mon, 28 Jan 2008 08:40:51 +0000 (10:40 +0200)
committerRoland Dreier <rolandd@cisco.com>
Thu, 7 Feb 2008 05:17:45 +0000 (21:17 -0800)
Since kernel virtual memory is not a problem on 64-bit systems, there
is no reason to use our own 2-layer page mapping scheme for large
kernel queue buffers on such systems.  Instead, map the page list to a
single virtually contiguous buffer with vmap(), so that can we access
buffer memory via direct indexing.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found