net/mlx5e: Refactor refresh TIRs
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Dec 2016 15:30:20 +0000 (17:30 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Mar 2017 12:08:16 +0000 (15:08 +0300)
commitb676f653896aaf6b32b496709bd9ebbc771d7ed7
tree7caa837224a36eb53d296f4089667fc9ac8905a5
parenta5f97fee743cd7ee9932036583dbe05298ff2648
net/mlx5e: Refactor refresh TIRs

Rename mlx5e_refresh_tirs_self_loopback to mlx5e_refresh_tirs,
as it will be used in downstream (Safe config flow) patches, and make it
fail safe on mlx5e_open.

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_common.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c