C H A P T E R 6 |
Configuring the Jumbo Frames Feature |
This chapter describes how to configure the Jumbo Frames feature. It 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 ethernet adapter driver capability.
Note - Refer to the documentation that came with your switch for exact commands to configure Jumbo Frames support. |
The jumbo frame configuration checking occurs at Layer 2 or Layer 3, depending on the configuration method.
To Show the Driver Statistics in an Oracle Solaris Environment |
1. Use the kstat command to display driver statistics, for example:
The previous example displays the receive packet counts on all of the eight Receive DMA channels on interface 1. Using the kstat nxge:1 shows all the statistics that the driver supports for that interface.
2. Use the kstat command to display driver statistics of a VLAN interface, for example:.
This section describes how to enable jumbo frames in both a SPARC and an x86 environment.
To Enable Jumbo Frames in an Oracle Solaris Environment Using nxge.conf |
1. Enable Jumbo Frames for a port using the nxge.conf file. For example,
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. This value 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, as shown in the following example:
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 10 GbE XFP PCI Express Card interface:
where xxx.xxx.xx.xxx is the IP address of the interface.
3. Set the MTU for maximum performance:
Where x 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:
2. Use the ethtool utility with -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. To get more specific statistics, use the grep command on the output of ethtool -S:
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.