All the devices on the PCI bus can be listed by running the following command:

# cat /proc/pci

IRQ and IO address information from this can be correlated with the information displayed by the driver in the /var/log/messages file.

When the TCP/IP stack is initialized, it opens all configured Ethernet devices, and initializes them for use. At this time, the driver will perform auto-negotiation and log information about the link status. You can then test the driver by running utilities like ping, telnet, ftp, and NFS.

Configurable Parameters

The tunable parameters of the driver (for example, the Receive and Transmit buffers) are put in the file nsm.h under the “Tunable parameters” heading.The default value of RX_QUEUE_SZ is 100; on a high-end system, you may want to adjust that value to 200 for better performance.

To try jumbo frames, increase the mtu size using the ifconfig utility:

# ifconfig <interface-name> mtu <mtu-size>

For example:

ifconfig eth0 mtu 3000

The BUF_SIZE_MAX value in nsm.h (located in the “Tunable parameters” section) should be changed to 4096.

You can increase the <mtu-size>value up to 4000 bytes for the same operation.

Linux driver software

7-4

Page 48
Image 48
NETGEAR GA621 manual Configurable Parameters