mlxsw: core: Add DSCP, ECN, dscp_rw to QOS_ACTION
authorPetr Machata <petrm@mellanox.com>
Thu, 26 Mar 2020 14:01:11 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2020 18:55:40 +0000 (11:55 -0700)
commit50e4ee4b921d6602fbaf309368a8388875c3c0e2
treeb8ab6f30db579b83d72c3279ef163ca9abd4b549
parent571ca1f1deccb597152eb5cd4fec8ccb5ee92120
mlxsw: core: Add DSCP, ECN, dscp_rw to QOS_ACTION

The QOS_ACTION is used for manipulating the QOS attributes of the packet.
Add the defines and helpers related to DSCP and ECN fields, and dscp_rw.

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