Changeset 21522 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jul 13, 2009 8:46:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r21363 r21522 259 259 RCPTRTYPE(PPCNETGUESTSHAREDMEMORY) pSharedMMIORC; 260 260 261 #if HC_ARCH_BITS == 64 262 uint32_t Alignment6; 263 #endif 261 /** Error counter for bad receive descriptors. */ 262 uint32_t uCntBadRMD; 264 263 265 264 /** True if host and guest admitted to use the private interface. */ … … 1724 1723 { 1725 1724 STAM_PROFILE_ADV_STOP(&pThis->CTXSUFF(StatRdtePoll), a); 1726 /* This is not problematic since we don't own the descriptor */ 1727 LogRel(("PCNet#%d: BAD RMD ENTRIES AT %#010x (i=%d)\n", 1728 PCNET_INST_NR, addr, i)); 1725 /* This is not problematic since we don't own the descriptor 1726 * We actually do own it, otherwise pcnetRmdLoad would have returned false. 1727 * Don't flood the release log with errors. 1728 */ 1729 if (++pThis->uCntBadRMD < 50) 1730 LogRel(("PCNet#%d: BAD RMD ENTRIES AT %#010x (i=%d)\n", 1731 PCNET_INST_NR, addr, i)); 1729 1732 return; 1730 1733 } … … 1754 1757 { 1755 1758 STAM_PROFILE_ADV_STOP(&pThis->CTXSUFF(StatRdtePoll), a); 1756 /* This is not problematic since we don't own the descriptor */ 1757 LogRel(("PCNet#%d: BAD RMD ENTRIES + AT %#010x (i=%d)\n", 1758 PCNET_INST_NR, addr, i)); 1759 /* This is not problematic since we don't own the descriptor 1760 * We actually do own it, otherwise pcnetRmdLoad would have returned false. 1761 * Don't flood the release log with errors. 1762 */ 1763 if (++pThis->uCntBadRMD < 50) 1764 LogRel(("PCNet#%d: BAD RMD ENTRIES + AT %#010x (i=%d)\n", 1765 PCNET_INST_NR, addr, i)); 1759 1766 return; 1760 1767 } … … 3195 3202 pThis->aBCR[BCR_PCISVID] = PCIDevGetSubSystemVendorId(&pThis->PciDev); 3196 3203 3204 /* Reset the error counter. */ 3205 pThis->uCntBadRMD = 0; 3206 3197 3207 pcnetSoftReset(pThis); 3198 3208 }
Note:
See TracChangeset
for help on using the changeset viewer.