OSDN Git Service

mlxsw: core: Rename mlxsw_afa_qos_cmd to mlxsw_afa_qos_switch_prio_cmd
authorPetr Machata <petrm@mellanox.com>
Thu, 26 Mar 2020 14:01:10 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2020 18:55:40 +0000 (11:55 -0700)
commit571ca1f1deccb597152eb5cd4fec8ccb5ee92120
treef90748c5ebcb644c0b9146c03ebc61b751b03f4f
parent1f40be6a34a69f0ccfbf1db6814aba6d3306cb12
mlxsw: core: Rename mlxsw_afa_qos_cmd to mlxsw_afa_qos_switch_prio_cmd

The original idea was to reuse this set of actions for ECN rewrite as well,
but on second look, it's not such a great idea. These two items should each
have its own command. Rename the existing enum to make it obvious that it
belongs to switch_prio_cmd.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c