VirtualBox

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


Ignore:
Timestamp:
Apr 8, 2021 6:20:16 PM (4 years ago)
Author:
vboxsync
Message:

Dev/E1000: (bugref:9850) Added a comment about relaxed RDT checks.

File:
1 edited

Legend:

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

    r88372 r88424  
    17311731    pContext->rdt   = RDT;
    17321732    uint32_t cRxRingSize = pContext->rdlen / sizeof(E1KRXDESC);
     1733    /*
     1734     * Note that the checks for RDT are a bit different. Some guests, OS/2 for
     1735     * example, intend to use all descriptors in RX ring, so they point RDT
     1736     * right beyond the last descriptor in the ring. While this is not
     1737     * acceptable for other registers, it works out fine for RDT.
     1738     */
    17331739#ifdef DEBUG
    17341740    if (pContext->rdh >= cRxRingSize)
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