VirtualBox

Changeset 28131 in vbox


Ignore:
Timestamp:
Apr 9, 2010 9:50:19 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59854
Message:

#4286: e1000: Force RX checksum in guest software.

File:
1 edited

Legend:

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

    r28126 r28131  
    19521952    E1kLog2(("%s e1kRxChecksumOffload: EtherType=%x\n", INSTANCE(pState), uEtherType));
    19531953
    1954     //pStatus->fIPE   = false;
    1955     //pStatus->fTCPE  = false;
    19561954    switch (uEtherType)
    19571955    {
     1956        /* @todo
     1957         * It is not safe to bypass checksum verification for packets coming
     1958         * from real wire. We currently unable to tell where packets are
     1959         * coming from so we tell the driver to ignore our checksum flags
     1960         * and do verification in software.
     1961         */
     1962#if 0
    19581963        case 0x800: /* IPv4 */
    19591964            pStatus->fIXSM  = false;
     
    19681973            pStatus->fTCPCS = true;
    19691974            break;
     1975#endif
    19701976        default: /* ARP, VLAN, etc. */
    19711977            pStatus->fIXSM = true;
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