Sun Microsystems Ethernet PCI-X Adapter manual To Set ixge Parameters in a Linux Environment

Page 73

To Set ixge Parameters in a Linux Environment

1.Remove the Sun 10-Gigabit Ethernet PCI-X device driver, if it is already loaded.

#rmmod ixge

2.Load the Sun 10-Gigabit Ethernet PCI-X device driver:

#modprobe ixge option=VAL1, VAL2, . . .

or you can use the insmod command:

#insmod ixge option=VAL1, VAL2, . . .

where VAL1 applies to the first ixge interface and VAL2 to the next interface and so on.

Appendix D Installing the Sun 10-Gigabit Ethernet Device Driver on Linux Platforms 57

Image 73
Contents Sun Microsystems, Inc Please Recycle Contents Specifications Configuring VLANsInstalling the Software Manually Diagnostic SoftwareIndex Page Accept-jumbo Parameters TablesPage Figures Page European Union USA-FCC Class aPage How This Book Is Organized PrefaceShell Prompts Using Unix CommandsTypographic Conventions Accessing Sun DocumentationThird-Party Web Sites 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 Ok show-devs To Verify the Hardware InstallationCd /pci@9,600000/ethernet@1 Ok boot -r Rebooting the SystemView the .properties file for a list of device properties Ok cd /pci@9,600000/ethernet@1 Ok .propertiesUsing the Installation Script Installing the Adapter With Dynamic ReconfigurationTo Install the Software Using the Installation Script # ./install Execute the installation scriptCode Example 2-1Typical Install Script Output # mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/cdrom0Code Example 2-1Typical Install Script Output Reboot the system to load the driver Verifying the Software Installation# reboot -r # modinfo grep Ixge# ifconfig ixge0 plumb ip-addressup Configuring the Network Host Files# grep ixge /etc/pathtoinst /pci@9,600000/ethernet@1 0 ixge Ifconfig ethnumber down ifconfig ethnumber up # Internet host table Localhost Zardoz Loghost Zardoz-11 # cat /etc/hostsPage Gigabit Ethernet Device Driver Parameters Configuring Driver ParametersFlow Control Parameters Gigabit Ethernet Driver Parameter Values and Definitions1ixge Driver Parameter, Status, and Descriptions 2Read-Write Flow Control Keyword Descriptions Interrupt Parameters3RX Blanking Register for Alias Read Set the instance to accept jumbo frames Jumbo FramesPlumb the interface up To Configure Jumbo Frames in a Linux Environment Setting ixge Driver ParametersSetting Parameters Using the ndd Utility Use the instance number to select the device To Specify Device Instances for the ndd Utility# ndd -set /dev/ixge instance number # ndd -set /dev/ixge parameter value To modify a parameter value, use the -setoption# ndd /dev/ixge parameter # ndd /dev/ixge# ndd -get /dev/ixge \? Setting Parameters Using the ixge.conf FileMan prtconf # 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 ixge1 grep link Use the kstat command to discover link settings# kstat ixge0 grep macmtu 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 SoftwareUpdating SunVTS to Recognize the Adapter To Update SunVTS to Recognize the AdapterTable B-1SunVTS Documentation 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-ROMCheck to see if vlan drivers are installed on the system Install the patch# /usr/bin/pkginfo SUNWvld SUNWvldx # pkgadd -d /Solaris9/i386/Packages Select the packages you want to installTo Set Up the Driver in a Linux Platform Setting Up the Driver in a Linux PlatformBuild the 10-Gigabit Ethernet driver Change to the rpm directory Build the man pages optionalLoad ixge driver for all instances Add the ixge interfaces to the /etc/modules.conf file Verify that the driver is loaded# lsmod # dmesg# ethtool eth3 Setting Driver Parameters in a Linux EnvironmentLoad the Sun 10-Gigabit Ethernet PCI-X device driver To Set ixge Parameters in a Linux Environment# rmmod ixge # modprobe ixge option=VAL1, VAL2Valid Range 0-3 0=none, 1=Rx only, 2=Tx only, 3=Rx&Tx Configure ixge vlan eth2 in this example To Configure VLANs in a Linux EnvironmentEnsure that the ixge module is loaded Insert the vlan moduleConfigure bond0 interface To Configure Bonding for Multiple ixge InterfacesModify /etc/modules.conf file by adding these lines Load the bonding driverVlan 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.