net/mlx5_core: Fix configuration of log_uar_page_sz
authorEli Cohen <eli@dev.mellanox.co.il>
Wed, 11 Feb 2015 14:40:38 +0000 (16:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Feb 2015 03:42:23 +0000 (19:42 -0800)
commitde61390cb3e03186f85997fe08a11dcb9f7a01a3
treeb098e7409297f328ce863a9738ae5ae68fa3a2bc
parentf7d70f74811f5a522885b2962edeccb417e950c7
net/mlx5_core: Fix configuration of log_uar_page_sz

The current code failed to configure the page size for architectures with page
size different than 4K - PPC for example.

Signed-off-by: Carol L Soto <clsoto@us.ibm.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/main.c