Operating Systems: Windows Server 2012, Windows Server 2012 R2 and Windows Server 2016.
Prior to configuring Quality of Service, you must install Data Center Bridging using one of the following methods:
To Disable Flow Control Configuration
Device manager → Network adapters → Mellanox ConnectX-3 Ethernet Adapter → Properties→ Advanced tab
To Install the Data Center Bridging using the Server Manager
- Open the 'Server Manager'.
- Select 'Add Roles and Features'.
- Click Next.
- Select 'Features' on the left panel.
- Check the 'Data Center Bridging' checkbox.
- Click 'Install'.
To Install the Data Center Bridging using PowerShell
Enable Data Center Bridging (DCB).
To Configure QoS on the Host
The procedure below is not saved after you reboot your system. Hence, we recommend you create a script using the steps below and run it on the startup of the local machine. Please see the procedure below on how to add the script to the local machine startup scripts.
Change the Windows PowerShell execution policy. To change the execution policy, please refer to Step 1 in PowerShell Configuration.
Remove the entire previous QoS configuration.
Set the DCBX Willing parameter to false as Mellanox drivers do not support this feature.
Create a Quality of Service (QoS) policy and tag each type of traffic with the relevant priority. In this example, TCP/UDP use priority 1, SMB over TCP use priority 3.
Create a QoS policy for SMB over SMB Direct traffic on Network Direct port 445.
[Optional] If VLANs are used, mark the egress traffic with the relevant VlanID. The NIC is referred as "Ethernet 4” in the examples below.
[Optional] Configure the IP address for the NIC. If DHCP is used, the IP address will be assigned automatically.
Set the DNS server (assuming its IP address is 192.168.1.2).
After establishing the priorities of ND/NDK traffic, the priorities must have PFC enabled on them.
Disable Priority Flow Control (PFC) for all other priorities except for 3.
Enable QoS on the relevant interface.
Enable PFC on priority 3.
Configure Priority 3 to use ETS.
To Add the Script to the Local Machine Startup Scripts
- From the PowerShell invoke.
- In the pop-up window, under the 'Computer Configuration' section, perform the following:
- Select Windows Settings
- Select Scripts (Startup/Shutdown)
- Double click Startup to open the Startup Properties
- Move to “PowerShell Scripts” tab
The script should include only the following commands:
- Browse for the script's location.
- Click OK
To confirm the settings applied after boot run:
Enhanced Transmission Selection
Enhanced Transmission Selection (ETS) provides a common management framework for assignment of bandwidth to frame priorities as described in the IEEE 802.1Qaz specification:
For further details on configuring ETS on Windows™ Server, please refer to: