Chapter 3 Configuring Driver Parameters 33
Setting vca Driver Parameters
Youcan set the vca device driver parameters in two ways:
Using the ndd utility
Using the vca.conf file
If you use the ndd utility,the parameters are valid only until you reboot the system.
This method is good for testing parameter settings.
Toset parameters so they remain in effect after you reboot the system, create a
/kernel/drv/vca.conf file and add parameter values to this file when you need
to set a particular parameter for a device in the system. See “ToSet Driver
Parameters Using a vca.conf File” on page 38 for details.

Setting Parameters Using the ndd Utility

Use the ndd utility to configure parameters that are valid until you reboot the
system.
The following sections describe how you can use the vca driver and the ndd utility
to modify (with the -set option) or display (without the -set option) the
parameters for each vca device.

To Specify Device Instances for the ndd Utility

Before you use the ndd utility to get or set a parameter for a vca device, you must
specify the device instance for the utility.
1. Check the /etc/path_to_inst file to identify the instance number associated
with a particular device. Refer to the online manual pages for path_to_inst(4).
In the previous example, the three Sun Crypto Accelerator 4000 Ethernet instances
are from the installed adapters. The instance numbers are 0 and 1.
2. Use the instance number to select the device.
#grep vca /etc/path_to_inst
"/pci@8,600000/network@1" 0 "vca"
"/pci@8,700000/network@1" 1 "vca"
#ndd -set /dev/vcaN