Users Guide

7–RoCE Configuration
Configuring RoCE on the Adapter for VMware ESX
165 AH0054602-00 M
Configuring RDMA Interfaces
To configure the RDMA interfaces:
1. Install both Marvell NIC and RoCE drivers.
2. Using the module parameter, enable the RoCE function from the NIC driver
by issuing the following command:
esxcfg-module -s 'enable_roce=1' qedentv
To apply the change, reload the NIC driver or reboot the system.
3. To view a list of the NIC interfaces, issue the
esxcfg-nics -l command.
For example:
esxcfg-nics -l
Name PCI Driver Link Speed Duplex MAC Address MTU Description
Vmnic0 0000:01:00.2 qedentv Up 25000Mbps Full a4:5d:36:2b:6c:92 1500 QLogic Corp.
QLogic FastLinQ QL41xxx 1/10/25 GbE Ethernet Adapter
Vmnic1 0000:01:00.3 qedentv Up 25000Mbps Full a4:5d:36:2b:6c:93 1500 QLogic Corp.
QLogic FastLinQ QL41xxx 1/10/25 GbE Ethernet Adapter
4. To view a list of the RDMA devices, issue the esxcli rdma device list
command. For example:
esxcli rdma device list
Name Driver State MTU Speed Paired Uplink Description
------- ------- ------ ---- ------- ------------- -------------------------------
vmrdma0 qedrntv Active 1024 25 Gbps vmnic0 QLogic FastLinQ QL45xxx RDMA Interface
vmrdma1 qedrntv Active 1024 25 Gbps vmnic1 QLogic FastLinQ QL45xxx RDMA Interface
5. To create a new virtual switch, issue the following command:
esxcli network vswitch standard add -v <new vswitch name>
For example:
# esxcli network vswitch standard add -v roce_vs
This creates a new virtual switch named roce_vs.
6. To associate the Marvell NIC port to the vSwitch, issue the following
command:
# esxcli network vswitch standard uplink add -u <uplink
device> -v <roce vswitch>
For example:
# esxcli network vswitch standard uplink add -u vmnic0 -v
roce_vs