NetXtreme-UG100
39
NetXtreme-C/NetXtreme-E
User Guide
$ esxcli bnxtnet link set -S <speed> -D <full> -n <iface>
This returns an OK message if the speed is correctly set.
Example:
$ esxcli bnxtnet link set -S 25000 -D full -n vmnic5
e. Show the link stats
$ esxcli bnxtnet link get -n vmnic6
f. Show the driver/firmware/chip information
$ esxcli bnxtnet drvinfo get -n vmnic4
g. Show the NIC information (for example, BDF; NPAR, SRIOV configuration)
$ esxcli bnxtnet nic get -n vmnic4
5. Enabling SRIOV VFs:
Only the PFs are automatically enabled. If a PF supports SR-IOV, the PF(vmknicX) is part of the output of the command
shown below.
esxcli network sriovnic list
To enable one or more VFs, the driver uses the module parameter max_vfs to enable the desired number of VFs for PFs.
For example, to enable four VFs on PF1:
esxcfg-module -s 'max_vfs=4' bnxtnet (reboot required)
To enable VFs on a set of PFs, use the command format shown below. For example, to enable four VFs on PF 0 and 2
VFs on PF 2:
esxcfg-module -s 'max_vfs=4,2' bnxtnet (reboot required)
The required VFs of each supported PF are enabled in order during the PF bring up. Refer to the vmware documentation
for information on how to map a VF to a VM:
https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.networking.doc/GUID-898A3D66-9415-4854-
8413-B40F2CB6FF8D.html
NOTE:
When using NPAR+SRIOV, every NPAR function (PF) is assigned a maximum of eight VFs.
13 NPAR – Configuration and Use Case Example
13.1 Features and Requirements
OS/BIOS Agnostic – The partitions are presented to the operating system as real network interfaces so no special
BIOS or OS support is required like SR-IOV.
Additional NICs without requiring additional switch ports, cabling, PCIe expansion slots.
Traffic Shaping – The allocation of bandwidth per partition can be controlled so as to limit or reserve as needed.
Can be used in a Switch Independent manner – The switch does not need any special configuration or knowledge of
the NPAR enablement.
Can be used in conjunction with RoCE and SR-IOV.