DSS NETWORKS GigMAC-cPCI-3U Network Interface Cards Gig-cPCI-3U Ethernet Switches Board and Driver Users Manual All 3U CPCI based models including C5164, C5262-RJ, C5262-LC,C5262-SC C5263-SFP, C5468 (copper and fiber models) Document Version 2.
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 ...............................................................................................................
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..........................................................
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.
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.
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 sl
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches o o o o Board and Driver Users Manual Port rate control Protected ports (switch partitioning) Broadcast Storm Suppression 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.
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.
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 C5262-LC fiber DSS NETWORKS, INC. Model C5164-RJ 4-port Model C5262-SC DocVersion: 1.
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 C5164 C5264 C5262 LED # 1 Green LNK/ACT LNK/ACT LNK/ACT TX LED # 2 Green LNK/ACT LNK/ACT LNK/ACT RX LED #3 Yellow LNK/ACT LNK/ACT LNK/ACT LINK LED #4 Yellow LNK/ACT LNK/ACT LNK/ACT FD Link “LNK” Indicator On solid green to indicate auto-negotiation complete and MAC and driver level link is up.
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 LED_FD LED_TX LED_RX (1000 Mb mod) (full-duplex mode) (transmit activity) (receive ac
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: stsAndErrs: membaseCsr: flashbaseCsr: iobaseCsr: membaseUpper: irq: cfgLat/cache: DSS NETWORKS, INC. 10108086 02300017 00020004 00000000 00001001 00000000 00ff0106 00802408 DocVersion: 1.
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: Device ID: 8086 1010 6.
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]: eeprom[0x01]: eeprom[0x02]: eeprom[0x03]: eeprom[0x08]: eeprom[0x09]: eeprom[0x0a]: eeprom[0x0b]: eeprom[0x0c]: eeprom[0x0d]: eeprom[0x0e]: eeprom[0x0f]: eeprom[0x10]: eeprom[0x11]: eeprom[0x12]: eeprom[0x13]: eeprom[0x14]: eeprom[0x20]: eeprom[0x21]: eeprom[0x22]: eeprom[0x23]: eeprom[0x24]: eeprom[0x2f]: eeprom[0x30]: eeprom[0x31]:
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 6.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual The following lists the default register settings for the Intel 82546 Gigabit controller on the cards (fiber models): in: unit: 0, ioAddr: e087c000, mac regs: CTRL: (0x0000): 0x18f40280 (PRST: FD: 0 (FRCD: STATUS: (0x0008): 0x00007ba3 (PCIX: ( LU: EECD: (0x0010): 0x110 EERD: (0x0014): 0x92970210 EXT-CTRL: (0x0018): 0x800c00 MDIC: (0x0020): 0x14290200 FCAL: (0x0028): 0xc28001 FCAH: (0x002c): 0x100 FCT
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 6.7 ETHERNET FRAME LATENCY The following table shows typical system level frame latencies measured during highperformance testing using frame generator including path from SDRAM to wire through system controller across PCI bus interface: Frame size (bytes) 60 – 100 500 1000 1500 Typical latency (microseconds) <2 4 8 12 7.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 8.1 EMBEDDED OR COMPACT PCI INSTALLATION There are many different styles and types of Embedded System platforms that utilize 3U CPCI expansion slots. This section contains a generic installation procedure. Please refer to your User's manual for more detailed instructions on installing the adapter in an Embedded or CompactPCI system.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual Connecting Fiber optic Model C5261-LC, C5262-LC, C5263-SFP This section explains how to connect the fiber cards to the external network using standard fiber optic cables. Typically 50 or 62.5 micron multimode fiber optic cables with LC or SC type connectors are used depending on the connector option.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual RJ-45 pinouts for CAT5 connectors and cables are shown in the following table: Pin 1 2 3 4 5 6 7 8 10/100 Signal Transmit+ TransmitReceive+ Unused Unused ReceiveUnused Unused Gigabit Signal Channel A+ Channel AChannel B+ Channel C+ Channel CChannel BChannel D+ Channel D+ 10.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches $ $ $ $ $ Board and Driver Users Manual mkdir util cd util cp /mnt/cdrom/linux-dpm-driver/util/util*.tar.gz . gunzip util*.tar.gz tar vxf util*.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual TYPE=Ethernet USERCTL=no NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.255 Note: You should also add a line to /etc/modules.conf for each interface as shown in the following example: SAMPLE MODULES.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual TUNING THE INSTALLATION Interrupt holdoff (programmed latency) To increase (or decrease) the value of the programmed interrupt latency, insert the module and set the "IntrHoldOff" parameter as follows: insmod ./dpm.o IntrHoldOff=1 # value can be 0, 1, 2 or 3 Note: A value greater than 3 is not recommended. Other driver parameters that can be set during driver load or in modules.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual ‘Insmod’ Command Line Parameters The following parameters are used by entering them on the command line with the modprobe or insmod command. For example, with Intel based card model (ex. C5262, C5164, etc.) entering: insmod dpm [ChipSelector=1] IntrHoldOff=0 loads the dpm driver setting it for Intel chipset and setting the Interrupt Holdoff latency to zero (disabled).
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual to receive all unicast frames (sometimes useful in frame generator testing). Do not enable for normal traffic. ChipSelector 0, 1 FrameGenSize 60-MaxMtuSize 1 Sets the chipset selector (0=National, 1=Intel). Default is National chipset. 1500 Sets the frame generator frame size for testing end-to-end or loopback.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches dmUtil dmUtil dmUtil dmUtil dmUtil -m eth0 -p eth0 -e eth0 -a eth0 -ms eth0 # # # # # displays displays displays displays displays Board and Driver Users Manual DP83820 MAC controller registers gigabit (phy) transceiver registers eeprom mac address mac stats (Intel only) LOOPBACK PERFORMANCE TESTING 1. Edit 'Makefile' 2. Un-comment the following define: CFLAGS += -DNS_FRAME_TEST -DIN_FRAME_TEST 3.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual Using dmUtil dpm driver utility: The “dpm driver utility” is used to capture detailed board levels statistics, controller registers and to set loopback mode.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3 DRIVER UTILITY COMMAND REFERENCE 10.3.1 STATISTICS SHOW FUNCTION vxWorks usage: inShow(unit) # unit = device index starting from 0 Linux usage: ./dmUtil –s eth1 # eth1, eth2, etc.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3.3 MAC REGISTERS SHOW FUNCTION vxWorks usage: inShowMacRegs(unit) # unit = device index starting from 0 Linux usage: ./dmUtil –m eth1 # eth1, eth2, etc.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3.4 MAC STATISTICS SHOW FUNCTION vxWorks usage: inShowMacStats(unit) # unit = device index starting from 0 Linux usage: ./dmUtil –ms eth1 # eth1, eth2, etc.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: NODEF: (0x40c4): (0x40c8): (0x40cc): (0x40d0): (0x40d4): (0x40d8): (0x40dc): (0x40e0): (0x40e4): (0x40e8): (0x40ec): (0x40f0): (0x40f4): (0x40f8): (0x40fc): DSS NETWORKS, INC. Board and Driver Users Manual 27 3384703584 27 79354269 79354270 0 0 0 0 0 79354269 0 0 0 0 DocVersion: 1.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3.5 PHY REGISTERS SHOW FUNCTION vxWorks usage: inShowPhyRegs(unit) # unit = device index starting from 0 Linux usage: ./dmUtil –p eth1 # eth1, eth2, etc.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3.6 EEPROM SHOW FUNCTION vxWorks usage: inShowEeprom(unit) # unit = device index starting from 0 Linux usage: ./dmUtil –e eth1 # eth1, eth2, etc.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3.7 MAC ADDRESS SHOW FUNCTION vxWorks usage: inShowMacAddr(unit) # unit = device index starting from 0 Linux usage: ./dmUtil –a eth1 # eth1, eth2, etc. Command output: in: unit: 0, current (applied) mac address: 00 50 c2 0c 99 1e 10.3.8 BUFFER DESCRIPTOR STATUS SHOW FUNCTION vxWorks usage: inShowBdStats(unit) # unit = device index starting from 0 Linux usage: .
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3.9 STARTING FRAME GENERATOR vxWorks usage: inStrtFrmGen(unit, frmSize) # unit = device index starting from 0 Linux usage: ./dmUtil –l eth1 1 # eth1, eth2, etc. 10.3.10 STOPPING FRAME GENERATOR vxWorks usage: inStopFrmGen(unit) # unit = device index starting from 0 Linux usage: ./dmUtil –l eth1 0 # eth1, eth2, etc.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 10.3.11 SWITCH STATUS SHOW FUNCTION Note: This function is applicable for Model C5468 Gig-cPCI-3U switch/interface card only. vxWorks usage: inShowSwitch(unit) # unit = device index starting from 0 Linux usage: ./dmUtil –sw eth1 # eth1, eth2, etc.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual A. Opening a socket for management API int s; s = socket (PF_INET, SOCK_STREAM, 0); B. Create request block for driver ioctl struct ifreq ifr; int subCmd; NpkUserCtl myIoc; char myDataBuf[MAX_LINES * MAX_LINE_LEN]; /* set interface name */ strcpy (ifr.ifr_name, “eth1”); /* set ioctl sub-type */ subCmd = DM_IOCTL_GET_STATS; /* set command argument */ myIoc.arg1 = 0; myIoc.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual /* get driver trace buffer */ #define DM_IOCTL_GET_TRC 1 /* get driver statistics */ #define DM_IOCTL_GET_STATS 2 /* get phy registers */ #define DM_IOCTL_GET_PHY_REGS 3 /* get mac registers */ #define DM_IOCTL_GET_MAC_REGS 4 /* set loopback mode */ #define DM_IOCTL_SET_LOOP_MODE 5 Additional arguments: arg1=0 arg1=1 Disable loopback Enable loopback /* read eeprom */ #define DM_IOCTL_READ
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual Functions to read and write registers in the switch: STATUS inReadSpiReg(int unit, int page, int offset, int bCnt, UINT8 *pData); STATUS inWriteSpiReg8(int unit, int page, int offset, int val); STATUS inWriteSpiReg16(int unit, int page, int offset, int val); STATUS inWriteSpiReg32(int unit, int page, int offset, int val); Note: The Intel device driver supporting the Model C5468 card initializes the
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 11. TESTING AND VERIFICATION There are several ways to test your adapter on vxWorks and Linux platforms. This section provides suggestions on how you may test and verify your installation. Before you can proceed with any of the suggested tests, you must have previously configured your TCP/IP protocols and interfaces on your computer.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 12. SPECIFICATIONS Connector (Models C5261-RJ, C5262-RJ, C5164, C5264, C5468): Gigabit Ethernet (1000BaseT, 100BaseTX, 10BaseT): RJ-45 CAT5e Connector (Model C5261-LC, C5262-LC, C5262-SC, C5263-SFP fiber): SFP, SC or LC connector type for 50/125 or 62.5/125 micron multimode fiber or 8/125 singlemode fiber. Drivers: Linux 2.4 (2.4.18 – 2.4.26), Linux 2.6 (all versions) Tornado 2.0.2, Tornado 2.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual Automatic Gain Control maximizes signal strength Environmental Range: Operating Temperature: 0º to 60ºC (standard –C1 model) Relative Humidity: 10% to 90%, non-condensing Voltage: 5 or 3.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual Distance (Copper models C5261-RJ, C5262-RJ, Recommended maximum distance is 328 feet (100 meters). DSS NETWORKS, INC. DocVersion: 1.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 12.1 ENVIRONMENTAL SPECIFICATIONS Rugged Grade Class C1 R1 Operating Temp. 0ºC to +65ºC 200 linear ft/minute air Commercial flow Rugged, Forced Air -20ºC to +75ºC 350 linear ft/minute air flow Storage Vibration Temp -50C to +100C N/A Other Specs Shock Humidity N/A Conformal Operating: Up coated: No to 90% NonAltitude: Condensing 33,000 ft. 5Hz-2000Hz at 2g, 0.
GigMAC-CPCI-3U Network Interface Cards Gig-CPCI-3U Gigabit Ethernet Switches Board and Driver Users Manual 13. WARRANTEE AND SUPPORT INFO Technical Support and Warranty: Telephone technical support (Mon-Fri 8AM to 6PM, MST), 24-hour support via web email 1 year limited product warranty on controller hardware (contact support for warrantee/RMA information) Contacting Us You may contact DSS Networks in one of several ways: via the Web, e-mail, fax or telephone.