13. WARRANTEE AND SUPPORT INFO.............................................................................54
DSS NETWORKS, INC.Version: 2.6 Page: 3
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
1. INTRODUCTION
The GigMAC and GigPMC-switch family of network adapter cards and switches are a
high-performance, cost-effective solution for adding Gigabit Ethernet connectivity to any
embedded or real-time network appliance or network access device equipped with a
PCI slot or PMC mezzanine site and is ideal for embedded systems utilizing add-on
modules including PCI, Compact PCI and VME based systems.
The GigMac and GigPMC-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 and GigPMC-Switch family is fully compliant with the following standards:
DSS NETWORKS, INC. Version: 2.6 Page: 4
GigMAC-PMC and PCI
GigPMC Switch 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.26 and 2.6.4.
VxWorks driver compatibility: Standard Tornado 2.0.2 and Tornado 2.2/2.2.1,
VxWorks 5.4/5.5/5.5.1 Enhanced Network 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 and GigPMC-switch
PMC, PMC-X, PCI-X cards including:
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
• 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 5468/6468)
The models 5468 and 6468 provide 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:
o ARL table control (4K MAC-address management)
o Aging Control
o VLAN management (4K VLANS)
o Trunking, aggregation and failover control
o Port mirroring control
o QoS / 802.1P / Priority / Differential Services
o Port traffic control
o Switch status
o PHY (transceiver) control
o Jumbo frame control
o Port parameters and port state control
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
DSS NETWORKS, INC. Version: 2.6 Page: 7
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
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. Version: 2.6 Page: 8
GigMAC-PMC and PCI
GigPMC Switch 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. Version: 2.6 Page: 9
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
6. HARDWARE INFORMATION
6.1 BOARD PHOTOS
Model 5468 GigPMC 8-port switch
Model 6267-SFP PCI-X
Model 5262-RJ PMC
Model 5262-LC fiber PMC
DSS NETWORKS, INC. Version: 2.6 Page: 10
Model 5164 - 4-port PMC
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
Model 5262-SC
Model 6468-RJ PCIe
Model 5264-RJ
Model 5263-SFP
DSS NETWORKS, INC. Version: 2.6 Page: 11
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
The front panel has onboard pluggable SFP fiber optic connectors that support fiber
optic cabling using 50 or 62.5 micron multimode fiber with LC type connectors. An RJ45 type 1000 Base T SFP connector is also available for this model. There are 3 LED
indicators per port that provide the following as marked with silkscreen nomenclature on
front panels:
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 5262-RJ dual-port or 5261-RJ single port PMC (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:
Model 5262-LC dual-port or 5261-LC single port PMC (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:
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:
Model 5164/5264 quad-port PMC 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 5468 GigPMC Switch with 4-port RJ-45 connector(s)
DSS NETWORKS, INC. Version: 2.6 Page: 13
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
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 6468 GigPCI-Express Switch with 4-port RJ-45 connector(s)
TBD
DSS NETWORKS, INC. Version: 2.6 Page: 14
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
GigMAC-PMC and PCI
GigPMC Switch 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:
Before attempting to install the card into your system, please make sure of the following:
Shut off the power to the computer and any peripherals. It is important to remove the
power cable to the computer to reduce the possibility of residual power remaining in
the power supply.
Ground yourself. Many electronic components inside computer and on the card can be
severely damaged by receiving a shock of static electricity. Before touching any
electronic components or boards, discharge any static electricity on your body by
touching the bare metal case around the power supply inside your computer. Avoid
excessive movement during the installation, such as walking across carpets, as this can
DSS NETWORKS, INC. Version: 2.6 Page: 24
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
generate static. If you must leave the installation area before the installation is
complete, be sure to ground yourself again before continuing the installation.
Assess system power requirements. If you already have other PCI cards in your
Mac, make sure that your system is able to provide the necessary power to support the
addition of the adapter card. Check your computer's user manual for power limitations.
8.1 INSTALLATION IN PC COMPUTER
There are many different styles and types of PC platforms that utilize PCI slots. This
section contains a generic installation procedure. Please refer to your User's manual for
more detailed instructions on installing the adapter in a PC.
The PMC cards require a PMC-to-PCI Carrier adapter module in order to be used in a
standard PCI system. Please refer to section 2.2 below for instructions on installing a
PMC adapter onto a mainboard carrier adapter.
Step 1 - Shut down the power to the computer system and remove the power cord and
any peripheral cables.
Step 2 - Open the computer case. This will expose the interior of the case and allow the
adapter card to be installed. Consult your User's Manual for assistance in opening your
computer. The PCI card edge connector contains “key” notches that correspond to
dividers in the motherboard slot. It is very important to align the key notches with the
matching dividers in the slot. Failure to align the notches correctly could cause the card
or slot to be damaged.
Step 3 - Align the PCI edge connector and the system motherboard socket. Once
aligned, push down firmly on the PCI card until it is completely seated in the slot. Once
the adapter card has been successfully installed, close the PC case, re-attach the
power cable and any other cables that were removed for the hardware installation
procedure. Consult Section 2.3 for information on connecting the adapter to the
network.
8.2 EMBEDDED OR COMPACT PCI INSTALLATION
There are many different styles and types of Embedded System platforms that utilize
PMC Mezzanine 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.
Step 1 - Shut down the power to the computer system and remove the power cord and
any peripheral cables.
DSS NETWORKS, INC. Version: 2.6 Page: 25
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
Step 2 – Remove the CompactPCI or Embedded Mainboard controller from the system,
if necessary to access the PMC slot. This will allow the PMC adapter card to be more
easily installed. Consult your User's Manual for assistance in opening and removing the
mainboard. The PMC card has 3 connectors labeled JN1, JN2 and JN3. JN1 and JN2
are required for all modes of operation while JN3 is required only for 64-bit mode. Your
CompactPCI mainboard or other PMC carrier will also contain PMC card connectors
labeled JN1 and JN2, and optionally JN3 and JN4. JN4 is for optional user-defined I/O
and is only used by the Model 5468 GigPMC switch. Additionally, the mainboard may
also contain either a 5 volt or 3.3 volt key to prevent voltage mismatches. Since the
PMC card may operate from a 5 or 3.3 volt supply, it can be used in either a 5 or 3.3
volt keyed system. It is very important to align the connectors before pressing the PMC
card onto the mainboard to prevent damage to the card or slot.
Step 3 - Align the PMC connectors and the system motherboard Connectors and push
down firmly on the PMC card until it is completely seated in the connectors on the
mainboard. Once the adapter card has been successfully installed, re-install the
mainboard. Re-attach the power cable and any other cables that were removed for the
hardware installation procedure.
1000BASE-SX/LX (850 nm Laser for multimode-SX, 1310nm laser for single-mode-LX)
Fiber Core
Diameter
62.5/125 um multi-mode 160 Mhz * km 2 to 220 m
62.5/125 um multi-mode 200 Mhz * km 2 to 275 m
50.0/125 um multi-mode 400 Mhz * km 2 to 500 m
50.0/125 um multi-mode 500 Mhz * km 2 to 550 m
8.0/125 um single-mode 500 Mhz * km 5-10 km
Type
Fiber
Bandwidth
Mhz* km
Distance
DSS NETWORKS, INC.Version: 2.6 Page: 26
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
Connecting Fiber optic Model 6267-SFP, 5261-LC, 5262-LC, 5263-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. For extended
distance, single-mode fiber can be used in models equipped with extended range
single-mode connectors.
Insert the fiber optic cable into the SC or LC type connector until the self-locking tab
clicks into position. Connect the opposite end in to a 1000 Base SX switch. Two types of
cables are used when connecting the fiber cards to the network. A workstation or
"straight through" cable is typically used to connect Ethernet adapters to switches. A
fiber “crossover” cable may also be used to connect controllers back-to-back. This
configuration is useful for loopback and/or diagnostic purposes or when a switch is not
available.
This section explains how to connect the adapter cards to the external network using
the standard Category 5e, 5e or 6 cables. The maximum cable length is typically 100
meters or 328 feet.
Insert the Category 5e cable into the RJ-45 connector until the self-locking tab clicks
into position. Connect the opposite end in to a 10/100 or 10/100/1000 Base T switch.
Two types of cables are used when connecting the adapter cards to the network. A
workstation or "straight through" cable is typically used to connect Ethernet adapters to
switches. A “crossover” cable may also be used to connect controllers back-to-back.
This configuration is useful for diagnostic purposes or when a hub or switch is not
available. However, it is not recommended for extended use, as it violates the IEEE
specification for 10 Mbit, 100 Mbit and 1000 Mbit Ethernet networks.
Note(1): Models 5164, 5264, 5261-RJ, 5262-RJ, 5468, 6468 and 6162 and 6267-RJ
support “auto-MDIX” mode where a crossover cable is not required when directly
attaching two controllers.
Note(2): Cables used for Gigabit networks must use all 8 wires. In 10 and 100 modes,
wires are dedicated for transmit or receive while in Gigabit mode, data is transmitted
and received over all 4-pairs.
DSS NETWORKS, INC. Version: 2.6 Page: 27
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
RJ-45 pinouts for CAT5 connectors and cables are shown in the following table:
The following sections explain how to install the driver software in VxWorks, and Linux
based systems.
10.1 LINUX DRIVER INSTALLATION AND USAGE
These instructions assume that you are running Red Hat Linux 7.x, 8.x, 9.x or a similar
Linux OS. You should be using at least a kernel version 2.4.18 installation for any other
Red Hat-based system will be similar. For other Linux based systems, the location of
some files may be slightly different.
Building the driver
To build the driver, copy the driver files to an appropriate directory. You will need to
make sure your CD is mounted.
$ mkdir dpm
$ cd dpm
$ cp /mnt/cdrom/linux-dpm-driver/dpm/dpm*.tar.gz .
$ gunzip dpm*.tar.gz
$ tar vxf dpm*.tar
To create a new driver object module:
$ make clean
$ make
Repeat same procedure with driver utility directory as follows:
DSS NETWORKS, INC. Version: 2.6 Page: 28
GigMAC-PMC and PCI
GigPMC Switch 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*.tar
To create a new utility programs:
$ make clean
$ make
Note(1): If you are installing the adapter cards in an SMP machine, you should
comment out the standard CFLAGS line in the “Makefile” and uncomment the SMP
version of CFLAGS before compiling the driver (safe to leave SMP enabled on newer
versions of Linux (2.4.18 – 2.4.26, 2.6).
Note(2): Before compiling, please also edit the Makefile and set “INCLUDEDIR” to the
path of your Linux kernel source tree. For example:
INCLUDEDIR = /usr/src/linux-2.4.25/include
Installing the driver
To install the driver object module in the file system, become root and run:
# make install
# depmod –a
# insmod dpm.o
Note(1): For loading driver with Intel 82546 based cards, use ‘ChipSelector=1’ or leave
blank (default)
Note(2): For loading driver with National DP83820 based cards, use ‘ChipSelector=0’
Note(3): ‘modprobe’ may be used in place of ‘insmod’ to resolve module dependencies.
Configure the card using your preferred configuration tool, or edit the initialization script
for the interface directly. On Red Hat, the file /etc/sysconfig/network-scripts/ifcfg-eth0
might look something like this (substituting ethernet device number, example: eth0,
eth1, etc):
Note: You should also add a line to /etc/modules.conf for each interface as shown in the
following example:
SAMPLE MODULES.CONF FILE
alias eth1 dpm
alias eth2 dpm
alias eth3 dpm
alias eth4 dpm
options dpm ChipSelector=1 IntrHoldOff=0
Note: In order to load the Intel driver, the "ChipSelector=1" option (the default) can be
set in the 'options' field of modules.conf. Please see man page for modules.conf for
additional information on module configuration.
MANUAL DRIVER INSTALLATION
insmod ./dpm.o # to insert driver module
ifconfig eth1 192.168.0.3 # if not already configured by system
Once driver is inserted you may need to run "ifconfig" command or it may be run
automatically by the system.
MANUAL DRIVER REMOVAL
ifdown eth[n] # repeat for all 'dpm' network interfaces
rmmod dpm # to remove driver module
LOADING THE DRIVER FOR INTEL BASED MODELS (5261, 5262, 5164, etc.)
Note: In order to load the Intel driver, the "ChipSelector=1" option is not required during
the 'insmod' as it is the default option:
insmod ./dpm.o [ChipSelector=1]
DSS NETWORKS, INC. Version: 2.6 Page: 30
GigMAC-PMC and PCI
GigPMC Switch 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.conf:
MediaSpeed=10,100,1000 # Media Speed (default 1000)
SetAutoNeg=0,1 # Setting for auto negotiation (default 1=auto)
DuplexMode=0,1 # Setting for duplex (default 1=FULL)
IntrHoldOff=0,1,2 # interrupt holdoff value in 100 microsecond
units
FrameGenSize=<size> # frame generator test size (64-9000 bytes)
See “Command Line Parameters” table below for additional information on driver
module insertion parameters.
DSS NETWORKS, INC. Version: 2.6 Page: 31
GigMAC-PMC and PCI
GigPMC Switch 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. 5262,
5164, 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).
Parameter Name
SetAutoNeg
DuplexMode
PauseFlowEn
IntrHoldOff
MediaSpeed
Valid
Range/Settings
0,1 1
0,1,2
(0=half, 1=full,
2=both)
0, 1 1
0, 1 or 2 (0=off) 1
10, 100, 1000 1000
Default Description
This parameter specifies the enabling of auto
negotiation.
Defines the direction in which data is allowed to
flow. Can be either one or two-directional. If both.
1
If auto negotiation is enabled, defines modes
advertised. If auto negotiation is disabled sets
duplex to this value.
This parameter enables or disables pause frame
flow control (typically enabled).
This value delays the generation of receive
interrupts in units of 100 microseconds. Receive
interrupt reduction can improve CPU efficiency if
properly tuned for specific network traffic.
Increasing this value adds extra latency to frame
reception and if set too high could decrease the
throughput of TCP traffic.
If auto negotiation id disabled, speed forces the
line speed to the specified value in megabits per
second (Mbps). If auto negotiation is enabled,
sets the highest speed advertised.
(adapters using copper connections only)
NumBufDescs
MaxMtuSize
MaxBufferSize
AccAllUni
DSS NETWORKS, INC. Version: 2.6 Page: 32
This value is the number of transmit and receive
descriptors allocated by the driver. Increasing
80 - 4096 256
1500-9600 1500
2048, 4096,
8192, 16384
0, 1 0 Setting this parameter to one instructs the driver
2048
this value allows the driver to queue more
transmit and receive buffers. Each descriptor is
16 bytes.
This value is the maximum mtu size supported in
the driver.
Sets the maximum buffer size supported in the
driver.
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
to receive all unicast frames (sometimes useful in
frame generator testing). Do not enable for
normal traffic.
ChipSelector
FrameGenSize
0, 1 1
60-MaxMtuSize 1500
Sets the chipset selector (0=National, 1=Intel).
Default is National chipset.
Sets the frame generator frame size for testing
end-to-end or loopback.
FUNCTIONALITY TESTING
When the driver is loaded into the system via `insmod' it probes the PCI bus to locate all
DP83820 devices, and creates control structures for each. The driver logs a couple of
messages available in `/var/log/messages' for each device with information about its
PCI geographic location, IRQ, IO address, and some basic debug information
(addresses of some important structures).
All the devices on the PCI bus can be listed by,
# cat /proc/pci
# cat /proc/interrupts
IRQ and IO address information from this can be correlated with the information
displayed by the driver in `/var/log/messages'
When the TCP/IP stack is initialized, it opens all configured ethernet devices, and
initializes them for use. At this time, the driver will perform auto negotiation and log
information about the link status. The driver can then be tested by running ping, telnet,
ftp, NFS etc.
Suggested basic verifications to be run
lsmod # lists loaded drivers
ifconfig # lists configured network interfaces
dmUtil -s eth[n] # prints low-level driver statistics for device
ping <ip addr> # ping to remote station to verify
ADDITIONAL VERIFICATION AND PERFORMANCE TESTING
Verification and performance testing can be done using the Linux "uxBlaster" and
"uxBlastee" test programs found on OEM developer kit CD. The 'dmUtil' utility program
also found on the CD can be used to obtain valuable information used for debug and
integration verification.
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
dmUtil -m eth0 # displays DP83820 MAC controller registers
dmUtil -p eth0 # displays gigabit (phy) transceiver registers
dmUtil -e eth0 # displays eeprom
dmUtil -a eth0 # displays mac address
dmUtil -ms eth0 # displays mac stats (Intel only)
LOOPBACK PERFORMANCE TESTING
1. Edit 'Makefile'
2. Un-comment the following define:
CFLAGS += -DNS_FRAME_TEST -DIN_FRAME_TEST
3. Save file, unload and reload driver using procedures described above.
4. Use "ifconfig" command to bring up Ethernet interface.
5. Run the following command from the 'util' directory:
./dmUtil -l eth1 # loopback eth0, eth1, etc.
6. View statistics using dmUtil command as follows:
./dmUtil -s eth1 1 # second arg=1 zeroes statistics after gathering
Note: The driver must be compiled without "-DNS_FRAME_TEST" for normal
operation.
Jumbo frames: The mtu size can be increased using the ifconfig utility, as
follows:
# ifconfig <interface-name> mtu <mtu-size>
Example: ifconfig eth0 mtu 3000
Note: Use of jumbo frames is not recommended as it is not IEEE standard and many
switches do not support the forwarding of jumbo frames. It also has to be enabled and
negotiated on both ends of the connection and in today’s faster systems, using jumbo
frames offers little performance improvement and may only be useful in closed
application-specific networks.
DSS NETWORKS, INC. Version: 2.6 Page: 34
GigMAC-PMC and PCI
GigPMC Switch 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. Example usage of the “dmUtil” are as follows:
dmUtil -s eth1 # get driver statistics for interface 1
dmUtil –p eth1 # get phy (transceiver) registers for interface 1
dmUtil –m eth1 # get MAC (PCI controller) registers for interface 10
dmUtil –t eth1 # get execution debug trace for interface1
(DEBUG_FLAGS trace option must be compiled in)
dmUtil –e eth1 # get eeprom configuration settings
The dpm network driver management API is an api extension primarily used by the
‘dmUtil’ command line utility to enable various management functions or to acquire
driver status and statistics. The typical api usage sequence is as follows:
1. User enters ‘dmUtil’ command and parameters as shown in the following
example:
./dmUtil –s eth1
2. dmUtil parses command line and prepares an “ioctl” request block to send to
driver. A pointer to a application buffer to hold the text message results (for
example formatted statistics) is provided by dmUtil in the request block.
3. Driver receives ioctl request block performs action and copies result data to
applications message buffer.
The following is an API description of the management ioctl commands issued to the
driver from the ‘dmUtil’ application’s viewpoint:
DSS NETWORKS, INC. Version: 2.6 Page: 45
GigMAC-PMC and PCI
GigPMC Switch 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;
/* get mac MIB statistics */
#define DM_IOCTL_GET_MAC_STATS 10
Please also see example code in dmUtil.c for additional information.
10.5 SWITCH CONFIGURATION / MANAGEMENT API
Note: This section is applicable for Model 5468 GigPMC and Model 6468 GigPCIe
switch/interface cards only.
The following functions are provide a low-level access capability for reading and writing
the configuration and management registers on the embedded switch:
Functions to reset and initialize switch:
STATUS inResetSwitchDevice(int unit, int initialReset);
LOCAL void inLiInitBcm5388(InLiDev *pLiDev);
DSS NETWORKS, INC. Version: 2.6 Page: 47
GigMAC-PMC and PCI
GigPMC Switch 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 5468/6468 cards initializes the
switch by writing a default configuration during initialization. This is performed in the
Intel driver initialization using the function “inLiInitBcm5388()”. This function may be
modified to make changes to the default configuration. Additional switch management
functions may be implemented using the low-level register access API shown. For
additional information and register programming details, please contact technical
support.
DSS NETWORKS, INC. Version: 2.6 Page: 48
GigMAC-PMC and PCI
GigPMC Switch 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. Please refer to your online help
and User Manuals for your particular system on instructions on setting up your TCP/IP
environment.
ICMP Ping. Ping is a simple verification method and it very useful for verification of
cabling, adapter configuration and system configuration of the TCP/IP protocol
software. You can also specify a “fast ping” and larger message sizes in order to
more effectively test the protocols and adapter interface.
FTP File Transfer. FTP is also an available method for testing your installation. FTP
allows you to test by transferring files of different sizes. Using large file transfers is a
good way to test medium transfer rates through the protocol stack.
HTTP Web Browsing. Is a good means of testing the pr otocols and interface to the
adapter.
Telnet. Using Telnet you can log into another system and invoke commands to send
a receive data. You can also test multiple connections within a single window by
repetitively Telnet’ing back and forth between multiple systems.
Windows Explorer. In a Windows environment, you can also use the Windows
explorer to access files on other systems within your Workgroup or Domain.
Blaster / blastee can be used to perform TCP throughput tests between VxWorks,
Linux and Windows platforms. These test programs are included on the OEM
developer CD.
Internal loopback: The vxWorks and Linux drivers can be placed into internal
loopback for a full-speed raw driver and controller throughput test. This is very useful
for getting a baseline throughput measurement and also for verifying the robustness
of the controller and driver in your system.
DSS NETWORKS, INC. Version: 2.6 Page: 49
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
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.2 and Tornado 2.2.1 (VxWorks 5.4/5.5/5.5.1)
Status Indicators (model 5164 PMC): Per port link/activity
Status Indicators (model 5468 PMC): Per port link/activity
Status Indicators (model 5261/5262 PMC): Per port link, duplex, transmit, receive
Status Indicators (model 6267-SFP PCI-X): Per port link, transmit, receive
Bus Interface: PCI v2.2 bus master, 32/64-bit, 33/66 MHz
5.866” (W) X 2.913 (H)
Dimensions: (PCI-X models 6162, 6267):
6.6” (W) X 2.535” (H)
Dimensions: (PCIe models 6468):
6.6” (W) X 3.921" (H)
PCI Power supply voltage: 5V or 3.3V (factory optioned), 5V is default
PCI signaling voltage: 5V and 3.3V
Performance Throughput (PCI 64/66, PCI-X): 245 Mbytes/sec (1.96 Gb) (full-duplex)
sustained per port
Performance Throughput (PCI 32/33): 118 Mbytes/sec (944 Mb) full or half duplex
sustained per port
Maximum frame rate: Over 850,000 frames per second sustained per port
DSS NETWORKS, INC. Version: 2.6 Page: 50
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
Burst Rate: Up to 256 dwords (1024 bytes) over PCI bus
Host Offloading: IPv.4 checksum (UDP, TCP and IP) and optional statistics gathering
for RFC 1213 (MIB II), RFC 1398 (Ether-like MIB), IEEE
802.3 LME
Optional: Jumbo packets, 802.3x full duplex flow control with
automatic pause and priority with multiple priority queues
Link Quality Monitor: Continuously adapts to actual line conditions
by managing echo and crosstalk cancellation,
equalization, timing and skew compensation.
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.3 volts
MTBF:
Model 5261 – 350,000 hours
Model 5262 – 300,000 hours
Model 5263 – 300,000 hours
Model 5164 – 275,000 hours
Model 5264 – 300,000 hours
Model 5468 – 250,000 hours
Model 6162 – 450,000 hours
Model 6468 – 250,000 hours
Model 6267 – 350,000 hours
Environmental Standards Compliance (pending):
FCC Part 15, Class B
EN 55022; 1998 Class B
EN 50082-1
CE Mark
Network: IEEE 802.3u Auto Negotiation and parallel detection
IEEE 802.3ab Gigabit Ethernet over 4 pairs of UTP Category 5e (1000BaseT)
Gigabit
DSS NETWORKS, INC. Version: 2.6 Page: 51
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
IEEE 802.3z Gigabit Ethernet over 1000 Base SX multimode fiber
IEEE 802.1D and 802.1Q as applicable for VLAN priority queuing
IEEE 802.3 Gigabit Ethernet over 4 pairs of UTP Category 5e 1000BaseTX).
IEEE 802.3u Fast Ethernet over 2 pairs of UTP Category 5 (100BaseTX).
IEEE 802.3 Ethernet over 2 pairs of UTP Category 3 (10BaseT).
IEEE 1386 Draft 2.2 PMC Mezzanine Standard
Full Duplex: Support for 10/100/1000 Mbps data rates on all copper models (fiber
models Gigabit mode only)
Virtual Network: Virtual LAN (VLAN) tag support
Distance (Copper models 5261-RJ, 5262-RJ, 5164-RJ, 5468-RJ, 6162, 6468-RJ and
6267-RJ): Recommended maximum distance is 328 feet (100 meters).
DSS NETWORKS, INC. Version: 2.6 Page: 52
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
12.1 ENVIRONMENTAL SPECIFICATIONS
Rugged
Class
C1
R1
Grade
Commercial
Rugged,
Forced Air
Operating
Temp.
0ºC to +65ºC
200 linear
ft/minute air
flow
-20ºC to +75ºC
350 linear
ft/minute air
flow
Storage
Temp
-50C to
+100C
-50C to
+100C
VibrationShockHumidity
Operating: Up
to 90% NonCondensing
Operating: Up
to 95% NonCondensing
N/A
5Hz-2000Hz
at 2g,
0.38mm
peak
displacement
(operating)
5Hz-2000Hz
at 5g,
0.76mm
peak
displacement
(nonoperating
N/A
20g, 11ms, ½
sine
(operating);
30g, 11ms, ½
sine (nonoperating)
Per MIL-STD810E
Conformal
coated: No
Altitude:
33,000 ft.
Conformal
coated: Yes
Altitude:
50,000 ft.
Other
Specs
Per MILSTD-810E
-40ºC to +85ºC
R2
Note: Conformal coating is MIL-I-46058 compliant (typically type UR or AR) or other as applicable
and based on customer requirement.
Rugged,
Forced Air
450 linear
ft/minute air
flow
-50C to
+100C
5Hz-2000Hz
at 2g,
0.38mm
peak
displacement
(operating)
5Hz-2000Hz
at 5g,
0.76mm
peak
displacement
(nonoperating
Per MILSTD-810E
30g, 11ms, ½
sine
(operating);
40g, 11ms, ½
sine (nonoperating)
Per MIL-STD810E
Operating: Up
to 95% NonCondensing
Conformal
coated: Yes
Altitude:
50,000 ft.
DSS NETWORKS, INC.Version: 2.6 Page: 53
GigMAC-PMC and PCI
GigPMC Switch 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.
Technical Support
Send all technical support queries to support@dssnetworks.comor visit the DSS
Networks website at www.dssnetworks.com. The DSS Networks website contains
technical as well as sales literature for all of our products.
Technical Support-Worldwide
+1.949.716.9051
Technical Support-Fax
+1.949.716.9052
Main Corporate Telephone Numbers
949-716-9052
DSS NETWORKS, INC. Version: 2.6 Page: 54
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.