在ESXi中启用Intel E810 25Gb网卡RoCEv2协议的方法

默认情况下,在ESXi 7.U3中Intel E810使用iWARP协议,如下图所示:
在这里插入图片描述

启用RoCEv2的步骤如下:

1.检查网卡驱动的RDMA参数,默认是启用的。如果未启用,使用“esxcli system module parameters set -m icen -p “RDMA=1,1””命令启用RDMA。

 esxcli system module parameters list -m icen 
Name         Type          Value  Description
-----------  ------------  -----  -----------
DRSS         array of int         Number of queues for Default Queue Receive-Side Scaling: 0/4/8/16 (default = 4)
FWLogEnable  array of int         Enable firmware logging functionality: 0 = Disable, 1 = Enable (default = 0)
FWLogEvents  long                 Firmware events to log. Binary math required to set. (Turn on Events 1 and 5 with input FWLogEvents = 17) (default = 0)
FWLogLevel   int                  FW event log level. Values: 0 = none, 1 = error, 2 = warning, 3 = normal, 4 = verbose. Invalid values: >= 5 (default = 0)
LLDP         array of int         Link Layer Discovery Protocol (LLDP) agent: 0 = disable, 1 = enable (default = 0)
MaxRdmaInts  int                  Maximum RDMA Interrupts (0..112) (default = 16)
NumQPsPerVF  array of int         Maximum number of queue pairs to be allocated for each VF in the PF (1/2/4/8/16) (default = 4)
RDMA         array of int         Enable Remote Direct Memory Access (RDMA) support, 0 = disable, 1 = enable (default = 1)
RSS          array of int         State of NetQueue Receive-Side Scaling: 0 = Disable, 1 = Enable (default = 1, supports RSS on multiple NetQueues)
RxITR        array of int         RX interrupt interval in microseconds, (-1 = Dynamic ITR, 0-8160 usec = Static ITR) (default = Dynamic ITR)
TxITR        array of int         TX interrupt interval in microseconds, (-1 = Dynamic ITR, 0-8160 usec = Static ITR) (default = Dynamic ITR)
VMDQ         array of int         Number of Virtual Machine Device Queues: 0/1 = disable, 2-16 enable (default = 8)
max_vfs      array of int         Maximum number of VFs to be enabled (0..256)

2.使用命令启用RoCEv2协议。
1)检查irdman驱动的ROCE参数。
esxcli system module parameters list -m irdman

Name                    Type          Value  Description
----------------------  ------------  -----  -----------
DebugFlags              int                  debug flags: 0=disabled (default), 0x7fffffff=all
ROCE                    array of int         Enable RoCE support 0 = disable, 1 = enable, (default = 0)
ReducedMaxQpInitRdAtom  int                  Enable limit maxQpInitRdAtom to 0x10: 0=Disable (default), 1=Enable

2)启用RoCEv2协议。
esxcli system module parameters set -m irdman -p “ROCE=1,1”

3)确认参数设置成功。
esxcli system module parameters list -m irdman

Name                    Type          Value  Description
----------------------  ------------  -----  -----------
DebugFlags              int                  debug flags: 0=disabled (default), 0x7fffffff=all
ROCE                    array of int  1,1    Enable RoCE support 0 = disable, 1 = enable, (default = 0)
ReducedMaxQpInitRdAtom  int                  Enable limit maxQpInitRdAtom to 0x10: 0=Disable (default), 1=Enable

4)重启ESXi,让配置生效。
esxcli system shutdown reboot -r “reboot”

5)重新启动后,RDMA适配器的RoCEv2协议显示已启用。
在这里插入图片描述



来源:
ENABLING RDMA FOR VSAN WITH INTEL E810 ADAPTER

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值