Sun Microsystems X1150A manual 12describes the netstat -k transmit and receive parameters

Page 79

TABLE 4-12describes the netstat -k transmit and receive parameters:

TABLE 4-12Transmit and Receive Parameters

ParameterDescription

xcvr_inits rev_id

xcvr_addr xcvr_id

lb_mode qos_mode

tx_starts

tx_dma_bind_fail

tx_queue0

tx_queue1

tx_queue2

tx_queue3

tx_max_pend rx_hdr_pkts rx_mtu_pkts

rx_split_pkts rx_no_comp_wb

rx_no_buf

rx_new_pages

Number of Physical layer re-initializations every time you change link parameters using NDD this increments.

Revision ID of the GigaSwift Ethernet device useful for recognition of device being used in the field.

GMII/MII Physical layer device address for management interface.

GMII/MII Physical layer device Identification Decimal copy of MII registers 2 and 3.

Copy of the Loopback mode the device is in, if any.

When zero, the TX queues operate in a simple round robin queueing scheme, based on TCP/UDP destination port number. If set the TX queues operate in a scheme designed to provide VLAN priorities.

Number of times that the driver attempted to transmit a packet.

Number of times a page table entry was not available to allow the driver to map the kernel memory to device accessible memory for transmission.

Number of packets queued for transmission on the first hardware transmit queue.

Number of packets queued for transmission on the second hardware transmit queue.

Number of packets queued for Transmission on the third hardware transmit queue.

Number of packets queued for Transmission on the fourth hardware transmit queue.

Maximum number of transmits pending on any of the four queues.

Number of packets received that were less than 256 bytes.

Number of packets received that were greater than 256 bytes and less than 1514 bytes.

Number of packets that were split across two pages.

Number of times the hardware cannot post completion entries for received data.

Number of times the hardware cannot receive data because there is no more receive buffer space.

Number of pages that got replaced during reception.

Chapter 4 Configuring Driver Parameters 57

Image 79
Contents Sun GigaSwift Ethernet Adapter Installation User’s Guide Please Recycle FCC Class a Notice Regulatory Compliance StatementsICES-003 Class a Notice Avis NMB-003, Classe a Bsmi Class a Notice Page European Union Declaration of ConformityPage Declaration of Conformity Page Contents Configuring Driver Parameters Network ConfigurationIndex Configuring VLANsSpecifications Diagnostic Software and Troubleshooting IssuesPage Figures Page Tables Performance Sepcifications How This Book Is Organized PrefaceTypographic Conventions Using Unix CommandsShell Prompts Accessing Sun Documentation OnlineRelated Documentation Sun Welcomes Your Comments Hardware Overview Product Overview1Front Panel Display LEDs for the MMF Adapter Link is in Full Duplex modeSun GigaSwift Ethernet MMF Adapter LED Displays2Sun GigaSwift Ethernet UTP Adapter Sun GigaSwift Ethernet UTP Adapter2Front Panel Display LEDs for the UTP Adapter Patch Requirements Hardware and Software RequirementsKey Protocols and Interfaces Product FeaturesDiagnostic Support Page Become superuser Installing the Driver Software1Files and Directories on the CD-ROM Menu similar to the following displays Select the packages you want to installPatch version should be -07 or greater Verifying Patches# showrev -p grep Patch version should be -05 or greater Patch version should be -13 or greaterTo Install the Adapter Installing the Adapter Without Dynamic ReconfigurationSave the filler panel screw for Step 1Connecting the Fiber Optic Cable 2Cat-5 Twisted-Pair Cable To Verify the InstallationOk show-nets List the network devices on your systemOk cd /pci@1f,0/pci@1/network@4 Ok .properties View the.properties file for a list of device propertiesPhy-typewill have its value assigned as follows Setting the local-mac-addressPropertyOk setenv local-mac-address? true Ok setenv boot-device /pci@1f,2000/pci@1/network@4 Rebooting the SystemOk boot -r # cfgadm Installing the Adapter With Dynamic ReconfigurationTo Install an Adapter in a Dynamic Reconfiguration System States and conditions should be# cfgadm -c disconnect sysctrl#slot# # cfgadm -v -c configure sysctrl#slot## cfgadm -c disconnect sysctrl03 Connect the adapter and slot Configure the adapter and slotReconfigure the devices on the adapter # drvconfig devlinks disks ports tapesPage Use the ifconfig command to setup the adapter’s ce interface Configuring the Network Host Files# ifconfig ce0 plumb ipaddress up # cat /etc/hosts To Set Up a GigaSwift Ethernet Port on a Diskless ClientExport/root/clientname Edit the hosts in the diskless client’s root directory Network Configuration Find the root directory of the client system # grep clientname /etc/bootparams# cd /cdrom/cdrom0/GigaSwiftEthernet/Packages # ls SUNWce Shut down and halt the client system Use the shutdown command to display the OpenBoot ok prompt# shutdown -i0 -g0 -y Ok boot /pci@1f,4000/network@4speed=100,duplex=full Proceed with the Solaris operating environment installation# pkginfo grep SUNWce Ok boot device-pathspeed=s,duplex=d,link-clock=c,promiscuous Booting Over the GigaSwift Ethernet Network2link-clockCapabilities for Link Up 1Device Link Parameters# boot netspeed=1000,duplex=full,link-clock=master # boot netspeed=100,duplex=full# boot netspeed=1000,duplex=auto,link-clock=auto Page GigaSwift Ethernet Device Driver Parameters Configuring Driver Parameters1ce Driver Parameter, Status, and Descriptions Driver Parameter Values and DefinitionsOperational Mode Parameters Operational Mode ParametersFlow Control Parameters 2Operational Mode Parameters3Read-Write Flow Control Keyword Descriptions 3provides flow control keywords and describes their functionGigabit Link Clock Mastership Controls 4Forced Mode ParameterInterpacket Gap Parameters 5Parameters Defining enable-ipg0and ipg0 7describes the receive interrupt blanking values Interrupt Parameters7RX Blanking Register for Alias Read 8RX Random Early Detecting 8-Bit Vectors Random Early Drop Parameters9PCI Bus Interface Parameters PCI Bus Interface ParametersSetting Parameters Using the ndd Utility Setting ce Driver Parameters# ndd -set /dev/ce instance instance# To Specify Device Instances for the ndd UtilityUse the instance number to select the device Device remains selected until you change the selection# ndd /dev/ce parameter To modify a parameter value, use the -setoptionNdd utility then prompts you for the name of the parameter # ndd -set /dev/ce parameter valueSetting the Autonegotiation Mode Set the adv-autoneg-capparameter to Setting Parameters Using the ce.conf File# ndd -set /dev/ce adv-autoneg-cap Second line in the previous example To Set Driver Parameters Using a ce.conf File# grep ce /etc/pathtoinst # ndd -set /dev/hme instance Usability Enhancements to the DriverThird line in the previous example Save the ce.conf file# kstat cen grep linkup GigaSwift Ethernet Driver Operating StatisticsThen you had to get the link status # ndd -get /dev/hme link-status10Read-Only ce Device Capabilities 11describes the read-only link partner capabilities Reporting the Link Partner Capabilities11Read-Only Link Partner Capabilities 12Transmit and Receive Parameters 12describes the netstat -k transmit and receive parameters12Transmit and Receive Parameters # netstat -k ce0 Code Example 4-1Output from kstat Command# kstat Ce0 # kstat ce0 # kstat ce0 # kstat ce0 grep lp Use the kstat command to discover link partner capabilities# kstat ce0 grep link Use the kstat command to discover link settingsPage An Overview of VLANs Configuring VLANs1shows an example network that uses VLANs Configuring VLANs Vlan logical PPA = 1000 * VID + Device PPA To Configure Static VLANs# ifconfig -a # ifconfig ce123000 plumb up # ifconfig ce224000 plumb upPage Table A-1SC Connector Link Characteristics Ieee P802.3z ConnectorsTable A-2Cat-5 Connector Link Characteristics Performance SpecificationsTable A-3Performance Sepcifications Power Requirements Physical CharacteristicsTable A-5Power Requirements Page SunVTS Diagnostic Software Diagnostic Software Troubleshooting IssuesShut down the system Using the OpenBoot Prom FCode Self- TestRunning the Ethernet FCode Self-Test Diagnostic Reset the systemType show-netsto display the list of devices Ok setenv diag-switch? falseOk test /pci@1f,0/pci@1/network@4 Ok setenv auto-boot? true Troubleshooting IssuesSet the auto-boot?configuration parameter to true Reset and reboot the systemAdv-pause-cap Type the following to apply and save your changesNon-Specific Issues Failure to Configure GigaSwift Ethernet InstanceTable B-1Troubleshooting the GigaSwift Ethernet Adapter Set drdetachsafelist1=ce set hswpsuspendsafelist1=ce Problem with DR Attach on Sun Enterprise PlatformsReboot system Add the following lines to the /etc/system filePage Index Symbols