Configuring Jumbo Frames enables the Ethernet interfaces to send and receive packets larger than the standard 1500 bytes. However, the actual transfer size depends on the switch capability and the device driver capability.
Note – Refer to the documentation that came with your switch for exact commands to configure Jumbo Frames support.
Jumbo frames can be enable in a Linux environment with the following steps
Enable Jumbo Frames in a Linux Environment
1. Ensure that the nxge software is installed.
# modprobe nxge
2. Plumb the Sun Dual 10GbE XFP PCIe ExpressModule interface:
# ifconfig eth2 xxx.xxx.xx.xxx up
where xxx.xxx.xx.xxx is the IP address of the interface.
3. Set the MTU for maximum performance:
# ifconfig ethnumber mtu 9194
where number is the instance number of the interface you want to configure Jumbo Frames on.
To show the Driver Statistics in a Linux Environment
1. Use the ifconfig utility to display driver statistics.
For example:
# ifconfig eth6 eth6 Link encap:Ethernet HWaddr 00:14:4F:83:9E:1A inet addr:192.168.11.189 Bcast:192.168.11.255 Mask:255.255.255.0 inet6 addr: fe80::214:4fff:fe83:9e1a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:256 (256.0 b) TX bytes:0 (0.0 b)
2. Use the ethtool utility with the -S option to get more detailed information.
This option displays a large amount of statistics maintained by the driver.
# 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
3. (Optional) To get more specific statitics, use the grep command on the output of ethtool -S:
# ethtool -S eth9 |grep tx_pac tx_packets: 8645339 tx_packets: 3418334 tx_packets: 26 tx_packets: 0 tx_packets: 22 tx_packets: 401791 tx_packets: 1466540 tx_packets: 0 tx_packets: 21 tx_packets: 725 tx_packets: 3357880 tx_packets: 0 tx_packets: 0