Sun Microsystems Solaris 7 User Manual
Sun Microsystems Solaris 7 User Manual

Sun Microsystems Solaris 7 User Manual

Platform notes: the sun gigabitethernet device driver

Advertisement

Quick Links

Platform Notes: The Sun™
GigabitEthernet Device Driver
Solaris™ 7
Sun Microsystems, Inc.
901 San Antonio Road
Palo Alto, CA 94303-4900
U.S.A
Part No.: 805-7945-10
March 1999, Revision A
Send comments about this document to:
docfeedback@sun.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Solaris 7 and is the answer not in the manual?

Questions and answers

Summary of Contents for Sun Microsystems Solaris 7

  • Page 1 Platform Notes: The Sun™ GigabitEthernet Device Driver Solaris™ 7 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A Part No.: 805-7945-10 March 1999, Revision A Send comments about this document to: docfeedback@sun.com...
  • Page 2 Etats-Unis et dans d’autres pays et licenciée exclusivement par X/Open Company, Ltd. Sun, Sun Microsystems, le logo Sun, GEM, et Solaris sont des marques de fabrique ou des marques déposées, ou marques de service, de Sun Microsystems, Inc. aux Etats-Unis et dans d’autres pays. Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc.
  • Page 3: Table Of Contents

    Contents Installing and Configuring the ge Device Driver 1 Installing the Driver Software 1 To Install the Driver Software 1 Set Up the Software on Solaris Systems 2 Configuring the Driver Parameters 4 GigabitEthernet MAC 4 Driver Parameter Values and Definitions 5 Defining the Current Status 6 Flow Control Parameters 6 Interpacket Gap Parameters 7...
  • Page 4 To Use the ndd Utility in Non-Interactive Mode 12 To Use the ndd Utility in Interactive Mode 12 To View the ge Driver Parameters 12 Autonegotiation Mode 13 To Set Autonegotiation to Off (Forced Mode) 13 Setting Parameters Using the ge.conf File 14 Understanding the ge.conf File 14 To Set Parameters Using the ge.conf File on an SBus adapter 15 To Set Parameters Using the ge.conf File on a PCI adapter 16...
  • Page 5: Installing And Configuring The Ge Device Driver

    Installing and Configuring the ge Device Driver These Platform Notes include instructions for installing and configuring the software used by the Sun GigabitEthernet adapter. It also contains information for configuring the network. Unless otherwise noted, all instructions apply to both the Sun GigabitEthernet/P adapter and the Sun GigabitEthernet/S adapter.
  • Page 6: Set Up The Software On Solaris Systems

    2. Use the prtconf -pv command to determine if the system already contains a GigabitEthernet (ge) device. For Sun GigabitEthernet/S: # prtconf -pv | grep SUNW,sbus-gem compatible: ’SUNW,sbus-gem’ model: ’SUNW,sbus-gem’ For Sun GigabitEthernet/P: # prtconf -pv | grep SUNW,pci-gem model: ’SUNW,pci-gem’ 3.
  • Page 7 2. Use the grep command to search the /etc/path_to_inst file for ge instances. For Sun GigabitEthernet/P: # grep ge /etc/path_to_inst “/pci@1f,4000/pci@1/network@1” 1 “ge” For Sun GigabitEthernet/S: # grep ge /etc/path_to_inst “/sbus@1f,0/network@1,100000” 1 “ge” In these examples, the 0 instance is for the first GigabitEthernet adapter installed in each system.
  • Page 8: Configuring The Driver Parameters

    Configuring the Driver Parameters This section provides an overview of the capabilities of the GigabitEthernet ASIC used in the adapters, lists the available ge driver parameters, and describes how to configure these parameters. The ge driver controls the Sun GigabitEthernet adapter devices. The Sun GigabitEthernet device is identified as network with the model property SUNW,sbus-gem or SUNW,pci-gem node.
  • Page 9: Driver Parameter Values And Definitions

    Driver Parameter Values and Definitions describes the parameters and settings for the ge driver. TABLE 1 ge Driver Parameters, Status, and Descriptions TABLE 1 Parameter Status Description Read only Defines the current status link_status Read only Defines the current status link_speed Read only Defines the current status...
  • Page 10: Defining The Current Status

    Defining the Current Status The read-only parameters described in explain the operational mode of the TABLE 2 interface. Based on the value of these parameters, you can determine the current status of a link. Read-Only Parameters Defining the Current Status TABLE 2 Parameter Values and Description...
  • Page 11: Interpacket Gap Parameters

    Interpacket Gap Parameters The GEM ASIC supports the programmable Interpacket Gap (IPG) parameters ipg1 and ipg2. The total IPG is the sum of ipg1 and ipg2: 0.096 microseconds for the link speed of 1000 Mbps. lists the default values and allowable values for the IPG parameters, ipg1 TABLE 4 and ipg2.
  • Page 12: Operational Mode Parameters

    defines the lance_mode and ipg0 parameters. TABLE 5 Parameters Defining lance_mode and ipg0 TABLE 5 Parameter Values and Descriptions 0 = lance_mode disabled lance_mode 1 = lance_mode enabled (default) 0 to 30 = Additional IPG before transmitting ipg0 a packet (after receiving a packet) Operational Mode Parameters describes the operational mode parameters and their default values.
  • Page 13: Reporting Local Pcs Capabilities

    Reporting Local PCS Capabilities describes the read-only PCS capabilities that GEM PCS supports. These TABLE 7 parameters define the capabilities of the hardware. Read-Only PCS Capabilities TABLE 7 Parameter Description (Local PCS Capabilities) 1000autoneg_cap 0 = Not capable of autonegotiation 1 = Autonegotiation capable Local PCS Full Duplex capability 1000fdx_cap...
  • Page 14: Setting Ge Driver Parameters

    Read-Only Link Partner Capabilities (Continued) TABLE 8 Parameter Description 0 = No 1000 Mbits/sec half duplex transmission lp_1000hdx_cap 1 = 1000 Mbits/sec half duplex 0 = Not Asymmetric Pause capable lp_asm_dir_cap 1 = Asymmetric Pause toward link partner capability 0 = Not Symmetric Pause capable lp_pause_cap 1 = Symmetric Pause capable If the link partner is not capable of autonegotiation (when lp_1000autoneg_cap is...
  • Page 15: To Specify The Device Instance For The Ndd Utility

    To Specify the Device Instance for the ndd Utility Before you use the ndd utility to get or set a parameter for a ge 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.
  • Page 16: To Use The Ndd Utility In Non-Interactive Mode

    To Use the ndd Utility in Non-Interactive Mode This section describes how to modify and to display parameter values. 1. To modify a parameter value, use the -set option. If you invoke the ndd utility with the -set option, the utility passes value, which must be specified down to the named /dev/ge driver instance, and assigns it to the parameter: # ndd -set /dev/ge parameter value...
  • Page 17: Autonegotiation Mode

    To list all the parameters supported by the ge driver, type ndd /dev/ge \?. (See through for parameter descriptions.) TABLE 1 TABLE 8 # ndd /dev/ge \? (read only) link_status (read only) link_speed (read only) link_mode (read only) ipg1 (read and write) ipg2 (read and write) instance...
  • Page 18: Setting Parameters Using The Ge.conf File

    2. Set adv_1000autoneg_cap to 0. Setting Parameters Using the ge.conf File You can also specify the properties described in this section on a per-device basis by creating a ge.conf file in the /kernel/drv directory. Use a ge.conf file when you need to set a particular parameter for a device in the system. The parameters you set are read and write parameters that are listed in “Driver Parameter Values and Definitions”...
  • Page 19: To Set Parameters Using The Ge.conf File On An Sbus Adapter

    Note – The “name” property in the ge.conf file should be the same value as the “compatible” property. In this case, the value is SUNW,sbus-gem. See page 7 for more information about the .properties file. For Sun GigabitEthernet/P: To identify a PCI device unambiguously in the ge.conf file, use the name, parent name, and the unit-address for the device.
  • Page 20: To Set Parameters Using The Ge.conf File On A Pci Adapter

    To Set Parameters Using the ge.conf File on a PCI adapter 1. Set the ipg1 and ipg2 parameters for the above devices in the kernel/drv/ge.conf file. name=”pci108e,2bad” parent=”/pci@4,4000” unit-address=”4” ipg1=20 ipg2=10; name=”pci108e,2bad” parent=”/pci@6,2000” unit-address=”1” ipg1=20 ipg2=10; name=”pci108e,2bad” parent=”/pci@4,2000” unit-address=”1” ipg1=20 ipg2=10;...
  • Page 21 1. At the command line, use the grep command to search the /etc/path_to_inst file for ge interfaces. For Sun GigabitEthernet/P: The following example shows the device instance from an adapter installed in slot 1. # grep ge /etc/path_to_inst “/pci@1f,4000/network@1” 0 “ge” For Sun GigabitEthernet/S: The following example shows the device instance from an adapter installed in slot 0.
  • Page 22: To Set Up A Diskless Client On A Server

    3. Create an appropriate entry in the /etc/hosts file for each active ge interface. For example: # cat /etc/hosts # Internet host table 127.0.0.1 localhost 129.144.10.57 zardoz loghost 129.144.11.83 zardoz-11 4. If your system does not support Dynamic Reconfiguration (DR), reboot. To Set Up a Diskless Client on a Server You can set up a server so that you can boot and run diskless clients across a GigabitEthernet network.
  • Page 23: To Perform A Net-Install Of The Solaris Environment Over The Ge Interface

    To Perform a Net-Install of the Solaris Environment Over the ge Interface This procedure is applicable only if you are installing the Solaris operating environment over the network using the ge interface. Note – The Solaris CD-ROM cannot be used to perform a net-install since it is a read-only medium.
  • Page 24 3. At the ok prompt, type: ok show-nets The show-nets command lists the system devices. You should see the full path name of the network device, similar to the examples below. For Sun GigabitEthernet/P: a) /pci@1f,0/pci@1/network@3 b) /pci@1f,0/pci@1,1/network@1,1 q) NO SELECTION Enter Selection, q to quit: For Sun GigabitEthernet/S: a) /sbus@1f,0/network@1,100000...

Table of Contents