Oracle Audio Technologies SunDual 10GbE XFP manual Setting Parameters Using the nxge.conf File

Page 46

After you enter the parameter name, the ndd utility prompts you for the parameter value.

2. To list all the parameters supported by the nxge driver, type ?.

#ndd /dev/nxge1 name to get/set ?

?

(read only)

function_number

(read only)

adv_autoneg_cap

(read and write)

adv_10gfdx_cap

(read and write)

adv_1000fdx_cap

(read and write)

adv_100fdx_cap

(read and write)

adv_10fdx_cap

(read and write)

adv_pause_cap

(read and write)

accept_jumbo

(read and write)

rxdma_intr_time

(read and write)

rxdma_intr_pkts

(read and write)

class_opt_ipv4_tcp

(read and write)

class_opt_ipv4_udp

(read and write)

class_opt_ipv4_ah

(read and write)

class_opt_ipv4_sctp

(read and write)

class_opt_ipv6_tcp

(read and write)

class_opt_ipv6_udp

(read and write)

class_opt_ipv6_ah

(read and write)

class_opt_ipv6_sctp

(read and write)

Setting Parameters Using the nxge.conf File

Specify the driver parameter properties for each device by creating a nxge.conf file in the /kernel/drv directory. Use a nxge.conf file when you need to set a particular parameter for a device in the system.

The man pages for prtconf(1M) and driver.conf(4) include additional details. The next procedure shows an example of setting parameters in a nxge.conf file.

To access any man page, type the man command plus the name of the man page.

For example, to access man pages for prtconf(1M), type:

%man prtconf

36 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010

Image 46
Contents Sun Dual 10GbE XFP PCI Express Card Please Recycle Contents Network Configuration Configuring the nxge Device Driver ParametersConfiguring Link Aggregation Configuring the Jumbo Frames FeatureConfiguring VLANs Diagnostic Software SpecificationsIndex Using This Documentation Using Unix CommandsShell Prompts Documentation, Support, and Training Related DocumentationDocumentation Feedback Sun Dual 10GbE XFP PCI Express Card User’s Guide May Components Product OverviewProduct Description Hardware and Software Requirements 1shows the adapterFeatures Declaration of Conformity EMCDate Sun Dual 10GbE XFP PCI Express Card User’s Guide May Installing and Setting Up the Driver To Download the Driver on a Solaris PlatformFor Sparc systems, change to the following directory Uncompress the gzipped tar fileUnpack the tar file For x86 systemsTo discover the driver packages run the pkginfo command Select the packages you want to installVerify that the nxge driver is installed on the system To remove the driver packages run the pkgrm commandLogin to your system Downloading and Installing the Driver on a Linux Platform# ifconfig -a grep eth # modprobe nxge # ethtool -i eth4 driver nxge version To Remove the Driver From a Linux Platform# 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 Installing an Optical Transceiver Install the optical transceiversTo Install an Optical Transceiver Installing the Adapter Connect the Ethernet cables Verifying the Hardware InstallationTo Verify the Hardware Installation Ok show-netsOk cd /pci@7c0/pci@0/pci@8/network@0,1 Ok .propertiesOk boot -r Rebooting the SystemOk device-end Network Configuration Configuring the Network Host Files# ifconfig nxge0 plumb ip-addressup # grep nxge /etc/pathtoinst# cat /etc/hosts Edit the hosts file in the diskless client’s root directory To Set Up a 10-Gigabit Ethernet Port on a Diskless ClientExport/root/client-name Network Configuration # grep client-name /etc/bootparams Find the root directory of the client systemShut down and halt the client system Proceed with the Solaris Operating System installationOk boot /pci@7c0/pci@0/pci@8/network@0 # shutdown -i0 -g0 -yTo Boot Over the Network on Solaris x86 and Linux Systems # dladm show-devRefer the boot-device-order image Press the F12 key to install the OS from the network Image pxe-mac-addr Configuring the nxge Device Driver Parameters Nxge Hardware and Software OverviewSetting Parameters Using the ndd Utility Setting nxge Driver Parameters on a Solaris PlatformNoninteractive and Interactive Modes To Specify Device Instances for the ndd Utility To Specify Parameter Values Using the ndd UtilityTo modify a parameter value, use the -setoption # ndd /dev/nxge1 name to get/set ? Setting Parameters Using the nxge.conf FileMan prtconf Locate the path names and the associated instance numbers To Set Driver Parameters Using an nxge.conf FileFollowing parameters can be set using 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 -r Tuning for Maximum Performance on a Solaris PlatformReboot the system Save the nxge.conf fileSet ipipsqueuefanout=1 set ipsqueuesoftring=1 To Improve Performance on an AMD CPU Based Sun PlatformSet ddimsixalloclimit=1 Configuring the nxge Device Driver Parameters Setting Parameters on a Linux Platform To Set Parameters Using the ethtool UtilityConfiguring the nxge Device Driver Parameters Following are some common parameters that can be changed # ethtool -C eth4 rx-usecs # ethtool -c eth4 # ethtool -k eth4# /usr/local/bin/nxgeconfig eth4 get # /usr/local/bin/nxgeconfig eth4 get classoptipv4udpNet.ipv4.tcpsack = Tuning for Maximum Performance on a Linux Platform# /usr/local/bin/nxgeconfig eth4 set classoptipv4tcp 0xfe0 Net.core.netdevmaxbacklog =Set up the sysctl utility # sysctl -p /etc/sysctlnxge.confChecking Jumbo Frames Configurations Configuring the Jumbo Frames FeatureJumbo Frames Overview # kstat nxge1 grep rdcpackets To Show the Driver Statistics in a Solaris Environment# kstat Nxge38001 Enabling Jumbo Frames in a Solaris Environment To Check Layer 2 ConfigurationSet the maximum MTU for maximum performance Ensure that the nxge software is installed To Check Layer 3 ConfigurationTo Enable Jumbo Frames in a Linux Environment Enabling Jumbo Frames in a Linux Environment# ifconfig eth4 To Show the Driver Statistics in a Linux EnvironmentSun Dual 10GbE XFP PCI Express Card User’s Guide May Configuring Link Aggregation Overview of Link AggregationConfiguring Link Aggregation in a Solaris Environment To Configure Link Aggregation in a Solaris Environment# ifconfig aggr33 192.168.1.1/24 broadcast + up Use the dladm show-aggr-scommand to display statistics# ifconfig aggr33 plumb # dladm show-aggr -sConfigure bond0 interface Configuring Link Aggregation in a Linux EnvironmentTo Configure Bonding for Multiple nxge Interfaces Load the bonding driverConfiguring VLANs Overview of VLANs1shows an example network that uses VLANs Configuring VLANs in a Solaris Environment To Configure Static VLANs # ifconfig -a Configuring VLANs in a Linux EnvironmentTo Configure VLANs in a Linux Environment Ensure that the nxge module is loaded# ifconfig eth2.5 xxx.xxx.xx.xxx up Configure the nxge Vlan eth2 in this example# /sbin/vconfig add eth2 Insert the Vlan moduleSpecifications ConnectorsPerformance Specifications Table A-1XFP Connector CharacteristicsPhysical Characteristics Power RequirementsSun Dual 10GbE XFP PCI Express Card User’s Guide May Diagnostic Software SunVTS Diagnostic SoftwareTo Update SunVTS to Recognize the Adapter Updating SunVTS to Recognize the AdapterUsing the SunVTS netlbtest To Use the netlbtestSun Dual 10GbE XFP PCI Express Card User’s Guide May Symbols IndexSun Dual 10GbE XFP PCI Express Card User’s Guide May