aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHuy Nguyen <[email protected]>2017-07-18 16:08:46 -0500
committerSaeed Mahameed <[email protected]>2017-11-04 21:26:21 -0700
commit415a64aa8dc6b4fc478609c549ca652d95a12f13 (patch)
tree8c72645e9ebdf569a384cb60540c54d329895afa /net/switchdev/switchdev.c
parent71c70eb21c33c60433b95e72a59d40bb128db649 (diff)
net/mlx5: QPTS and QPDPM register firmware command support
The QPTS register allows changing the priority trust state between pcp and dscp. Add support to get/set trust state from device. When the port is in pcp/dscp trust state, packet is routed by hardware to matching priority based on its pcp/dscp value respectively. The QPDPM register allow channing the dscp to priority mapping. Add support to get/set dscp to priority mapping from device. Note that to change a dscp mapping, the "e" bit of this dscp structure must be set in the QPDPM firmware command. Signed-off-by: Huy Nguyen <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Reviewed-by: Or Gerlitz <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions