Dell Mellanox Family of Adapters User Manual

Page 62

Advertising
background image

Driver Installation and Configuration

Rev 1.1

Mellanox Technologies

62

Step 4.

The DCBX Willing parameter should be set to false as Mellanox drivers do not support this
feature.

Step 5.

Create a Quality of Service (QoS) policy and tag each type of traffic with the relevant priority
NOTE: In this example,TCP/UDP priority 1, ND/NDK priority 3 is used.

Step 6.

If VLANs are used, Mark the egress traffic with the relevant VlanID.

NOTE: The NIC is assumed as "Ethernet 4” as shown in the examples below.

Step 7.

Configure the IP address for the NIC.

NOTE: If DHCP is used, the IP address will be assigned automatically.

Step 8.

Set the DNS server (assuming its IP address is 192.168.1.2).

Step 9.

Enable Priority Flow Control (PFC) on priority 3, run.

Step 10.

Disable PFC for all other priorities except for 3.

PS $ set-NetQosDcbxSetting -Willing 0

Since PFC is all about controlling flow control at the granularity of traffic priority, it is
necessary to assign different priorities to different kinds of network traffic.

The idea, as far as RoCE configuration goes, is to assign all ND/NDK traffic (since this
is the only kind of traffic that can take advantage of RoCE) to one or more chosen prior-
ities, and then enable PFC on those priorities.

In addition, one may wish to assign non-ND/NDK traffic to other priorities, so that only
the RoCE traffic gets PFC.

PS $ New-NetQosPolicy "SMB" -NetDirectPortMatchCondition 445 -

PriorityValue8021Action 3

PS $ New-NetQosPolicy "DEFAULT" -Default -PriorityValue8021Action 3

PS $ New-NetQosPolicy "TCP" -IPProtocolMatchCondition TCP -

PriorityValue8021Action 1

PS $ New-NetQosPolicy "UDP" -IPProtocolMatchCondition UDP -

PriorityValue8021Action 1

PS $ Set-NetAdapterAdvancedProperty -Name "Ethernet 4" -RegistryKeyword "VlanID"

-RegistryValue "55"

PS $ Set-NetIPInterface -InterfaceAlias “Ethernet 4” -DHCP Disabled

PS $ Remove-NetIPAddress -InterfaceAlias “Ethernet 4” -AddressFamily IPv4 -Con-

firm:$false

PS $ New-NetIPAddress -InterfaceAlias “Ethernet 4” -IPAddress 192.168.1.10 -Pre-

fixLength 24 -Type Unicast

PS $ Set-DnsClientServerAddress -InterfaceAlias “Ethernet 4”

-ServerAddresses 192.168.1.2

After establishing the priorities of ND/NDK traffic, the priorities must have PFC
enabled on them.

PS $ Enable-NetQosFlowControl -Priority 3

PS $ Disable-NetQosFlowControl 0,1,2,4,5,6,7

Advertising