Q-Logic 8100 SERIES 用户手册

下载
页码 348
6–Configuring NIC Functionality in the Converged Network Adapter
Configuring the NIC in a Linux Environment
FE0254601-00 A
6-35
3.
Verify that the values for the parameter have changed. The output of the 
following command should be 1 if the command in 
 was successful. 
For example:
# cat /sys/module/qlge/parameters/ql2xmaxqdepth
or
cat /etc/bus/pci/drivers/qlge/module/parameters/qlge/qlge_irq_type
Using ethtool
To make temporary changes to the network configuration of a Ethernet device, 
use ethtool. To make persistent changes, edit the appropriate 
/etc/sysconfig/networking-scripts/ifcfg-ethX file, and then add 
ETHTOOL options. The following sections describe how to make both persistent 
and nonpersistent changes.
Making NonPersistent Changes Using ethtool   
To make changes that 
are not across reboots, use the ethtool command to specify the driver parameters 
and their values.
For example:
1.
To disable rx-checksumming for network interface eth0, enter the command:
# ethtool -K eth0 rx off
2.
To verify that rx0checksummung has been disabled for eth0, enter the 
following command:
# ethtool -k eth0
The command output shows that rx-checksumming has been set to off 
(
).
Figure 6-24. ethtool -k eth0 Command Example