Sun Microsystems Ethernet PCI-X Adapter manual Configuring Driver Parameters

Page 35

C H A P T E R 3

Configuring Driver Parameters

This chapter describes how to configure the driver parameters used by the Sun 10- Gigabit Ethernet PCI-Xadapter. This chapter contains the following sections:

“10-Gigabit Ethernet Device Driver Parameters” on page 19

“Setting ixge Driver Parameters” on page 23

“10-Gigabit Ethernet Driver Operating Statistics” on page 29

10-Gigabit Ethernet Device Driver Parameters

The ixge device driver controls the Sun 10-Gigabit Ethernet PCI-X adapter. The ixge driver is attached to the UNIX pci name property pci8086,1048 for the Sun 10-Gigabit Ethernet PCI-X adapter (8086 is the vendor ID and 1048 is the PCI device ID).

You can manually configure the ixge device driver parameters to customize each Sun 10-Gigabit Ethernet adapter device in your system. This section provides an overview of the capabilities of the 10-Gigabit Ethernet driver used in the adapter, lists the available ixge device driver parameters, and describes how to configure these parameters.

19

Image 35
Contents Sun Microsystems, Inc Please Recycle Contents Specifications Configuring VLANsIndex Diagnostic SoftwareInstalling the Software Manually Page Accept-jumbo Parameters TablesPage Figures Page European Union USA-FCC Class aPage How This Book Is Organized PrefaceShell Prompts Using Unix CommandsThird-Party Web Sites Accessing Sun DocumentationTypographic Conventions Sun Welcomes Your Comments Contacting Sun Technical SupportProduct Description Product Overview1Hardware and Software Requirements for Sun Sparc Servers Hardware and Software Requirements2Sun 10-Gigabit Ethernet PCI-X Adapter Fiber Optic Channels FeaturesPage Installing the Adapter Without Dynamic Reconfiguration Installing the AdapterInsert the adapter into the PCI opening To Install the AdapterTo Install the Optical Transceiver Page Cd /pci@9,600000/ethernet@1 To Verify the Hardware InstallationOk show-devs Ok cd /pci@9,600000/ethernet@1 Ok .properties Rebooting the SystemOk boot -r View the .properties file for a list of device propertiesTo Install the Software Using the Installation Script Installing the Adapter With Dynamic ReconfigurationUsing the Installation Script # mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/cdrom0 Execute the installation script# ./install Code Example 2-1Typical Install Script OutputCode Example 2-1Typical Install Script Output # modinfo grep Ixge Verifying the Software InstallationReboot the system to load the driver # reboot -r# grep ixge /etc/pathtoinst /pci@9,600000/ethernet@1 0 ixge Configuring the Network Host Files# ifconfig ixge0 plumb ip-addressup Ifconfig ethnumber down ifconfig ethnumber up # Internet host table Localhost Zardoz Loghost Zardoz-11 # cat /etc/hostsPage Gigabit Ethernet Device Driver Parameters Configuring Driver Parameters1ixge Driver Parameter, Status, and Descriptions Gigabit Ethernet Driver Parameter Values and DefinitionsFlow Control Parameters 3RX Blanking Register for Alias Read Interrupt Parameters2Read-Write Flow Control Keyword Descriptions Plumb the interface up Jumbo FramesSet the instance to accept jumbo frames Setting Parameters Using the ndd Utility Setting ixge Driver ParametersTo Configure Jumbo Frames in a Linux Environment # ndd -set /dev/ixge instance number To Specify Device Instances for the ndd UtilityUse the instance number to select the device # ndd /dev/ixge To modify a parameter value, use the -setoption# ndd -set /dev/ixge parameter value # ndd /dev/ixge parameterMan prtconf Setting Parameters Using the ixge.conf File# ndd -get /dev/ixge \? # grep ixge /etc/driveraliases ixge pci8086,1048.108e.7036 To Set Driver Parameters Using a ixge.conf FileSave the ixge.conf file Set the parameters for the above devices5Read-Only ixge Device Capabilities GigabitEthernet Driver Operating Statistics6Receive and Transmit Parameters 6describes the kstat ixge1 receive and transmit parametersTxmsgdupfail # kstat ixge1 Code Example 3-1Output from kstat CommandCode Example 3-1Output from kstat Command # kstat ixge1 grep cap Use the kstat command to discover device capabilities# kstat ixge0 grep macmtu Use the kstat command to discover link settings# kstat ixge1 grep link Page Overview of VLANs Configuring VLANs1shows an example network that uses VLANs Configuring VLANs 2Ethernet Tag Header Format To Configure Static VLANs# ifconfig -a # ifconfig ixge123000 plumb up # ifconfig ixge4000 plumb upPage Table A-1Performance Specifications SpecificationsTable A-2Physical Characteristics Physical CharacteristicsSunVTS Diagnostic Software Diagnostic SoftwareTable B-1SunVTS Documentation To Update SunVTS to Recognize the AdapterUpdating SunVTS to Recognize the Adapter To Use the netlbtest Using the SunVTS netlbtestPage To Install the Driver Software Manually Installing the Software Manually# showrev -p grep Table C-1Files and Directories on the CD-ROM# /usr/bin/pkginfo SUNWvld SUNWvldx Install the patchCheck to see if vlan drivers are installed on the system # pkgadd -d /Solaris9/i386/Packages Select the packages you want to installBuild the 10-Gigabit Ethernet driver Setting Up the Driver in a Linux PlatformTo Set Up the Driver in a Linux Platform Load ixge driver for all instances Build the man pages optionalChange to the rpm directory # dmesg Verify that the driver is loadedAdd the ixge interfaces to the /etc/modules.conf file # lsmod# ethtool eth3 Setting Driver Parameters in a Linux Environment# modprobe ixge option=VAL1, VAL2 To Set ixge Parameters in a Linux EnvironmentLoad the Sun 10-Gigabit Ethernet PCI-X device driver # rmmod ixgeValid Range 0-3 0=none, 1=Rx only, 2=Tx only, 3=Rx&Tx Insert the vlan module To Configure VLANs in a Linux EnvironmentConfigure ixge vlan eth2 in this example Ensure that the ixge module is loadedLoad the bonding driver To Configure Bonding for Multiple ixge InterfacesConfigure bond0 interface Modify /etc/modules.conf file by adding these linesVlan ID Index

Ethernet PCI-X Adapter specifications

The Sun Microsystems Ethernet PCI-X Adapter stands as a pivotal component for enhancing network performance in various computing environments. Designed to cater to the demanding needs of enterprise networks, this adapter provides a seamless integration of high-speed connectivity with robust hardware design, making it a preferred choice for businesses relying on Sun systems.

One of the standout features of the Sun Ethernet PCI-X Adapter is its adherence to the PCI-X interface, which allows for faster data transfer rates compared to traditional PCI. With speeds of up to 1 Gbps, this adapter supports larger data throughput, significantly improving the efficiency of data-intensive applications. The PCI-X standard, operating at an impressive 64-bit bus, not only enhances performance but also ensures backward compatibility with earlier PCI standards, offering flexibility in deployment.

In terms of network connectivity, the adapter supports both 10/100/1000 Mbps Ethernet speeds, allowing it to automatically negotiate the best speed based on network conditions. This feature is particularly advantageous for enterprises with diverse networking equipment, enabling seamless integration without compromising on performance.

The Sun Microsystems Ethernet PCI-X Adapter comes equipped with advanced technologies such as Jumbo Frames support. This allows for the transmission of larger packets over the network, which is beneficial for applications that require the movement of substantial amounts of data, like video streaming or large file transfers. By facilitating Jumbo Frames, the adapter minimizes CPU load and enhances overall throughput, leading to better resource utilization.

Another noteworthy characteristic of this adapter is its robust error checking and correction capabilities. This ensures data integrity during transmission, reducing the likelihood of packet loss and improving the reliability of network communications. Coupled with support for multiple protocols, including TCP/IP, the Ethernet PCI-X Adapter provides versatility, adapting to various network configurations and applications.

Furthermore, the adapter boasts a high-performance driver suite, which enhances its compatibility across different operating systems, ensuring smooth integration into existing network environments. The flexibility and scalability of this adapter make it an ideal solution for current and future network demands.

In conclusion, the Sun Microsystems Ethernet PCI-X Adapter delivers exceptional performance, reliability, and versatility, making it an essential asset for enterprises seeking to enhance their networking capabilities. Whether for upgrading existing infrastructure or supporting new applications, this adapter stands out as a dependable choice for high-speed connectivity in the constantly evolving technology landscape.