Q-Logic 8100 SERIES manual Using ethtool, # ethtool -K eth0 rx off, # ethtool -k eth0

Models: 8100 SERIES

1 348
Download 348 pages 63.28 Kb
Page 203
Image 203

6–Configuring NIC Functionality in the Converged Network Adapter Configuring the NIC in a Linux Environment

3.Verify that the values for the parameter have changed. The output of the following command should be 1 if the command in Step 2 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-ethXfile, 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).

Figure 6-24. ethtool -k eth0 Command Example

FE0254601-00 A

6-35

Page 203
Image 203
Q-Logic 8100 SERIES manual Using ethtool, # ethtool -K eth0 rx off, # ethtool -k eth0