aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2019-12-29 13:48:27 +0200
committerDavid S. Miller <davem@davemloft.net>2020-01-02 15:40:14 -0800
commitd8446884f8d0b2b9f124b98cdf2d9b8c5fe128ba (patch)
tree906dac341a69a757041f6038beeae781c282cde2 /drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c
parentMerge branch 'page_pool-NUMA-node-handling-fixes' (diff)
downloadlinux-dev-d8446884f8d0b2b9f124b98cdf2d9b8c5fe128ba.tar.xz
linux-dev-d8446884f8d0b2b9f124b98cdf2d9b8c5fe128ba.zip
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c')
0 files changed, 0 insertions, 0 deletions