]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_ib: Use optimal numbers of MTT entries.
authorYishai Hadas <yishaih@mellanox.com>
Sun, 15 Apr 2012 14:57:24 +0000 (17:57 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:38:08 +0000 (14:38 -0700)
commitf2eb345800f194e109d5fedd99e3d6f883cf20c7
tree1edda1b1e5f1aad2a669b094ffe38194c74487da
parent1a3fdcc0e558395254ebb34d54fe4c538b8e7a85
mlx4_ib: Use optimal numbers of MTT entries.

Auto recognition of contiguous physical pages.
Reduce number of MTTs in MPT based on contiguous pages.
Considering alignment issues between virtual address
and physical ones.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/hw/mlx4/mr.c
include/linux/mlx4/device.h