NetXtreme-UG100
18
NetXtreme-C/NetXtreme-E
User Guide
6.3 Installing the VMware Driver
The ESX drivers are provided in VMware standard VIB format and can be downloaded from VMware:
https://
www.vmware.com/resources/compatibility/
search.php?deviceCategory=io&details=1&partner=12&deviceTypes=6&page=1&display_interval=10&sortColumn=Partn
er&sortOrder=Asc
1. To install the Ethernet and RDMA driver, issue the following commands:
$ esxcli software vib install -v <bnxtnet>-<driver version>.vib
$ esxcli software vib install -v <bnxtroce>-<driver version>.vib
2. A system reboot is required for the new driver to take effect.
Other useful VMware commands shown in
Table 12
.
NOTE:
In
Table 12
, vmnicX should be replaced with the actual interface name.
NOTE:
$ kill -HUP $(cat /var/run/vmware/vmkdevmgr.pid)
This command is required after
vmkload_mod bnxtnet
for successful module bring up.
ethtool --set-eee ethX eee on tx-lpi off
Enable EEE, but disable LPI.
ethtool -L ethX combined 1 rx 0 tx 0
Disable RSS. Set the combined channels to 1.
ethtool -K ethX ntuple off
Disable Accelerated RFS by disabling ntuple filters.
ethtool -K ethX ntuple on
Enable Accelerated RFS.
Ethtool -t ethX
Performs various diagnostic self-tests.
echo 32768 > /proc/sys/net/core/rps_sock_flow_entries
echo 2048 > /sys/class/net/ethX/queues/rx-X/rps_flow_cnt
Enable RFS for Ring X.
sysctl -w net.core.busy_read=50
This sets the time to busy read the device's receive ring to 50 usecs.
For socket applications waiting for data to arrive, using this method
can decrease latency by 2 or 3 usecs typically at the expense of
higher CPU utilization.
echo 4 > /sys/bus/pci/devices/0000:82:00.0/sriov_numvfs
Enable SR-IOV with four VFs on bus 82, Device 0 and Function 0.
ip link set ethX vf 0 mac 00:12:34:56:78:9a
Set VF MAC address.
ip link set ethX vf 0 state enable
Set VF link state for VF 0.
ip link set ethX vf 0 vlan 100
Set VF 0 with VLAN ID 100.
Table 12: VMware Commands
Command
Description
esxcli software vib list |grep bnx
List the VIBs installed to see whether the bnxt driver installed
successfully.
esxcfg-module –I bnxtnet
Print module info on to screen.
esxcli network get –n vmnicX
Get vmnicX properties.
esxcfg-module –g bnxtnet
Print module parameters.
esxcfg-module –s ‘multi_rx_filters=2 disable_tap=0
max_vfs=0,0 RSS=0’
Set the module parameters.
vmkload_mod –u bnxtnet
Unload bnxtnet module.
Table 11: Linux Ethtool Commands (Continued)
Command
Description
Содержание NetXtreme-E
Страница 1: ...NetXtreme UG100 August 23 2018 NetXtreme C NetXtreme E User Guide...
Страница 58: ......