]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx4_core: limit to 4TB of memory registration
authorYishai Hadas <yishaih@mellanox.com>
Mon, 19 Nov 2012 18:17:33 +0000 (20:17 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:03 +0000 (14:45 -0700)
commit80add058c4d2a4bb1caf0d050897811e121af197
treefbeed62e6628c3f8cb80f1d6ad1b94f59df1fd34
parentdc9a035610a00356ca297464824ca48c7b76dd13
net/mlx4_core: limit to 4TB of memory registration

we have a limit of log_num_mtt to 30 -> 4TB mapping.
limit comes from bit map operations which work with int.

V2: removed the change in file icm.c, as the fix was already
upstream.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/net/ethernet/mellanox/mlx4/main.c