VirtualBox

Changeset 11448 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Aug 15, 2008 6:17:28 PM (16 years ago)
Author:
vboxsync
Message:

DrvTAP: Increased buffer sizes to 16384 in Windows and OS/2. Increased max MTU size to 16384 in .inf file.

Location:
trunk/src/VBox/Devices/Network
Files:
2 edited

Legend:

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

    r11267 r11448  
    238238         * Read a frame, this will block for a while if nothing to read.
    239239         */
    240         char    abBuf[4096];
     240        char    abBuf[16384];
    241241        ULONG   Parm[2] = { ~0UL, ~0UL };   /* mysterious output */
    242242        ULONG   cbParm = sizeof(Parm);      /* this one is actually ignored... */
     
    253253            &&  cbRead > 0 /* cbRead */)
    254254        {
    255             AssertMsg(cbRead <= 1536, ("cbRead=%d\n", cbRead));
     255            // The following assertion was commented out to support jumbo frames.
     256            //AssertMsg(cbRead <= 1536, ("cbRead=%d\n", cbRead));
    256257
    257258            /*
  • trunk/src/VBox/Devices/Network/DrvTAPWin.cpp

    r11269 r11448  
    6464    OVERLAPPED              overlappedRead;
    6565    DWORD                   dwNumberOfBytesRead;
    66     uint8_t                 readBuffer[4096];
     66    uint8_t                 readBuffer[16384];
    6767
    6868    TAP_VERSION             tapVersion;
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