Solaris Nxge Driver For Mac

воскресенье 26 апреляadmin

Stivali Negozio Drivers. Italian blogger, publisher, game dev and social person. This blog he created for sharing drivers with his friends. Totally he did publish 2 million driver files. So no matter what device do you have. You can find its drivers on this blog. Recommend it to all your friends, please. C H A P T E R Installing and Setting Up the Driver This chapter explains how to download and install the nxge driver. The nxge gigabit Ethernet driver (nxge(7D)) is a multi-threaded, loadable, clonable, GLD-based STREAMS driver. The nxge driver is managed by the dladm(1M) command line utility, which allows VLANs to be defined on top of nxge.

Sun Quad GbE UTP x8 PCIe ExpressModule User’s Guide
C H A P T E R 5
Configuring the nxge Device Driver Parameters

The nxge device driver controls the Sun Quad Gigabit Ethernet interfaces. You can manually set the nxge driver parameters to customize each device in your system.

This chapter lists the available device driver parameters and describes how you can set these parameters.

nxge Hardware and Software Overview

The Sun Quad GbE UTP x8 PCIe ExpressModule provides four Gigabit full-duplex networking interfaces. The device driver automatically sets the link speed to 1000 Mbit/sec and conforms to the IEEE 802.3ad Ethernet standard. Each interface has 4 receive DMA channels and 6 transmit DMA channels to allow for parallel processing of the packets.

The Sun Quad GbE UTP x8 PCIe ExpressModule extends CPU and OS parallelism to networking with its support for hardware-based flow classification and multiple DMAs. Using CPU thread affinity to bind a given flow to a specific CPU thread, the ExpressModule enables a one-to-one correlation of Rx and Tx packets across the same TCP connection. This can help avoid cross-calls and context switching to deliver greater performance while reducing the need for CPU resources to support I/O processing. The Sun Quad GbE UTP x8 PCIe ExpressModule uses the Sun innovative MAC controller.

Setting nxge Driver Parameters on a Solaris Platform

You can set the nxge device driver parameters in two ways:

  • Using the ndd utility
  • Using the nxge.conf file

If you use the ndd utility, the parameters are valid only until you reboot the system. This method is good for testing parameter settings.


To Set the Driver Parameters

To set parameters so they remain in effect after you reboot the system, perform the following procedure:

1. Create an nxge.conf file:

2. Add parameter values to this file when you need to set a particular parameter for a device in the system.

Setting Parameters Using the ndd Utility

Use the ndd utility to configure parameters that are valid until you reboot the system.

The following sections describe how you can use the nxge driver and the ndd utility to modify (with the -set option) or display (without the -set option) the parameters for each nxge device.

Noninteractive and Interactive Modes

You can use the ndd utility in two modes:

  • Noninteractive
  • Interactive

In Noninteractive mode, you invoke the utility to execute a specific command. Once the command is executed, you exit the utility. In Interactive mode, you can use the utility to get or set more than one parameter value. Refer to the ndd(1M) man page for more information.


To Specify Device Instances for the ndd Utility

Before you use the ndd utility to get or set a parameter for a nxge device, you must specify the device instance for the utility.

1. Check the /etc/path_to_inst file to identify the instance associated with a particular device.


To Specify Parameter Values Using the ndd Utility

This section describes how to modify and display parameter values.

1. Use the -set option to modify a parameter.

If you invoke the ndd utility with the -set option, the utility passes value, which must be specified, down to the named /dev/nxgedriver-instance, and assigns the value to the parameter:



where number is the driver instance, for example /dev/nxge0, /dev/nxge1.

2. Display the value of a parameter by specifying the parameter name and omitting the value.

When you omit the -set option, the utility queries the named driver instance, retrieves the value associated with the specified parameter, and prints it:


To Use the ndd Utility in Interactive Mode

1. Modify a parameter value in interactive mode by specifying ndd /dev/nxgenumber:



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

2. List all the parameters supported by the nxge driver, by typing ?.

Setting Parameters Using the nxge.conf File

Specify the driver parameter properties for each device by creating a nxge.conf file in the /platform/sun4v/kernel/drv/sparcv9/ 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 a Man Page

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:


To Set Driver Parameters Using an nxge.conf File

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

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



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

In this example:

  • The first part within the double quotes specifies the hardware node name in the device tree.
  • The number not enclosed in quotes is the instance number (shown in bold italics for emphasis).
  • The last part in double quotes is the driver name.

To identify a PCIe device unambiguously in the nxge.conf file, use the name, parent name, and the unit-address for the device. Refer to the pci(4) man page for more information about the PCIe device specification.

In this example:

  • name = 'pciex108e,abcd'
  • parent = '/pci@7c0/pci@0/pci@9/'
  • unit-address = '0'

2. Set the parameters for the nxge devices in the /platform/sun4u/kernel/drv/nxge.conf file.

  • The following parameters can be set using the /platform/sun4u/kernel/drv/nxge.conf file.


  • The following parameters operate on a per port basis and can be set using the /platform/sun4u/kernel/drv/nxge.conf file.
  • In the following example, the ports of all the Sun Quad GbE UTP x8 PCIe ExpressModules are being set for load balancing Rx traffic based on IP source address. The default value is F80, indicating Rx load balancing based on IP 5-tuple. Notice the semicolon at the end of the last parameter.


The following example shows ports on two different cards being set. Only one node needs to be specified.

3. Save the nxge.conf file. Download maze games for mac.


Sun Quad GbE UTP x8 PCIe ExpressModule User’s Guide820-1609-12

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.