IB/mlx5: Support 4k UAR for libmlx5
authorEli Cohen <eli@mellanox.com>
Tue, 3 Jan 2017 21:55:27 +0000 (23:55 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 9 Jan 2017 18:25:09 +0000 (20:25 +0200)
commit30aa60b3bd12bd79b5324b7b595bd3446ab24b52
treecb26fe9fe51a039bc50ccc571ade6ecd3a5a0582
parentb037c29a8056b8e896c4e084ba7cc30d6a1f165f
IB/mlx5: Support 4k UAR for libmlx5

Add fields to structs to convey to kernel an indication whether the
library supports multi UARs per page and return to the library the size
of a UAR based on the queried value.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/cq.c
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_common.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/uar.c
include/linux/mlx5/cq.h
include/linux/mlx5/driver.h
include/uapi/rdma/mlx5-abi.h