Sun Microsystems Ethernet Device Driver none Product Manual
Sun Microsystems Ethernet Device Driver none Product Manual

Sun Microsystems Ethernet Device Driver none Product Manual

Sun ethernet device driver product manual

Advertisement

Quick Links

Platform Notes: The hme Fast
Ethernet Device Driver
Sun Microsystems Computer Company
2550 Garcia Avenue
Mountain View, CA 94043 USA
415 960-1300
fax 415 969-9131
Part No: 802-5333-10
Revision A, May 1996

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ethernet Device Driver none and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sun Microsystems Ethernet Device Driver none

  • Page 1 Platform Notes: The hme Fast Ethernet Device Driver Sun Microsystems Computer Company 2550 Garcia Avenue Mountain View, CA 94043 USA 415 960-1300 fax 415 969-9131 Part No: 802-5333-10 Revision A, May 1996...
  • Page 2 Copyright 1996 Sun Microsystems, Inc., 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any.
  • Page 3 Sun, Sun Microsystems, le logo Sun,NFS, Online Backup, Online: DiskSuite, Solstice DiskSuite, X11/NeWS, JumpStart, Sun-4, SunSwift, SunFastEthernet , Enterprise, et Ultra sont des marques déposées ou enregistrées de Sun Microsystems, Inc. aux Etats- Unis et dans d’autres pays. Toutes les marques SPARC, utilisées sous licence, sont des marques déposées ou enregistrées de SPARC International, Inc.
  • Page 5: Table Of Contents

    Contents 1. Introduction to the hme Fast Ethernet Device Driver ..Related Documentation....... . . Typographic Conventions.
  • Page 6 Platform Notes: The hme Fast Ethernet Device Driver—May 1996 Operational Mode Parameters ......Defining the Number of Back-to-Back Packets To Transmit Reporting Transceiver Capabilities .
  • Page 7 Setting Parameters in the /etc/system File ....To set the ipg1 to 10 and ipg2 to 5 when you reboot . Setting Parameters Using the hme.conf File....To set ipg1 to 20 and ipg2 to 10 for the SUNW,hme device in SBus slot 0xe .
  • Page 8 viii Platform Notes: The hme Fast Ethernet Device Driver—May 1996...
  • Page 9: Introduction To The Hme Fast Ethernet Device Driver

    Related Documentation Introduction to the hme Fast Ethernet Device Driver This book describes how to configure the hme driver for the Sun Ultra 1 Series systems, the Sun Ultra 2 Series system, the Ultra Enterprise 3000, 4000, 5000, and 6000 systems, the SunSwift SBus Adapter, and the SunFastEthernet Adapter 2.0.
  • Page 10: Typographic Conventions

    • Typographic Conventions Table 1-1 describes the typographic conventions used in this book. Table 1-1 Typeface or Symbol AaBbCc123 AaBbCc123 AaBbCc123 AaBbCc123 Platform Notes: The hme Fast Ethernet Device Driver—May 1996 Solaris Reference Manual for SMCC-Specific Software: Explains the following man pages: •...
  • Page 11: Shell Prompts In Command Examples

    Bourne shell and Korn shell superuser Ordering Sun Documents The SunDocs Order Desk is a distribution center for Sun Microsystems technical documentation. You can use major credit cards and company purchase orders. You can order documentation in the following ways (see...
  • Page 12: Sun Welcomes Your Comments

    Sun Welcomes Your Comments Please use the Reader Comment Card that accompanies this document. We are interested in improving our documentation and welcome your comments and suggestions. If a card is not available, you can also email or fax your comments to us. Please include the part number of your document in the subject line of your email or fax message.
  • Page 13: The Hme Device Driver

    The hme Device Driver The hme device driver handles the SUNW,hme device on these hardware devices: • • • • • This chapter gives a hardware overview of the SUNW,hme device, provides information on the operating speeds and modes for the SUNW,hme device, and discusses auto-negotiation, the internal transceiver, and the external transceiver for the hme device driver.
  • Page 14: Operating Speeds And Modes

    In addition to the RJ-45 connector, a Media Independent Interface (MII) connector, which is an Ultra DB 40 connector, is also provided on Sun systems. The MII connects to an external transceiver that may use any physical media, such as copper or fiber as specified in the 100BASE-TX standard. When an external transceiver is connected to the MII, the driver selects the external transceiver and disables the internal transceiver.
  • Page 15: Internal Transceiver

    • Selects the highest common denominator mode of operation based on the following priorities: • 100 BASE-T4 • 100 Mbps, full-duplex • 100 Mbps, half-duplex • 10 Mbps, full-duplex • 10 Mbps, half-duplex The link partner is the networking device (system, Ethernet hub, or Ethernet switch) at the other end of the link or cable.
  • Page 16 • • You can also manually select the speed and mode of the link. For example, two transceivers might not support the same mode and speed. Therefore, you must select the highest mode and speed that both transceivers support using the ndd utility.
  • Page 17: Parameter Definitions

    Parameter Definitions This chapter describes the parameters and settings for the hme device driver. Driver Parameter Values and Definitions The following sections describe the hme driver parameters, which are listed in Table 3-1. Table 3-1 Parameter transceiver_inuse link_status link_speed link_mode ipg1 ipg2 use_int_xcvr...
  • Page 18 Table 3-1 Parameter adv_100hdx_cap adv_10fdx_cap adv_10hdx_cap autoneg_cap 100T4_cap 100fdx_cap 100hdx_cap 10fdx_cap 10hdx_cap lp_autoneg_cap lp_100T4_cap lp_100fdx_cap lp_100hdx_cap lp_10fdx_cap lp_10hdx_cap instance lance_mode ipg0 Platform Notes: The hme Fast Ethernet Device Driver—May 1996 hme Driver Parameter, Status, and Descriptions (Continued) Status Read and write Read and write Read and write Read only...
  • Page 19: Defining The Current Status

    Defining the Current Status The read-only parameters described in Table 3-2 explain the operational mode of the interface. These parameters define the current status. Table 3-2 Read-Only Parameters Defining the Current Status Parameter transceiver_inuse link_status link_speed link_mode Inter-Packet Gap Parameters The Fast Ethernet Parallel Port SCSI (FEPS) ASIC supports programmable Inter-Packet Gap (IPG) parameters ipg1 and ipg2.
  • Page 20: Packet Using Lance_Mode And Ipg0

    By default, the driver sets ipg1 to 8-byte time and ipg2 to 4-byte time, which are the standard values. (Byte time is the time it takes to transmit one byte on the link, with a link speed of either 100 Mbps or 10 Mbps.) If your network has systems that use longer IPG (the sum of ipg1 and ipg2) and if those machines seem to be slow in accessing the network, increase the values of ipg1 and ipg2 to match the longer IPGs of other machines.
  • Page 21: Operational Mode Parameters

    Table 3-4 defines the lance_mode and ipg0 parameters. Table 3-4 Parameter lance_mode ipg0 1. The default value is 16 nibble-times, which is 6.4 microseconds for 10 Mbps and 0.64 microseconds for Operational Mode Parameters Table 3-5 describes the operational mode parameters and their default values. Table 3-5 Parameter Values...
  • Page 22 Table 3-5 Parameter Values adv_10fdx_cap adv_10hdx_cap use_int_xcvr 1. The priority (in descending order) for these parameters is: adv_100T4_cap, adv_100fdx_cap, adv_100hdx_cap, adv_10fdx_cap, adv_10hdx_cap Selecting the Internal or External Transceiver Use the use_int_xcvr parameter to change the default behavior. For example, you can select the internal transceiver, even though the driver is capable of selecting the external transceiver.
  • Page 23: Defining The Number Of Back-To-Back Packets To Transmit

    Defining the Number of Back-to-Back Packets To Transmit The pace_size parameter (see Table 3-6) defines the maximum number of back-to-back packets you can transmit at one time. If the value is zero, there is no limit to the number of back-to-back packets that can be transmitted. Table 3-6 Back-to-back Packet Transmission Capability Parameter...
  • Page 24: Reporting The Link Partner Capabilities

    Table 3-7 Parameter 100hdx_cap 10fdx_cap 10hdx_cap The parameters in Table 3-7 define the capabilities of the hardware. The internal transceiver can support all of these capabilities. The capabilities of the external transceiver are dependent on the device. If the external transceiver is not capable of auto-negotiation but has the capability of all speeds and modes (100 Mbps, 10 Mbps, half-duplex, and full-duplex), you must determine the capabilities of the external transceiver.
  • Page 25 Table 3-8 Read-Only Link Partner Capabilities (Continued) Parameter Values Description = No 100Mbit/sec half-duplex transmission lp_100hdx_cap = 100Mbit/sec half-duplex = No 10Mbit/sec full-duplex transmission lp_10fdx_cap = 10Mbit/sec full-duplex = No 10Mbit/sec half-duplex transmission lp_10hdx_cap = 10Mbit/sec half-duplex If the link partner is not capable of auto-negotiation (when lp_autoneg_cap is 0) the information described in Table 3-8 is not relevant and the parameter value=0.
  • Page 26 Platform Notes: The hme Fast Ethernet Device Driver—May 1996...
  • Page 27: Setting Parameters

    Setting Parameters This chapter describes how to configure the hme driver parameters using the ndd utility in the /etc/system file, or in the hme.conf file. Use the ndd utility to configure parameters that are valid until you reboot the system. To configure the hme driver parameters for all devices in the system so that the parameter values are always in effect (even after rebooting the system), enter the parameter values in the /etc/system file.
  • Page 28: Setting Parameters Using Ndd

    To set parameters so they remain in effect after you reboot the system: • • If you want to test parameter settings, use the ndd utility described in Chapter 3. With ndd, the parameters are effective until you reboot the system. To make the parameter settings permanent, enter the values in /etc/system or hme.conf as described in this chapter.
  • Page 29: Non-Interactive And Interactive Modes

    2. Use that instance number to select the device as follows: % ndd -set /dev/hme instance <instance#> The device remains selected until you change the selection. Non-Interactive and Interactive Modes You can use the ndd utility in two modes: • Non-interactive •...
  • Page 30: To Display The Value Of A Parameter

    To display the value of a parameter Using the ndd Utility in Interactive Mode To modify a parameter value in interactive mode After entering the parameter name, the ndd utility prompts you for the parameter value (see Tables 3-1 through 3-8). Platform Notes: The hme Fast Ethernet Device Driver—May 1996 Specify the parameter name (and omit the value).
  • Page 31: To List All The Parameters Supported By The Hme Driver

    To list all the parameters supported by the hme driver Type ndd /dev/hme \?. (Refer to Table 3-1 through 3-8 for parameter descriptions. ) example# ndd /dev/hme \? transceiver_inuse link_status link_speed link_mode ipg1 ipg2 use_int_xcvr pace_size adv_autoneg_cap adv_100T4_cap adv_100fdx_cap adv_100hdx_cap adv_10fdx_cap adv_10hdx_cap autoneg_cap...
  • Page 32: To Select One Of The Five Local Transceiver Capabilities And Set The Mode To Forced Mode

    Setting Forced Mode This section describes how to set forced mode (not capable of auto- negotiation). To select one of the five local transceiver capabilities and set the mode to forced mode 1. Select one of the following capabilities: adv_100T4_cap, 2.
  • Page 33: Setting Parameters In The /Etc/System File

    Configuring TCP/IP for Maximum Performance This section describes how to benchmark the TCP/IP throughput and how to set the TCP/IP hiwater marks for best performance. To benchmark the TCP/IP throughput To set the TCP hiwater marks for best performance Setting Parameters in the /etc/system File To configure the hme driver parameters for all SUNW,hme devices in the system so that the parameter variables are always effective (even after rebooting the system), enter the parameter variables in the /etc/system file.
  • Page 34 Table 4-1 Parameter adv_100T4_cap adv_100fdx_cap adv_100hdx_cap adv_10fdx_cap adv_10hdx_cap lance_mode ipg0 These parameter values, described in Chapter 3, are applicable to all SUNW,hme devices on the system. Refer to Table 3-2 on page 11 through Table 3-8 on page 16 for parameter descriptions. For example: To set the ipg1 to 10 and ipg2 to 5 when you reboot 1.
  • Page 35: Setting Parameters Using The Hme.conf File

    Setting Parameters Using the hme.conf File You can also specify the properties described in the section “Setting Parameters in the /etc/system File” on page 25 on a per device basis by creating the hme.conf file in the /kernel/drv directory. The properties set in the hme.conf file will override the parameters set in the /etc/system file.
  • Page 36 4. Create the hme.conf file in the /kernel/drv directory using a text editor 5. Save the hme.conf file. 6. Save and close all files and exit all programs; exit the windowing system. 7. Reboot the system by typing the init 6 command at the # prompt. Platform Notes: The hme Fast Ethernet Device Driver—May 1996 and add lines similar to the following to the file: •...

Table of Contents