58 Sun Dual 10GbE XFP PCI Express Card User’s Guide • January 2009
3. Set the MTU for maximum performance:
Where xis the instance number of the interface you want to configurejumbo frames
on.
To Show the Driver Statistics in a Linux
Environment
1. Use the ifconfig utility to display driver statistics, for example:
2. Use the ethtool utility with -S option to get more detailed information. This
option displays a large amount of statistics manintined by the driver.
#ifconfig ethx mtu 9194
#ifconfig eth4
eth9 Link encap:Ethernet HWaddr 00:14:4F:6C:78:E9
inet addr:38.38.9.42 Bcast:38.38.9.255
Mask:255.255.255.0
inet6 addr: fe80::214:4fff:fe6c:78e9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9194 Metric:1
RX packets:748274 errors:0 dropped:0 overruns:0 frame:0
TX packets:8645339 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44983920 (42.9 MiB) TX bytes:75352303126 (70.1
GiB)
#ethtool -S eth9 |grep rx_pac
rx_packets: 748274
rx_packets: 828
rx_packets: 112
rx_packets: 189088
rx_packets: 134
rx_packets: 196085
rx_packets: 177884
rx_packets: 93
rx_packets: 184050