DSS Networks C5468 User Manual

DSS NETWORKS
GigMAC-cPCI-3U Network Interface Cards
Gig-cPCI-3U Ethernet Switches
Board and Driver Users Manual
C5263-SFP, C5468
(copper and fiber models)
Document Version 2.6, P/N 131906
Nov 2007
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
1. INTRODUCTION .................................................................................................................. 4
1.1 SEE ALSO............................................................................................................................ 4
1.2 COMPATIBILITY ...............................................................................................................4
2. MODEL NUMBERS.............................................................................................................. 5
3. KEY FEATURES................................................................................................................... 5
3. SWITCH CAPABILITIES MODELS C5468........................................................................ 6
4. OEM DEVELOPER KIT CONTENTS..................................................................................7
5. SYSTEM REQUIREMENTS................................................................................................. 8
6. HARDWARE INFORMATION ............................................................................................ 9
6.1 BOARD PHOTOS................................................................................................................9
6.2 BOARD LED INDICATORS............................................................................................. 10
6.3 3U CPCI CONNECTOR PIN/SIGNAL DEFINITIONS................................................... 12
6.4 PCI CONFIGURATION REGISTERS.............................................................................. 12
6.4.1 VENDOR AND DEVICE IDS........................................................................................ 13
6.5 EEPROM LISTINGS.......................................................................................................... 13
6.6 DEFAULT REGISTER SETTINGS .................................................................................. 15
6.7 ETHERNET FRAME LATENCY ..................................................................................... 17
7. POWER CONSUMPTION SPECS......................................................................................17
8. HARDWARE INSTALLATION ......................................................................................... 17
8.1 EMBEDDED OR COMPACT PCI INSTALLATION...................................................... 18
9. COPPER CABLING AND CONNECTOR INFO............................................................... 18
9.1. FIBER CABLE SPECIFICATIONS ................................................................................. 18
9.2 COPPER RJ-45 CONNECTOR AND CABLE.................................................................. 19
10. SOFTWARE DRIVER INSTALLATION......................................................................... 20
10.1 LINUX DRIVER INSTALLATION AND USAGE........................................................ 20
10.2 VXWORKS DRIVER INSTALLATION AND USAGE ................................................ 27
10.3 DRIVER UTILITY COMMAND REFERENCE............................................................. 28
10.3.1 STATISTICS SHOW FUNCTION ............................................................................... 28
10.3.2 PCI REGISTERS SHOW FUNCTION......................................................................... 29
10.3.3 MAC REGISTERS SHOW FUNCTION...................................................................... 30
10.3.4 MAC STATISTICS SHOW FUNCTION..................................................................... 31
10.3.5 PHY REGISTERS SHOW FUNCTION....................................................................... 33
10.3.6 EEPROM SHOW FUNCTION ..................................................................................... 34
DSS NETWORKS, INC. DocVersion: 1.2 Page: 2
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
10.3.7 MAC ADDRESS SHOW FUNCTION.........................................................................35
10.3.7 MAC ADDRESS SHOW FUNCTION.........................................................................35
10.3.8 BUFFER DESCRIPTOR STATUS SHOW FUNCTION............................................. 35
10.3.9 STARTING FRAME GENERATOR............................................................................36
10.3.10 STOPPING FRAME GENERATOR .......................................................................... 36
10.3.11 SWITCH STATUS SHOW FUNCTION.................................................................... 37
10.4 DPM DRIVER MANAGEMENT API............................................................................. 37
10.5 SWITCH CONFIGURATION / MANAGEMENT API..................................................39
11. TESTING AND VERIFICATION..................................................................................... 41
12. SPECIFICATIONS.............................................................................................................42
12.1 ENVIRONMENTAL SPECIFICATIONS....................................................................... 45
13. WARRANTEE AND SUPPORT INFO.............................................................................46
DSS NETWORKS, INC. DocVersion: 1.2 Page: 3
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
1. INTRODUCTION
The Gig-cPCI-3U and Gig-cPCI-3U Switch family of network adapter cards and switches are high-performance, cost-effective solutions for adding Gigabit Ethernet connectivity to any embedded or real-time network appliance or network access device which has available slots in their 3U cPCI based systems.
The GigMAC-CPCI-3U and Gig-CPCI-3U-Switch family includes optimized, high­performance driver support for VxWorks and Linux. Instructions for Linux driver installation are included in this manual. In addition, a companion document titled “VxWorks Users Manual and Integration Guide” is provided for technical assistance in integrating and testing the driver in an embedded real-time VxWorks environment.
1.1 SEE ALSO
Please also see the following documents on our website at www.dssnetworks.com and also included in the OEM developers kit CD:
Datasheets – please see product datasheets and other updated product information on OEM developer CD and on website.
Release Notes -- where updated information is provided on new features, compatibility, performance benchmarks, platform information and corrected problems.
VxWorks Users Manual and Integration Guide, DSS Document part no 131901. Provides technical information on integrating and testing our controllers and drivers into a VxWorks BSP and system board.
GIGFAQ.HTML – Also on website and included on OEM developer CD contains many answers to commonly asked questions regarding Gigabit Ethernet and our products including performance and system recommendations.
README.LINUX – Included on OEM developer CD contains latest driver installation and usage instructions for Linux Operating System.
netPerformance.txt -- Included on OEM developer CD contains useful information on tuning the VxWorks network protocol stack.
1.2 COMPATIBILITY
The GigMAC-cPCI-3U and Gig-3U CPCI Switch family is fully compliant with the following standards:
DSS NETWORKS, INC. DocVersion: 1.2 Page: 4
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
IEEE 802.3 (all sections applicable to 1000 Base T, 1000 Base SX, 1000 Base LX) IEEE 802.1D and IEEE 802.1Q as applicable for VLAN and priority queuing support PCI 2.2 and PCI-X 1.0 compliant PCI low-profile specification (as applicable for model) IEEE 1386.1 Draft 2.2 Linux driver compatibility: Standard Linux 2.4 or 2.6 kernel level network driver
module compiled and tested on Intel and PowerPC architectures up to Linux kernel
2.4.30 and 2.6.22 (see release notes for latest updated information).
VxWorks driver compatibility: Wind River standard Tornado 2.0.2, Tornado 2.2/2.2.1,
(vxWorks 5.4/5.5/5.5.1) and Workbench (vxWorks 6.x) Enhanced Network Driver (END driver) loadable module integrated and tested on PowerPC and Intel architectures.
2. MODEL NUMBERS
This user manual covers all Models of our Intel based GigMAC-cPCI-3U and Gig 3U CPCI-switch cards including:
3U CPCI models
C5164 quad-port (copper) C5262-LC (fiber) C5262-RJ (copper) C5262-SC (fiber) C5263-SFP (fiber or copper) C5264-RJ (copper) C5468 (Gig 3U CPCI hybrid switch, copper)
3. KEY FEATURES
The GigMAC-cPCI-3U interface cards and Gig-cPCI-3U switches offer the following key features:
Sustained throughput of 245 Mbytes/sec (1.96 Gb) per port over PCI bus using 64-bit, 66 MHZ PCI/PCI-X
Sustained throughput of 118 Mbytes/sec (944 Gb) per port over PCI bus using 32-bit, 33 MHZ PCI
Frame processing rate of up to 1M frames-per-second (per port)
DSS NETWORKS, INC. DocVersion: 1.2 Page: 5
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
Very low latency, < 2 microseconds for short frames (60 -100 bytes)
Support for copper and fiber interfaces
Driver support for vxWorks and Linux including embedded Linux
Built in management and diagnostics capabilities in drivers
High-performance frame generator (wire and bus-speed capable)
Performance and health monitoring statistics
Installs in any 3U CompactPCI system slot
Ideal solution for 3U CompactPCI and embedded 1U and 2U PC-based systems
Utilizes either 5 or 3.3 volt PCI bus power supply and contains onboard power
regulators
Full duplex Gigabit Ethernet Interface over standard CAT5e cabling
Complies with all PCI revision 2.2 mechanical and electrical requirements
Fully IEEE 802.3z, IEEE 802.3ab, 802.3u and IEEE 1386 compliant
Compatible with all 10/100/1000BaseT hubs, switches and routers
Burst rate of up to 256 dwords (1024 bytes) over PCI bus
Jumbo frame support for up to 9K, 802.3x full duplex flow control with automatic
pause and priority with multiple priority queues
3. SWITCH CAPABILITIES MODELS C5468
The model C5468 provides an onboard Gigabit Ethernet layer 2 switch with management capabilities. The operating registers in the switch are accessible via a register-level API that is provided in the host driver and described in section 10.5 of this manual.
The switch can be programmed to support advanced features including following:
ARL table control (4K MAC-address management)
o o
Aging Control
o VLAN management (4K VLANS)
Trunking, aggregation and failover control
o o
Port mirroring control
o QoS / 802.1P / Priority / Differential Services
Port traffic control
o o Switch status o PHY (transceiver) control o
Jumbo frame control
o Port parameters and port state control
DSS NETWORKS, INC. DocVersion: 1.2 Page: 6
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
o Port rate control o Protected ports (switch partitioning) o Broadcast Storm Suppression o LED control
4. OEM DEVELOPER KIT CONTENTS
An OEM developer kit is provided with the purchase of the Gigabit Ethernet controllers which contains drivers, documentation and sample code including the following:
Driver source code for vxWorks, Linux 2.4, PowerPC, Intel platforms Users Manual(s) VxWorks Users Manual and Integration Guide Datasheets for chipset controllers (Intel, National, etc.) TCP/UDP/IP performance test programs (vxWorks, Linux, Windows versions
included)
TCP, UDP and raw driver performance tests Driver Utilities (Linux) High-performance frame generator (wire and bus-speed capable) Transmit and receive callbacks (hooks) for driver-level application code Internal and external loopback capabilities Built-in performance instrumentation statistics Gigabit Ethernet FAQ sheet NetPerformance.txt protocol stack tuning guide for vxWorks
DSS NETWORKS, INC. DocVersion: 1.2 Page: 7
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
5. SYSTEM REQUIREMENTS
Intel Platform (minimum): Pentium III 800 MHZ or faster with PC100 or PC133 SDRAM, 32-bit 33 MHZ PCI.
Intel Platform (recommended): Pentium4, Core Duo or Xeon at 1.8GHZ or faster, DDR SDRAM, 64-bit, 66 MHZ PCI or PCI-X (133/100/66 MHZ).
PowerPC Platform (minimum): PowerPC 7400 or 750 series at 500 MHZ or faster, PC100 or PC133 SDRAM, 32-bit, 33 MHZ PCI.
PowerPC Platform (recommended): PowerPC 7400 or 750 series at 1 GHZ or faster, DDR SDRAM, 64-bit, 33 or 66 MHZ PCI or PCI-X (133/100/66 MHZ)
Linux Operating system: Linux 2.4 (2.4.18 - 2.4.30), Linux 2.6 (all) Wind River:
- Wind River Workbench Development Studio / vxWorks 6.x
- Tornado 2.2/vxWorks 5.5 (or Tornado 2.0.2/vxWorks 5.4 with patch updates. PCI Configuration Library support (pciConfigLib).
DSS NETWORKS, INC. DocVersion: 1.2 Page: 8
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
6. HARDWARE INFORMATION
6.1 BOARD PHOTOS
Model C5468 Gigabit Ethernet
Switch with 2-port host interface
Model C5262-RJ
Model C5164-RJ 4-port
Model C5264-RJ 4-port
Model C5262-LC fiber
DSS NETWORKS, INC. DocVersion: 1.2 Page: 9
Model C5262-SC
Model C5263-SFP
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
6.2 BOARD LED INDICATORS
3U CPCI Boards LED Function Table
Gigabit NIC Model
C5468 LNK/ACT LNK/ACT LNK/ACT LNK/ACT C5164 LNK/ACT LNK/ACT LNK/ACT LNK/ACT C5264 LNK/ACT LNK/ACT LNK/ACT LNK/ACT C5262 TX RX LINK FD
Link “LNK” Indicator
On solid green to indicate auto-negotiation complete and MAC and driver level link is up.
Transmit and Receive Activity Indicators
Transmit and Receive LEDs are solid or blinking yellow to indicate activity on the link (blinking shows tx and rx activity).
Model C5262-RJ dual-port or C5261-RJ single port 3U CPCI (copper)
The front panel has two onboard RJ-45 connectors that supports the connection of Category 5e cabling with 4 LED indicators per port that provide the following as marked with silkscreen nomenclature on front panels:
LED_1000 (1000 Mb mod) LED_FD (full-duplex mode) LED_TX (transmit activity) LED_RX (receive activity)
Model C5262-LC dual-port or C5261-LC single port 3U CPCI (fiber)
The front panel has two onboard fiber LC connectors that support the connection of singlemode or multimode fiber optics with 4 LED indicators per port that provide the following as marked with silkscreen nomenclature on front panels:
LED_1000 (1000 Mb mod) LED_FD (full-duplex mode) LED_TX (transmit activity) LED_RX (receive activity)
LED # 1 Green
LED # 2 Green
LED #3 Yellow
LED #4 Yellow
DSS NETWORKS, INC. DocVersion: 1.2 Page: 10
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
Model C5263-SFP dual-port (fiber, copper)
The front panel has two onboard SFP connectors that support the connection of singlemode or multimode fiber optics or 1000-Base T transceivers with 4 LED indicators per port that provide the following as marked with silkscreen nomenclature on front panels:
LED_1000 (1000 Mb mod) LED_FD (full-duplex mode) LED_TX (transmit activity) LED_RX (receive activity)
Model C5164/C5264 quad-port 3U CPCI with RJ-45 connector(s)
The front panel has four onboard RJ-45 connectors that support the connection of Category 5e cabling with 1 LED indicator per port that provides both a “link” and “activity” indicator as follows:
OFF (no link) ON (link) BLINKING (link and activity)
Model C5468 Gig 3U CPCI Switch with 4-port RJ-45 connector(s)
The front panel has four onboard RJ-45 connectors that support the connection of Category 5e cabling with 1 LED indicator per port that provides both a “link” and “activity” indicator as follows:
OFF (no link) ON (link) BLINKING (link and activity)
DSS NETWORKS, INC. DocVersion: 1.2 Page: 11
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
6.3 3U CPCI CONNECTOR PIN/SIGNAL DEFINITIONS
TBD
6.4 PCI CONFIGURATION REGISTERS
in: unit: 0, bus: 16, dev: 1, func: 0, pci regs:
device&vendor: 10108086 stsAndErrs: 02300017 membaseCsr: 00020004 flashbaseCsr: 00000000 iobaseCsr: 00001001 membaseUpper: 00000000 irq: 00ff0106 cfgLat/cache: 00802408
DSS NETWORKS, INC. DocVersion: 1.2 Page: 12
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
6.4.1 VENDOR AND DEVICE IDS
All Intel based models use the 82546GB chip which has the following vendor and device ID:
Vendor ID: 8086 Device ID: 1010
6.5 EEPROM LISTINGS
Model C5468
in: unit: 0, i82546 serial eeprom cfg: eeprom[0x00]: 5000 eeprom[0x01]: 0cc2 eeprom[0x02]: 2e99 eeprom[0x03]: 0420 eeprom[0x08]: a921 eeprom[0x09]: 1104 eeprom[0x0a]: 460b (INIT_CTRL_1) eeprom[0x0b]: 5468 eeprom[0x0c]: dbad eeprom[0x0d]: 1010 eeprom[0x0e]: 8086 eeprom[0x0f]: 3c68 (INIT_CTRL_2) eeprom[0x10]: 00c3 eeprom[0x11]: 1010 eeprom[0x12]: 0000 eeprom[0x13]: 2100 eeprom[0x14]: 1ac8 (INIT_CTRL_3-B, IntrPin: 1, TBI/Serdes: 1) eeprom[0x20]: 00c3 eeprom[0x21]: 7861 eeprom[0x22]: 280c eeprom[0x23]: 2100 eeprom[0x24]: 0ac8 (INIT_CTRL_3-A, IntrPin: 0, TBI/Serdes: 1) eeprom[0x2f]: 0609 (LED2_MODE: 6, LED0_MODE: 9) eeprom[0x30]: 002c eeprom[0x31]: 4000 eeprom[0x32]: 1107 eeprom[0x33]: 0000 eeprom[0x34]: 002c eeprom[0x35]: 4000 eeprom[0x3f]: 7d23
DSS NETWORKS, INC. DocVersion: 1.2 Page: 13
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual
Model C5262-RJ
in: unit: 0, i82546 serial eeprom cfg:
eeprom[0x00]: 5000 eeprom[0x01]: 0cc2 eeprom[0x02]: 1e99 eeprom[0x03]: 0420 eeprom[0x08]: a921 eeprom[0x09]: 1104 eeprom[0x0a]: 460b (INIT_CTRL_1) eeprom[0x0b]: 5262 eeprom[0x0c]: dbad eeprom[0x0d]: 1010 eeprom[0x0e]: 8086 eeprom[0x0f]: 3468 (INIT_CTRL_2) eeprom[0x10]: 010d eeprom[0x11]: 1010 eeprom[0x12]: 0000 eeprom[0x13]: 2100 eeprom[0x14]: 18c8 (INIT_CTRL_3-B, IntrPin: 1, TBI/Serdes: 0) eeprom[0x20]: c30d eeprom[0x21]: 7861 eeprom[0x22]: 280c eeprom[0x23]: 2100 eeprom[0x24]: 08c8 (INIT_CTRL_3-A, IntrPin: 0, TBI/Serdes: 0) eeprom[0x2f]: 0609 (LED2_MODE: 6, LED0_MODE: 9) eeprom[0x30]: 002c eeprom[0x31]: 4000 eeprom[0x32]: 1107 eeprom[0x33]: 0000 eeprom[0x34]: 002c eeprom[0x35]: 4000 eeprom[0x3f]: d895
DSS NETWORKS, INC. DocVersion: 1.2 Page: 14
Loading...
+ 32 hidden pages