net/mlx5e: Bring back bfreg uar map dedicated pointer
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 9 Jan 2017 19:57:49 +0000 (21:57 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 6 Feb 2017 16:20:18 +0000 (18:20 +0200)
commit8ca967ab67671f07ac7daef4f854559bc66799a3
tree827d9d0dd6a405f10bddcb3a542ebc80b468f152
parentb70149dd7dc98661fbbfe7281f127caa408028fe
net/mlx5e: Bring back bfreg uar map dedicated pointer

4K Uar series modified the mlx5e driver to use the new bfreg API,
and mistakenly removed the sq->uar_map iomem data path dedicated
pointer, which was meant to be read from xmit path for cache locality
utilization.

Fix that by returning that pointer to the SQ struct.

Fixes: 7309cb4ad71e ("IB/mlx5: Support 4k UAR for libmlx5")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c