]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx4_core: set used number of MTTs when using auto-detection
authorDotan Barak <dotanb@dev.mellanox.co.il>
Tue, 21 Aug 2012 09:11:31 +0000 (12:11 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:04 +0000 (14:45 -0700)
commit7d636db2af768fe4500b4eaae20fc61dfcd03215
tree2e0b80008a77c9524af411bebc094786b28939bf
parentb156fc35bfdfe622183a1b8fff7596cb09b3aa29
net/mlx4_core: set used number of MTTs when using auto-detection

Issue 31158.

If we set the number of MTTs automatically by the driver (default
value or auto-detection, by the memory size in the machine), need
to set the used value of the MTTs, so the user will see this value.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
(Ported from Mellanox OFED 2.4)

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