Sun Microsystems Sun Quad Setting qfe Driver Parameters, Setting Parameters Using the ndd Utility

Page 44

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:

Add the parameter values to the /etc/system file when you want to configure parameters for all devices in the system.

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 -setoption) or display (without the -setoption) 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.

30 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997

Image 44
Contents Sun Quad FastEthernet PCI Adapter Installation User’s Guide Please Recycle Regulatory Compliance Statements DOC Class a Notice Avis DOC, Classe a EMC Page Contents Specifications Running Diagnostics Tests Page Preface How This Book Is OrganizedUnix Commands Related DocumentsTypographic Conventions Shell PromptsTable P-1SunExpress Contact Information Ordering Sun DocumentsSun Welcomes Your Comments Product Overview 1Sun Quad FastEthernet PCI adapterFeatures 2Sun Quad FastEthernet PCI adapter Back PanelChecking the OpenBoot Prom Revision Level Displaying the OpenBoot Prom Revision LevelHardware and Software Requirements 1Hardware and Software RequirementsPage Installing the Adapter Using a text editor, add the following line to the endInstalling the Adapter Verifying the Installation Ok show-devsExamining Network Activity Rebooting the System Perform a reconfiguration boot on the systemPage Configuring the Host Files Configuring the Driver SoftwareInstalling the Driver Software Etc/hosts file Reboot your system # cat /etc/hostsBooting From the Network At the ok prompt typePost-Installation Procedures Optional Configuring Driver ParametersIncreasing TCP/IP Performance As superuser root, typeForcing Network Speed Between 10 Mbps and 100 Mbps TypeAuto-Negotiation Local-mac-address Property Table A-1Physical Dimensions SpecificationsPhysical Dimensions Power Requirements Performance SpecificationsTable A-2Power Requirements Table A-3Performance SpecificationsInterface Signals Ethernet channelsPage Configuring the Quad FastEthernet Device Driver Parameters Internal TransceiverDriver Parameter Values and Definitions Qfe Driver Parameter, Status, and DescriptionsDefining the Current Status Inter-Packet Gap ParametersTable B-1qfe Driver Parameter, Status, and Descriptions Table B-2Read-Only Parameters Defining the Current StatusIpg1 = 8 default at initialization Table B-4Parameters Defining lancemode and ipg0 Operational Mode ParametersTable B-5Operational Mode Parameters Defining the Number of Back-to-Back Packets to Transmit Reporting Transceiver CapabilitiesTable B-6Back-to-back Packet Transmission Capability Table B-7Read-Only Transceiver CapabilitiesReporting the Link Partner Capabilities Table B-8Read-Only Link Partner CapabilitiesSetting qfe Driver Parameters Setting Parameters Using the ndd UtilityTo Specify the Device Instance for the ndd Utility Use the instance number to select the deviceUsing the ndd Utility in Non-Interactive Mode To modify a parameter value, use the -setoption# ndd /dev/qfe \? Setting Forced Mode Setting Parameters in the /etc/system File Table B-9Setting Variables in the /etc/system FileSetting Parameters Using the qfe.conf File Setting the ipg1 and ipg2 ParametersSetting ipg Driver Parameters Using a qfe.conf File Etc/pathtoinst fileSet the ipg1 and ipg2 parameters for the above four devices Kernel/drv/qfe.conf fileRunning Diagnostics Tests Using the OpenBoot Prom FCode SelftestRunning the Ethernet FCode Selftest Diagnostic Reset the systemShut down the system Type show-devsto display the list of devicesOk setenv diag-switch? false Set the auto-boot?configuration parameter to true Reset and reboot the systemIndex EditingEditing, 11 example Creating, 12 editing, 11 examplesLEDs Watch-net-all output Page Ordering Sun Documents AIR Mail PAR Avion