Intel PCI User Manual

Page of 54
GigMAC-PMC and PCI 
GigPMC Switch  
 
Board and Driver Users Manual 
DSS NETWORKS, INC. 
Version: 2.6 
  Page: 33 
to receive all unicast frames (sometimes useful in 
frame generator testing). Do not enable for 
normal traffic. 
ChipSelector 
0, 1 
Sets the chipset selector (0=National, 1=Intel). 
Default is National chipset. 
FrameGenSize 
60-MaxMtuSize 1500 
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. 
 
dmUtil -s eth0    # displays low-level driver statistics