C H A P T E R 6 |
Configuring the Jumbo Frames Feature |
This chapter describes how to configure the Jumbo Frames feature. This chapter contains the following sections:
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. |
The Jumbo Frames configuration checking occurs at Layer 2 or Layer 3, depending on the configuration method.
To Show the Driver Statistics in a Solaris Environment |
1. Use the kstat command to display driver statistics, for example:
The previous example diplays the receive packet counts on all of the eight receive DMA channels on interface 1. Using the kstat nxge:1 command shows all the statistics that the driver supports for that interface.
2. Use the kstat command to display driver statistics of a VLAN interface.
This section describes how to enable Jumbo Frames in both a SPARC and an x86 environment.
To Enable Jumbo Frames in a Solaris Environment Using nxge.conf |
1. Enable Jumbo Frames for a port using the nxge.conf file.
name = "pciex108e,abcd" parent = "/pci@780/pci@0/pci@8/network@0" unit-address = "0" accept-jumbo=1; |
3. Set the maximum MTU for maximum performance:
To Check Layer 2 Configuration |
View the maximum transmission unit (MTU) configuration of an nxge instance at any time with the kstat command:
The kstat mac_mtu variable represents the complete size of the Ethernet frame, which includes the Ethernet header, maximum payload, and crc. The value of this variable should be equal to or less than the MTU configured on the switch.
To Check Layer 3 Configuration |
Check the Layer 3 configuration by using the dladm command with the show-link option.
This section describes how to enable Jumbo Frames in a Linux environment.
To Enable Jumbo Frames in a Linux Environment |
1. Ensure that the nxge software is installed.
2. Plumb the Sun Dual 10GbE XFP PCIe ExpressModule interface:
where xxx.xxx.xx.xxx is the IP address of the interface.
3. Set the MTU for maximum performance:
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.
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:
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.