net/mlx5: E-Switch, Prepare for vport enable/disable refactor
authorBodong Wang <bodong@mellanox.com>
Fri, 30 Aug 2019 20:41:09 +0000 (15:41 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 13 Mar 2020 23:26:05 +0000 (16:26 -0700)
commit878a73318a92d7c21f7543da343e86d13eaa8841
treee0deb6fdbedb9ab48392ec5ba377ac03bd67d225
parenta9814d7fde59332d54b244d55a7322b272a27430
net/mlx5: E-Switch, Prepare for vport enable/disable refactor

Rename esw_apply_vport_config() to esw_vport_setup(), and add new
helper function esw_vport_cleanup() to make them symmetric.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c