OSDN Git Service

net/mlx5: Rename modify/query_vport state related enums
authorEran Ben Elisha <eranbe@mellanox.com>
Wed, 8 Aug 2018 23:23:49 +0000 (16:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 02:34:54 +0000 (19:34 -0700)
commitcc9c82a8668cf98748bfbaa83c5c092d5115c25b
tree1355ff824d1465cb8c9271cafa1ef539896617e7
parent342ac8448f1fb213908656ae5581d0f37a5954e8
net/mlx5: Rename modify/query_vport state related enums

Modify and query vport state commands share the same admin_state and
op_mod values, rename the enums to fit them both.

In addition, remove the esw prefix from the admin state enum as this
also applied for vnic.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h