]> 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)
commit33d935593fddee449b9ce1f67b3f2b9fe05c7686
tree906dac341a69a757041f6038beeae781c282cde2
parent2fef2236b5d93419a253ca84d398768405fbcb07
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