Setting qfe driver parameters, Setting parameters using the ndd utility, Identifying device instances – Sun Microsystems 805-1797-10 User Manual
Page 47
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.
Setting
qfe
Driver Parameters
You can set the
qfe
device driver parameters in three ways (
ndd
,
/etc/system
,
and
qfe.conf
), depending on your needs. To set parameters that are valid until you
reboot the system, use the
ndd
utility. Using
ndd
is a good way to test parameter
settings.
To set parameters so they remain in effect after you reboot the system:
4
Add the parameter values to the
/etc/system
file when you want to configure
parameters for all devices in the system.
4
Create a
/kernel/drv/qfe.conf
file and add parameter values to the 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
ndd
utility supports any networking driver, which implements the Data
Link Provider Interface (DLPI).
The following sections describe how you can use the
qfe
driver and the
ndd
utility
to modify (with the
-set
option) or display (without the
-set
option) the
parameters for each
SUNW,qfe
device.
Identifying Device Instances
Before you use the
ndd
utility to get or set a parameter for a
qfe
device, you must
specify the device instance for the utility since there will be at least four
SUNW,qfe
devices.
To Specify the Device Instance for the
ndd
Utility
1. Check the
/etc/path_to_inst
file to identify the instance associated with a
particular device.
# grep qfe /etc/path_to_inst
"/pci@1f,2000/pci@2/SUNW,qfe@0,1" 4 "qfe"
Configuring the Quad FastEthernet Device Driver Parameters
33