Oracle Audio Technologies SunDual 10GbE XFP manual # modprobe nxge

Page 21

Note – In RHEL5.0 and later releases, the driver is packaged in the kmod driver binary package format. This packaging allows forward and backward driver binary compatibility within the same flavors of RHEL5 releases. Driver packages nxge version 2.0.0 and later are not compatible with the earlier nxge-1.x-xreleases. To upgrade from 1.x-x to 2.x.x rpm package, it is necessary to remove nxge-1.x- x package before installing the 2.x.x package.

The RHEL5 nxge 2.x.x kmod package contains two separate packages: One for the driver and another one for applications like nxge_config. You must install both of the following packages:

kmod-nxge-rhel-2.0-1.x86_64.rpm

(driver binary package)

nxge-apps-rhel-2.0-1.x86_64.rpm

(application package)

To install the complete package, enter the following:

#rpm -ivh nxge-apps-rhel-2.0-1.x86_64.rpm kmod-nxge-rhel-2.0-1.x86_64.rpm

To ensure that the driver is loaded after the rpm installation, enter the following:

#modprobe nxge

5.Verify the new network interface instances corresponding to the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Profile Adapter:

# ifconfig -a grep eth

 

eth0

Link encap:Ethernet

HWaddr 00:14:4F:20:F1:DC

eth1

Link encap:Ethernet

HWaddr 00:14:4F:20:F1:DD

eth2

Link encap:Ethernet

HWaddr 00:14:4F:20:F1:DE

eth3

Link encap:Ethernet

HWaddr 00:14:4F:20:F1:DF

eth4

Link encap:Ethernet

HWaddr 00:14:4F:6C:78:E8

eth5

Link encap:Ethernet

HWaddr 00:14:4F:6C:78:E9

 

 

 

The Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Profile Adapter instances, eth4 and eth5, are shown in bold italics.

6.Add the nxge interfaces to the /etc/modules.conf file to automatically load the driver after system reboot:

alias eth4 nxge alias eth5 nxge

Chapter 2 Installing and Setting Up the Driver

11

Image 21
Contents Sun Dual 10GbE XFP PCI Express Card Please Recycle Contents Configuring the nxge Device Driver Parameters Network ConfigurationConfiguring the Jumbo Frames Feature Configuring Link AggregationConfiguring VLANs Specifications Diagnostic SoftwareIndex Using Unix Commands Using This DocumentationShell Prompts Related Documentation Documentation, Support, and TrainingDocumentation Feedback Sun Dual 10GbE XFP PCI Express Card User’s Guide May Product Overview ComponentsProduct Description 1shows the adapter Hardware and Software RequirementsFeatures EMC Declaration of ConformityDate Sun Dual 10GbE XFP PCI Express Card User’s Guide May To Download the Driver on a Solaris Platform Installing and Setting Up the Driver Unpack the tar file Uncompress the gzipped tar file For Sparc systems, change to the following directory For x86 systemsVerify that the nxge driver is installed on the system Select the packages you want to installTo discover the driver packages run the pkginfo command To remove the driver packages run the pkgrm commandDownloading and Installing the Driver on a Linux Platform Login to your system# ifconfig -a grep eth # modprobe nxge To Remove the Driver From a Linux Platform # ethtool -i eth4 driver nxge version# rpm -e nxge-1.0-1 Installing the Adapter Installing the AdapterTo Install the Adapter Installing the Adapter Sun Dual 10GbE XFP PCI Express Card User’s Guide May Install the optical transceivers Installing an Optical TransceiverTo Install an Optical Transceiver Installing the Adapter To Verify the Hardware Installation Verifying the Hardware InstallationConnect the Ethernet cables Ok show-netsOk .properties Ok cd /pci@7c0/pci@0/pci@8/network@0,1Rebooting the System Ok boot -rOk device-end Configuring the Network Host Files Network Configuration# grep nxge /etc/pathtoinst # ifconfig nxge0 plumb ip-addressup# cat /etc/hosts To Set Up a 10-Gigabit Ethernet Port on a Diskless Client Edit the hosts file in the diskless client’s root directoryExport/root/client-name Network Configuration Find the root directory of the client system # grep client-name /etc/bootparamsOk boot /pci@7c0/pci@0/pci@8/network@0 Proceed with the Solaris Operating System installationShut down and halt the client system # shutdown -i0 -g0 -y# dladm show-dev To Boot Over the Network on Solaris x86 and Linux SystemsRefer the boot-device-order image Image pxe-mac-addr Press the F12 key to install the OS from the networkNxge Hardware and Software Overview Configuring the nxge Device Driver ParametersSetting nxge Driver Parameters on a Solaris Platform Setting Parameters Using the ndd UtilityNoninteractive and Interactive Modes To Specify Parameter Values Using the ndd Utility To Specify Device Instances for the ndd UtilityTo modify a parameter value, use the -setoption Setting Parameters Using the nxge.conf File # ndd /dev/nxge1 name to get/set ?Man prtconf Following parameters can be set using To Set Driver Parameters Using an nxge.conf FileLocate the path names and the associated instance numbers Set the parameters for the nxge devicesSun Dual 10GbE XFP PCI Express Card User’s Guide May Configuring the nxge Device Driver Parameters Class-opt-ipv4-tcp = 100 class-opt-ipv4-udp = Reboot the system Tuning for Maximum Performance on a Solaris Platform# reboot -r Save the nxge.conf fileTo Improve Performance on an AMD CPU Based Sun Platform Set ipipsqueuefanout=1 set ipsqueuesoftring=1Set ddimsixalloclimit=1 Configuring the nxge Device Driver Parameters To Set Parameters Using the ethtool Utility Setting Parameters on a Linux PlatformConfiguring the nxge Device Driver Parameters Following are some common parameters that can be changed # ethtool -k eth4 # ethtool -C eth4 rx-usecs # ethtool -c eth4# /usr/local/bin/nxgeconfig eth4 get classoptipv4udp # /usr/local/bin/nxgeconfig eth4 get# /usr/local/bin/nxgeconfig eth4 set classoptipv4tcp 0xfe0 Tuning for Maximum Performance on a Linux PlatformNet.ipv4.tcpsack = Net.core.netdevmaxbacklog =# sysctl -p /etc/sysctlnxge.conf Set up the sysctl utilityConfiguring the Jumbo Frames Feature Checking Jumbo Frames ConfigurationsJumbo Frames Overview To Show the Driver Statistics in a Solaris Environment # kstat nxge1 grep rdcpackets# kstat Nxge38001 To Check Layer 2 Configuration Enabling Jumbo Frames in a Solaris EnvironmentSet the maximum MTU for maximum performance To Enable Jumbo Frames in a Linux Environment To Check Layer 3 ConfigurationEnsure that the nxge software is installed Enabling Jumbo Frames in a Linux EnvironmentTo Show the Driver Statistics in a Linux Environment # ifconfig eth4Sun Dual 10GbE XFP PCI Express Card User’s Guide May Overview of Link Aggregation Configuring Link AggregationTo Configure Link Aggregation in a Solaris Environment Configuring Link Aggregation in a Solaris Environment# ifconfig aggr33 plumb Use the dladm show-aggr-scommand to display statistics# ifconfig aggr33 192.168.1.1/24 broadcast + up # dladm show-aggr -sTo Configure Bonding for Multiple nxge Interfaces Configuring Link Aggregation in a Linux EnvironmentConfigure bond0 interface Load the bonding driverOverview of VLANs Configuring VLANs1shows an example network that uses VLANs Configuring VLANs in a Solaris Environment To Configure Static VLANs To Configure VLANs in a Linux Environment Configuring VLANs in a Linux Environment# ifconfig -a Ensure that the nxge module is loaded# /sbin/vconfig add eth2 Configure the nxge Vlan eth2 in this example# ifconfig eth2.5 xxx.xxx.xx.xxx up Insert the Vlan moduleConnectors SpecificationsTable A-1XFP Connector Characteristics Performance SpecificationsPower Requirements Physical CharacteristicsSun Dual 10GbE XFP PCI Express Card User’s Guide May SunVTS Diagnostic Software Diagnostic SoftwareUpdating SunVTS to Recognize the Adapter To Update SunVTS to Recognize the AdapterTo Use the netlbtest Using the SunVTS netlbtestSun Dual 10GbE XFP PCI Express Card User’s Guide May Index SymbolsSun Dual 10GbE XFP PCI Express Card User’s Guide May