Dell Mellanox Family of Adapters User Manual

Page 60

Advertising
background image

Driver Installation and Configuration

Rev 1.1

Mellanox Technologies

60

Step 1.

Enable Data Center Bridging (DCB).

To configure QoS on the host:

Step 1.

Change the Windows PowerShell execution policy.

Step 2.

Remove the entire previous QoS configuration.

Step 3.

Set the DCBX Willing parameter to false as Mellanox drivers do not support this feature.

Step 4.

Create a Quality of Service (QoS) policy and tag each type of traffic with the relevant priority.

In this example, TCP/UDP priority 1, ND/NDK priority 3 is used.

Step 5.

[Optional] If VLANs are used, mark the egress traffic with the relevant VlanID.

The NIC is referred as "Ethernet 4” in the examples below.

Step 6.

[Optional] Configure the IP address for the NIC.

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

Step 7.

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

Step 8.

Disable Priority Flow Control (PFC) for all other priorities except for 3.

PS $ Install-WindowsFeature Data-Center-Bridging

The procedure below is not saved after the system is rebooted. Creating a script using the
steps below and running it on the local machine is recommended. Please see the procedure
below on how to add the script to the local machine startup scripts.

PS $ Set-ExecutionPolicy AllSigned

PS $ Remove-NetQosTrafficClass

PS $ Remove-NetQosPolicy -Confirm:$False

PS $ set-NetQosDcbxSetting -Willing 0

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

PriorityValue8021Action 3

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

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

PriorityValue8021Action 1

PS $ New-NetQosPolicy "UDP" -store Activestore -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 -Confirm:$false

PS $ New-NetIPAddress -InterfaceAlias “Ethernet 4” -IPAddress 192.168.1.10 -PrefixLength 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 $ Disable-NetQosFlowControl 0,1,2,4,5,6,7

Advertising