User Manual

Table Of Contents
Rev 4.60
Mellanox Technologies
36
3.9.4 Configuring DSCP for RDMA Traffic
Create a QoS policy to tag the ND traffic for port 10000 with CoS value 3.
Related Commands:
Get-NetAdapterQos - Gets the QoS properties of the network adapter
Get-NetQosPolicy - Retrieves network QoS policies
Get-NetQosFlowControl - Gets QoS status per priority
3.9.5 Registry Settings
The following attributes must be set manually and will be added to the miniport registry.
3.9.5.1 Default Settings
When DSCP configuration registry keys are missing in the miniport registry, the following
defaults are assigned.
$ New-NetQosPolicy "ND10000" -NetDirectPortMatchCondition 10000 - PriorityValue8021Action 3
Table 5 - DSCP Registry Keys Settings
Registry Key Description
TxUntagPriorityTag If 0x1, do not add 802.1Q tag to transmitted packets which
are assigned 802.1p priority, but are not assigned a non-zero
VLAN ID (i.e. priority-tagged).
Default 0x0, for DSCP based PFC set to 0x1.
RxUntaggedMapToLossless If 0x1, all untagged traffic is mapped to the lossless receive
queue.
Default 0x0, for DSCP based PFC set to 0x1.
RroceDscpMarkPriorityFlowControl_<ID> A value to mark DSCP for RoCE v2 packets assigned to
CoS=ID, when priority flow control is enabled. The valid
values range is from 0 to 63,
Default is ID value, e.g.
RroceDscpMarkPriorityFlowControl_3 is 3.
ID values range from 0 to 7.
For changes to take effect, please restart the network adapter after changing these registry
key.
Table 6 - DSCP Default Registry Keys Settings
Registry Key Default Value
TxUntagPriorityTag 0
RxUntaggedMapToLossles 0
RroceDscpMarkPriorityFlowControl_0 0