net/mlx5e: Cleanup attach encap function
authorRoi Dayan <roid@mellanox.com>
Thu, 21 Feb 2019 17:34:15 +0000 (19:34 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Mar 2019 20:04:15 +0000 (12:04 -0800)
commit733d4f367c34c971ce2d4f466d71ae5a189cbe5f
treea62fa66e8ab7b8b947c82de82ce81e28becbe396
parent6bdbc1cb6cf084474b44a1dcb6d44cf48d6a42dc
net/mlx5e: Cleanup attach encap function

Remove the tunnel info argument which we can get from the other args.
Also reorder the args to have input args first and output args later.

This patch doesn't change functionality.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c