OSDN Git Service

mlxsw: reg: Add QoS Port DSCP to Priority Mapping Register
authorPetr Machata <petrm@mellanox.com>
Sun, 29 Dec 2019 11:48:27 +0000 (13:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2020 23:40:14 +0000 (15:40 -0800)
commitd8446884f8d0b2b9f124b98cdf2d9b8c5fe128ba
tree906dac341a69a757041f6038beeae781c282cde2
parentc9a2069b1dbadf7cb85da0fd9df62d25e3642f03
mlxsw: reg: Add QoS Port DSCP to Priority Mapping Register

Add QPDP. This register controls the port default Switch Priority and
Color. The default Switch Priority and Color are used for frames where the
trust state uses default values. Currently there are two cases where this
applies: a port is in trust-PCP state, but a packet arrives untagged; and a
port is in trust-DSCP state, but a non-IP packet arrives.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-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/reg.h