6–RoCE Configuration
Configuring RoCE on the Adapter for Linux
60
AH0054602-00 A
4.
Verify that RoCE is enabled on the host operating system using PowerShell.
The
Get-NetOffloadGlobalSetting
command shows
NetworkDirect
is enabled.
PS C:\Users\Administrators>
Get-NetOffloadGlobalSetting
ReceiveSideScaling : Enabled
ReceiveSegmentCoalescing : Enabled
Chimney : Disabled
TaskOffload : Enabled
NetworkDirect : Enabled
NetworkDirectAcrossIPSubnets : Blocked
PacketCoalescingFilter : Disabled
5.
Connect a server message block (SMB) drive, run RoCE traffic, and verify
the results.
To set up and connect to an SMB drive, view the information available online
from Microsoft:
https://technet.microsoft.com/en-us/library/hh831795(v=ws.11).aspx
6.
By default, Microsoft's SMB Direct establishes two RDMA connections per
port, which provides good performance, including line rate at a higher block
size (for example, 64KB). To optimize performance, you can change the
quantity of RDMA connections per RDMA interface to four (or greater).
To increase the quantity of RDMA connections to four (or more), issue the
following command in PowerShell:
PS C:\Users\Administrator>
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\
Services\LanmanWorkstation\Parameters" ConnectionCountPerRdmaNetworkInterface -Type
DWORD -Value 4 –Force
Configuring RoCE on the Adapter for Linux
This section describes the RoCE configuration procedure for RHEL and SLES. It
also describes how to verify the RoCE configuration and provides some guidance
about using group IDs (GIDs) with VLAN interfaces.
Verifying the RoCE Configuration on Linux