VirtualBox

Changeset 11242 in vbox for trunk/src


Ignore:
Timestamp:
Aug 8, 2008 1:14:37 PM (16 years ago)
Author:
vboxsync
Message:

Increased buffer size to 16kB in DrvTap to support jumbo frames.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvTAP.cpp

    r11157 r11242  
    272272             * Read the frame.
    273273             */
    274             char achBuf[4096];
     274            char achBuf[16384];
    275275            size_t cbRead = 0;
    276276#ifdef VBOX_WITH_CROSSBOW
     
    286286            if (VBOX_SUCCESS(rc))
    287287            {
    288                 AssertMsg(cbRead <= 1536, ("cbRead=%d\n", cbRead));
     288                // Assertion removed to be able to support jumbo frames.
     289                //AssertMsg(cbRead <= 1536, ("cbRead=%d\n", cbRead));
    289290
    290291                /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette