C H A P T E R 3 |
Parameter Definitions |
This chapter describes the parameters and settings for the eri device driver.
The following sections describe the permitted values for the eri driver parameters, which are listed in Driver Parameter Values and Definitions .
Defining the Current Status , Table 3-2.
Inter-Packet Gap Parameters , Table 3-3.
Define extra delay see Defining an Additional Delay Before Transmitting a Packet Using lance_mode and ipg0 , Table 3-4.
Operational mode parameters see Operational Mode Parameters , Table 3-5.
Operational mode parameters see Operational Mode Priorities , Table 3-6.
Defining the Number of Back-to-Back Packets to Transmit , Table 3-7.
Reporting transceiver capabilities see Reporting Transceiver Capabilities , Table 3-8.
Reporting the Link Partner Capabilities , Table 3-9.
Defining the Current Status | |||
Defining the Number of Back-to-Back Packets to Transmit | |||
Defining an Additional Delay Before Transmitting a Packet Using lance_mode and ipg0 |
|||
The read-only parameters described in the following table explain the operational mode of the interface. These parameters define the current status.
The Ethernet function unit of RIO ASIC supports programmable Inter-Packet Gap (IPG) parameters ipg1 and ipg2 . The total IPG is the sum of ipg1 and ipg2 . The total IPG is 9.6 microseconds when the link speed set by the auto-negotiation protocol is 10 Mbps. When the link speed is 100 Mbps, the total IPG is 0.96 microseconds.
The following table lists the default values and allowable values for the IPG parameters, ipg1 and ipg2 .
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.
The Ethernet function unit of RIO ASIC supports a programmable mode called lance_mode . The ipg0 parameter is associated with lance_mode .
After a packet is received with lance_mode enabled (default), an additional delay is added by setting the ipg0 parameter before transmitting the packet. This delay, set by the ipg0 parameter, is in addition to the delay set by the ipg1 and ipg2 parameters. The additional delay set by ipg0 helps to reduce collisions. Systems that have lance_mode enabled might not have enough time on the network.
If lance_mode is disabled, the value of ipg0 is ignored and no additional delay is set. Only the delays set by ipg1 and ipg2 are used. Disable lance_mode if other systems usually send a large number of back-to-back packets.
You can enable the additional delay by setting the ipg0 parameter from 0 to 31, which is the nibble time delay. Nibble time is the time it takes to transfer four bits on the link. If the link speed is 10 Mbps, nibble time is equal to 400 ns. If the link speed is 100 Mbps, nibble time is equal to 40 ns.
For example, if the link speed is 10 Mbps, and you set ipg0 to 20 nibble times, multiply 20 by 400 ns to get 8000 ns. If the link speed is 100 Mbps, and you set ipg0 to 30 nibble times, multiply 30 by 40 ns to get 1200 ns.
The following table defines the lance_mode and ipg0 parameters.
Additional IPG before transmitting a packet (after receiving a packet) |
Note Note - The default value of ipg0 is 16 nibble-times, which is 6.4 microseconds for 10 Mbps and 0.64 microseconds for 100 Mbps. |
The following table describes the operational mode parameters and their default values.
TABLE 3-6 Operational Mode Priorities lists the priority of the operational mode parameters. When the eri driver negotiates with a partner on the network, it implements the operational mode in the order shown in TABLE 3-6 Operational Mode Priorities .
The pace_size parameter (see the following table) 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..
Number of back-to-back packets transmitted at one time
No limit to the number of back-to-back packets that can be
|
The following table describes the read-only transceiver capabilities. These parameters define the capabilities of the hardware. The local transceiver can support all of these capabilities.
The following table describes the read-only link partner capabilities.
If the link partner is not capable of auto-negotiation (when lp_autoneg_cap is 0), the information described in the previous table is not relevant and the parameter value = 0.
If the link partner is capable of auto-negotiation (when lp_autoneg_cap is 1) then the speed and mode information is displayed when you use auto-negotiation and get the link partner capabilities.
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.