net/mlx5e: TC ipv4 tunnel encap offload cosmetic changes
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 21 Dec 2016 15:31:18 +0000 (17:31 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 24 Jan 2017 19:13:59 +0000 (21:13 +0200)
commit75c33da827365afa6f3d708ad1f7abe18e0ba4a3
treec38dff60c14fe845d8e0edcb0a069e3302575b54
parent19f4440141af8cd9b2f280ec38476baa86dc87f9
net/mlx5e: TC ipv4 tunnel encap offload cosmetic changes

Move around some settings of variables as pre-step to make things
more robust and clear for the ipv6 case in down-stream patch.
This patch doesn't change any functionality.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c