NetXtreme-UG100
43
NetXtreme-C/NetXtreme-E
User Guide
The parameters “Maximum Number of RSS Queues” and “Receive Buffers (0=Auto)” can be modified using the
Advanced
properties tab for each NIC in the
Device Manager
. If you want to modify multiple NICs at the same time, it is faster to use
the
Set-NetAdapterAdvancedProperty PowerShell cmdlet
. For example, to assign two RSS queues for all NICs in a system
whose NIC name starts with “Sl”, run the following command:
Set-NetAdapterAdvancedProperty Sl* -RegistryKeyword *NumRSSQueues -RegistryValue 2
Similarly, to set the number of Receive buffers to 1500, run the following command:
Set-NetAdapterAdvancedProperty Sl* -RegistryKeyword *ReceiveBuffers -RegistryValue 1500
See
https://blogs.technet.microsoft.com/wincat/2012/08/27/using-powershell-for-nic-configuration-tasks/
for an overview of
using PowerShell to modify NIC properties.
14 RoCE – Configuration and Use Case Examples
This section provides configuration and use case examples for RoCE.
To enable RoCE for PFs or VFs, the user must enable the RDMA selection in the HII menu in the BIOS before the RDMA
option takes effect in the host or guest OS.
To enable RDMA in single function mode (if
Virtualization Mode
is
None
or
SR-IOV
):
During the system boot, access the
System Setup
→
NetXtreme-E NIC
→
Main Configuration Page
and set
NIC+ RMDA
Mode
to
Enabled
.
To enable RDMA if Virtualization Mode is NPAR or NPAR+SR-IOV:
During the system boot, access the
System Setup
→
NetXtreme-E NIC
→
NIC Partitioning Configuration
→
Partition 1
(or 2) Configuration
and set
NIC+ RMDA Mode
to
Enabled
.
NOTE:
If using NPAR+SRIOV mode, only two VFs from each parent physical port can enable RDMA support, or a total of
four VFs+RDMA per physical device.
14.1 Linux Configuration and Use Case Examples
14.1.1 Requirements
To configure RoCE in Linux, the following items are required:
bnxt_en-roce (RoCE supported bnxt_en driver which is part of released gzip compressed tar archive)
bnxt_re (RoCE driver)
libbnxtre (User mode RoCE library module)
14.1.2 BNXT_RE Driver Dependencies
The Bnxt_re driver requires a special RoCE enabled version of bnxt_en which is included in the netxtreme-bnxt_en-
1.7.9.tar.gz (or newer) package. The bnxt_re driver compilation depends on whether IB stack is available along with the OS
distribution or an external OFED is required.