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: 34 
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.