Chapter 4
Configuring Driver Parameters
47
To set parameters so they remain in effect after you reboot the system, create a
/platform/sun4u/kernel/drv/ce.conf
file and 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
ndd
utility supports any networking driver that implements the Data
Link Provider Interface (DLPI).
The following sections describe how you can use the
ce
driver and the
ndd
utility to
modify (with the
-set
option) or display (without the
-set
option) the parameters
for each
ce
device.
▼
To Specify Device Instances for the
ndd
Utility
Before you use the
ndd
utility to get or set a parameter for a
ce
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.
In this example, the Gigabit Ethernet instance is from the installed adapter. The
instance number is in bold italics for clarity.
2. Use the instance number to select the device.
The device remains selected until you change the selection.
Noninteractive and Interactive Modes
You can use the
ndd
utility in two modes:
■
Noninteractive
■
Interactive
# grep ce /etc/path_to_inst
"/pci@8,600000/network@1" 0 "ce"
# ndd -set /dev/
ce-instance-number
Summary of Contents for GCS
Page 8: ...viii Sun GigaSwift Ethernet Adapter Installation and User s Guide August 2004 ...
Page 18: ...x Sun GigaSwift Ethernet Adapter Installation and User s Guide August 2004 ...
Page 58: ...36 Sun GigaSwift Ethernet Adapter Installation and User s Guide August 2004 ...
Page 90: ...68 Sun GigaSwift Ethernet Adapter Installation and User s Guide August 2004 ...
Page 100: ...78 Sun GigaSwift Ethernet Adapter Installation and User s Guide August 2004 ...
Page 110: ...88 Sun GigaSwift Ethernet Adapter Installation and User s Guide August 2004 ...
Page 114: ...92 Sun GigaSwift Ethernet Adapter Installation and User s Guide August 2004 ...