net/mlx5e: Take common TIR context settings into a function
authorTariq Toukan <tariqt@mellanox.com>
Wed, 16 Jan 2019 12:31:22 +0000 (14:31 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 1 May 2019 21:39:15 +0000 (14:39 -0700)
commit7306c274e7297307aceae99a8cb7f2a341b484e1
tree40401dea14dfe50525ce46aecc0443fe7d150151
parentc515e70d675421240ff6628a1831a56e4ea0e82c
net/mlx5e: Take common TIR context settings into a function

Many TIR context settings are common to different TIR types,
take them into a common function.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c