]> err.no Git - linux-2.6/commit
mlx4_core: Support creation of FMRs with pages smaller than 4K
authorOren Duer <oren@mellanox.co.il>
Mon, 5 May 2008 22:56:52 +0000 (15:56 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 5 May 2008 22:56:52 +0000 (15:56 -0700)
commitc5057ddccbcb4bf363af628d7963a7475f4114a7
tree4f304c61335dc607d51e6b242d058c430388708e
parentcf04690885972eaba830ee761de545a6956197e6
mlx4_core: Support creation of FMRs with pages smaller than 4K

Don't hard code a test against a minimum page shift of 12, since the
device may support smaller pages.  Test against the actual smallest
page size from the device capabilities.

Signed-off-by: Oren Duer <oren@mellanox.co.il>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/mr.c