OSDN Git Service

net/mlx5_core: Set log_uar_page_sz for non 4K page size architecture
authorCarol L Soto <clsoto@linux.vnet.ibm.com>
Wed, 5 Aug 2015 16:05:32 +0000 (11:05 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 22:55:48 +0000 (15:55 -0700)
commitfe1e1876d8f6d8d4b45e3940e6dd43cd3b18d958
treee8805ac3f7d700f66b5fc00bff420496d1044ccd
parent95a428f3be450350773fff3a5aabfd4de1a59fc7
net/mlx5_core: Set log_uar_page_sz for non 4K page size architecture

failed to configure the page size for architectures with page size
different than 4K.

Fixes: 938fe83 ("net/mlx5_core: New device capabilities handling")
Signed-off-by: Carol L Soto <clsoto@linux.vnet.ibm.com>
Acked-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/main.c