Download User Manual
Transcript
3. Configuration Ethernet Driver Configuration Support for Ethtool set/get-channels The Ethtool get-channels command is available in kernel versions of RHEL 6.4, SLES 11.2, and 3.0.x and higher. The Ethtool get-channels command – “ethtool -l <ethx>” displays the following information: The current number of Rx/Tx/interrupt queue pairs (a “combined channel”) created by the NIC function The maximum number of channels supported by the NIC function The Ethtool set-channels command - "ethtool -L <ethx> combined N" configures the number of channels requested for the NIC function. Notes You can increase (up to the maximum supported limit) or decrease the number of channels used by the NIC function. The NIC driver supports only “combined” channels. The maximum number of channels supported by an interface is also limited to the number of cpu-cores in the server. In older Linux distributions, use the sysfs interface as follows: The maximum number of channels supported by NIC function: cat /sys/class/net/<ethx>/max_qs The current number of channels configured: cat /sys/class/net/<ethx>/num_qs To configure the 'N' number of channels requested for the NIC function: echo N > /sys/class/net<ethx>/num_qs Support for Ethtool set-dump The Ethtool set-dump command is available in the kernel versions of RHEL 6.4, SLES 11.2, and 3.0.x and higher. It is supported only on LPe16000-series adapters. The Ethtool set-dump command - "ethtool -W <ethx> N" can be used as follows: To trigger a FW dump: ethtool -W <ethx> 1 To delete an existing dump ethtool -W <ethx> 2 Notes An existing dump should be deleted first before triggering a new dump. In older Linux distributions, use the sysfs interface as follows: To trigger a FW dump: # echo 1 > /sys/class/net/<ethx>/trigger_dump To delete an existing dump: # echo 1 > /sys/class/net/<ethx>/delete_dump Emulex Drivers Version 10.4 for Linux User Manual P011043-01A Rev. A 38