]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0593be9a3eaeb864854a02b26205f80b0baebb85
tree906dac341a69a757041f6038beeae781c282cde2
parent5593eded13b894fe9d4c426719760891fa9d0caf
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