User Manual

Rev 4.70
Mellanox Technologies
52
To enable RoCE using the PowerShell:
Open the PowerShell and run:
Set-MlnxDriverCoreSetting –RoceMode 1
To enable RoCEv2 using the PowerShell:
Open the PowerShell and run:
Set-MlnxDriverCoreSetting –RoceMode 2
To disable any version of RoCE using the PowerShell:
Open the PowerShell and run:
Set-MlnxDriverCoreSetting –RoceMode 0
To check current version of RoCE using the PowerShell:
Open the PowerShell and run:
Get-MlnxDriverCoreSetting
Example output:
Caption : DriverCoreSettingData 'mlx4_bus'
Description : Mellanox Driver Option Settings
.
.
.
RoceMode : 0
8.8 Network Virtualization using Generic Routing Encapsulation
Network Virtualization using Generic Routing Encapsulation (NVGRE) is a network virtualiza-
tion technology that attempts to alleviate the scalability problems associated with large cloud
computing deployments. It uses Generic Routing Encapsulation (GRE) to tunnel layer 2 packets
across an IP fabric, and uses 24 bits of the GRE key as a logical network discriminator (which is
called a tenant network ID).
Configuring the Hyper-V Network Virtualization, requires two types of IP addresses:
Pr
ovider Addresses (PA) - unique IP addresses assigned to each Hyper-V host that are
routable across the physical network infrastructure. Each Hyper-V host requires at least
one PA to be assigned.
Customer Addr
esses (CA) - unique IP addresses assigned to each Virtual Machine that
participate on a virtualized network. Using NVGRE, multiple CAs for VMs running on
a Hyper-V host can be tunneled using a single PA on that Hyper-V host. CAs must be
unique across all VMs on the same virtual network, but they do not need to be unique
across virtual networks with different Virtual Subnet ID.
The VM generates a packet with the addresses of the sender and the recipient within the CA
space.
Then Hyper-V host encapsulates the packet with the addresses of the sender and the recip-
ient in PA space.
Network Virtualization using Generic Routing Encapsulation (NVGRE) off-load is cur-
rently supported in Windows Server 2012 R2 only.