User Manual

Table Of Contents
Rev 4.60
Mellanox Technologies
32
3.7.4 Configuring Router (PFC only)
The router uses L3's DSCP value to mark the egress traffic of L2 PCP. The required mapping,
maps the three most significant bits of the DSCP into the PCP. This is the default behavior, and
no additional configuration is required.
3.7.4.1 Copying Port Control Protocol (PCP) between Subnets
The captured PCP option from the Ethernet header of the incoming packet can be used to set the
PCP bits on the outgoing Ethernet header.
3.7.5 Configuring the RoCE Mode
Configuring the RoCE mode requires the following:
RoCE mode is configured per-driver and is enforced on all the devices in the system
RoCE mode can be enabled and disabled via PowerShell.
To enable RoCE using the PowerShell:
Open the PowerShell and run:
To disable RoCE using the PowerShell:
Open the PowerShell and run:
3.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
they call a tenant network ID).
Configuring the Hyper-V Network Virtualization, requires two types of IP addresses:
Provider 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 Addresses (CA) - unique IP addresses assigned to each Virtual Machine that
participate on a virtualized network. Using NVGRE, multiple CAs for VMs running on
The supported RoCE modes depend on the firmware installed. If the firmware does not
support the needed mode, the fallback mode would be the maximum supported RoCE
mode of the installed NIC.
Set-MlnxDriverCoreSetting –RoceMode 1
Set-MlnxDriverCoreSetting –RoceMode 0
Network Virtualization using Generic Routing Encapsulation (NVGRE) off-load is cur-
rently supported in Windows Server 2012 R2 only.