Sun Microsystems Ethernet PCI-X Adapter manual To Set Driver Parameters Using a ixge.conf File

Page 43

To Set Driver Parameters Using a ixge.conf File

1.Obtain the hardware path names for the ixge devices in the device tree.

a.Check the /etc/driver_aliases file to identify the name associated with a particular device:

#grep ixge /etc/driver_aliases ixge "pci8086,1048.108e.7036"

Note – ixge "pci8086,1048.108e.7036" is used by the Sun 10-Gigabit Ethernet adapter.

b. Locate the path names and the associated instance numbers in the /etc/path_to_inst file.

#grep ixge /etc/path_to_inst "/pci@9,600000/ethernet@1" 0 "ixge"

Chapter 3 Configuring Driver Parameters 27

Image 43
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 cd /pci@9,600000/ethernet@1 Ok .properties Rebooting the SystemOk boot -r View the .properties file for a list of device propertiesUsing the Installation Script Installing the Adapter With Dynamic ReconfigurationTo Install the Software Using 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# 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 /dev/ixge To modify a parameter value, use the -setoption# ndd -set /dev/ixge parameter value # ndd /dev/ixge parameter# 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 # 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.