opensolaris – jumbo frames

If your keen on enabling jumbo frames in opensolaris this is the way…

http://docs.sun.com/app/docs/doc/819-6990/gdyqk?l=en&a=view

# dladm show-phys
LINK       MEDIA        STATE     SPEED     DUPLEX     DEVICE
net0       ether        up        100Mb     full       bge0
itops1     ether        up        100Mb     full       qfe3
web1       ether        up        100Mb     full       bge1
# dladm show-linkprop -p mtu web1
LINK     PROPERTY     VALUE     DEFAULT     POSSIBLE
web1     mtu          1500      1500        —
# ifconfig web1 unplumb
# dladm set-linkprop -p mtu=9000 web1
# ifconfig web1 plumb 10.10.1.2/24 up
# dladm show-link web1
LINK     CLASS     MTU      STATE     OVER
web1     phys      9000     up        —
dladm show-phys
LINK       MEDIA        STATE     SPEED     DUPLEX     DEVICE
net0       ether        up        100Mb     full       bge0
itops1     ether        up        100Mb     full       qfe3
web1       ether        up        100Mb     full       bge1

dladm show-linkprop -p mtu web1
LINK     PROPERTY     VALUE     DEFAULT     POSSIBLE
web1     mtu          1500      1500        —

ifconfig web1 unplumb
dladm set-linkprop -p mtu=9000 web1
ifconfig web1 plumb 10.10.1.2/24 up

dladm show-link web1
LINK     CLASS     MTU      STATE     OVER
web1     phys      9000     up        —
Done.
Note: this is not something that i would recommend or currently use. I prefer trunking two nics to give additional performance. http://sigtar.com/2009/07/20/opensolaris-network-teaming/

9 Replies to “opensolaris – jumbo frames”

  1. I have 2 e1000g devices with both set in the /kernel/drv/e1000g.conf file for a max MTU of 3 or 1500-16298

    1 NIC plays nice and it allows the larger MTU. The other NIC, no matter what i do will not go above 1500 MTU:

    Any ideas, Thank you!

    root@keeper:/volumes# dladm show-linkprop -p mtu e1000g0
    LINK PROPERTY PERM VALUE DEFAULT POSSIBLE
    e1000g0 mtu rw 9000 1500 1500-16298
    root@keeper:/volumes# dladm show-linkprop -p mtu e1000g1
    LINK PROPERTY PERM VALUE DEFAULT POSSIBLE
    e1000g1 mtu rw 1500 1500 1500
    root@keeper:/volumes#

  2. With 3 e1000g interfaces I am still experiencing this problem on 2 out of the 3 interfaces. My add-on PCI-E Intel card displays the correct MTU range of 1500-16298.

    The 2 built-in Intel interfaces show only MTU of 1500.

    my /kernel/drv/e1000g.conf and /var/lib/dpkg/alien/sunwintgige/reloc/kernel/drv/e1000g.conf (If I do not set this one too, the above conf file gets overwritten) are set to: MaxFrameSize=3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;

    And root@keeper:/kernel/drv# dladm show-link LINK CLASS MTU STATE BRIDGE OVER e1000g2 phys 1500 up — — e1000g0 phys 9000 up — — e1000g1 phys 1500 up — —

    How do I get the e1000g driver to allow max MTU on all 3 e1000g interfaces?

    Thank you, Matthew

  3. I just want to mention I am new to blogging and honestly liked your blog. Probably I’m planning to bookmark your website . You definitely come with amazing posts. With thanks for sharing your web page.

Leave a Reply

Your email address will not be published.