VirtualBox

Changeset 71190 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Mar 5, 2018 7:45:55 AM (7 years ago)
Author:
vboxsync
Message:

Dev/E1000: Add missing colons after device name in release log.

File:
1 edited

Legend:

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

    r71098 r71190  
    50065006        {
    50075007            pThis->contextTSE.dw3.u16MSS = E1K_MAX_TX_PKT_SIZE - pThis->contextTSE.dw3.u8HDRLEN - 4; /*VTAG*/
    5008             LogRelMax(10, ("%s Transmit packet is too large: %u > %u(max). Adjusted MSS to %u.\n",
     5008            LogRelMax(10, ("%s: Transmit packet is too large: %u > %u(max). Adjusted MSS to %u.\n",
    50095009                           pThis->szPrf, cbMaxSegmentSize, E1K_MAX_TX_PKT_SIZE, pThis->contextTSE.dw3.u16MSS));
    50105010        }
     
    52425242    unsigned i, cDescs = TDLEN / sizeof(E1KTXDESC);
    52435243    uint32_t tdh = TDH;
    5244     LogRel(("-- Transmit Descriptors (%d total) --\n", cDescs));
     5244    LogRel(("E1000: -- Transmit Descriptors (%d total) --\n", cDescs));
    52455245    for (i = 0; i < cDescs; ++i)
    52465246    {
     
    52495249                          &desc, sizeof(desc));
    52505250        if (i == tdh)
    5251             LogRel((">>> "));
    5252         LogRel(("%RGp: %R[e1ktxd]\n", e1kDescAddr(TDBAH, TDBAL, i), &desc));
    5253     }
    5254     LogRel(("-- Transmit Descriptors in Cache (at %d (TDH %d)/ fetched %d / max %d) --\n",
     5251            LogRel(("E1000: >>> "));
     5252        LogRel(("E1000: %RGp: %R[e1ktxd]\n", e1kDescAddr(TDBAH, TDBAL, i), &desc));
     5253    }
     5254    LogRel(("E1000: -- Transmit Descriptors in Cache (at %d (TDH %d)/ fetched %d / max %d) --\n",
    52555255            pThis->iTxDCurrent, TDH, pThis->nTxDFetched, E1K_TXD_CACHE_SIZE));
    52565256    if (tdh > pThis->iTxDCurrent)
     
    52615261    {
    52625262        if (i == pThis->iTxDCurrent)
    5263             LogRel((">>> "));
    5264         LogRel(("%RGp: %R[e1ktxd]\n", e1kDescAddr(TDBAH, TDBAL, tdh++ % cDescs), &pThis->aTxDescriptors[i]));
     5263            LogRel(("E1000: >>> "));
     5264        LogRel(("E1000: %RGp: %R[e1ktxd]\n", e1kDescAddr(TDBAH, TDBAL, tdh++ % cDescs), &pThis->aTxDescriptors[i]));
    52655265    }
    52665266}
     
    53325332                 * the guest driver can recover from network card error.
    53335333                 */
    5334                 LogRel(("%s No complete packets in%s TxD cache! "
     5334                LogRel(("%s: No complete packets in%s TxD cache! "
    53355335                      "Fetched=%d, current=%d, TX len=%d.\n",
    53365336                      pThis->szPrf,
     
    61406140    RT_NOREF(pThis);
    61416141    for (int i = 0; i < E1K_NUM_OF_32BIT_REGS; ++i)
    6142         E1kLog2(("%s %8.8s = %08x\n", pThis->szPrf, g_aE1kRegMap[i].abbrev, pThis->auRegs[i]));
     6142        E1kLog2(("%s: %8.8s = %08x\n", pThis->szPrf, g_aE1kRegMap[i].abbrev, pThis->auRegs[i]));
    61436143# ifdef E1K_INT_STATS
    6144     LogRel(("%s Interrupt attempts: %d\n", pThis->szPrf, pThis->uStatIntTry));
    6145     LogRel(("%s Interrupts raised : %d\n", pThis->szPrf, pThis->uStatInt));
    6146     LogRel(("%s Interrupts lowered: %d\n", pThis->szPrf, pThis->uStatIntLower));
    6147     LogRel(("%s ICR outside ISR   : %d\n", pThis->szPrf, pThis->uStatNoIntICR));
    6148     LogRel(("%s IMS raised ints   : %d\n", pThis->szPrf, pThis->uStatIntIMS));
    6149     LogRel(("%s Interrupts skipped: %d\n", pThis->szPrf, pThis->uStatIntSkip));
    6150     LogRel(("%s Masked interrupts : %d\n", pThis->szPrf, pThis->uStatIntMasked));
    6151     LogRel(("%s Early interrupts  : %d\n", pThis->szPrf, pThis->uStatIntEarly));
    6152     LogRel(("%s Late interrupts   : %d\n", pThis->szPrf, pThis->uStatIntLate));
    6153     LogRel(("%s Lost interrupts   : %d\n", pThis->szPrf, pThis->iStatIntLost));
    6154     LogRel(("%s Interrupts by RX  : %d\n", pThis->szPrf, pThis->uStatIntRx));
    6155     LogRel(("%s Interrupts by TX  : %d\n", pThis->szPrf, pThis->uStatIntTx));
    6156     LogRel(("%s Interrupts by ICS : %d\n", pThis->szPrf, pThis->uStatIntICS));
    6157     LogRel(("%s Interrupts by RDTR: %d\n", pThis->szPrf, pThis->uStatIntRDTR));
    6158     LogRel(("%s Interrupts by RDMT: %d\n", pThis->szPrf, pThis->uStatIntRXDMT0));
    6159     LogRel(("%s Interrupts by TXQE: %d\n", pThis->szPrf, pThis->uStatIntTXQE));
    6160     LogRel(("%s TX int delay asked: %d\n", pThis->szPrf, pThis->uStatTxIDE));
    6161     LogRel(("%s TX delayed:         %d\n", pThis->szPrf, pThis->uStatTxDelayed));
    6162     LogRel(("%s TX delay expired:   %d\n", pThis->szPrf, pThis->uStatTxDelayExp));
    6163     LogRel(("%s TX no report asked: %d\n", pThis->szPrf, pThis->uStatTxNoRS));
    6164     LogRel(("%s TX abs timer expd : %d\n", pThis->szPrf, pThis->uStatTAD));
    6165     LogRel(("%s TX int timer expd : %d\n", pThis->szPrf, pThis->uStatTID));
    6166     LogRel(("%s RX abs timer expd : %d\n", pThis->szPrf, pThis->uStatRAD));
    6167     LogRel(("%s RX int timer expd : %d\n", pThis->szPrf, pThis->uStatRID));
    6168     LogRel(("%s TX CTX descriptors: %d\n", pThis->szPrf, pThis->uStatDescCtx));
    6169     LogRel(("%s TX DAT descriptors: %d\n", pThis->szPrf, pThis->uStatDescDat));
    6170     LogRel(("%s TX LEG descriptors: %d\n", pThis->szPrf, pThis->uStatDescLeg));
    6171     LogRel(("%s Received frames   : %d\n", pThis->szPrf, pThis->uStatRxFrm));
    6172     LogRel(("%s Transmitted frames: %d\n", pThis->szPrf, pThis->uStatTxFrm));
    6173     LogRel(("%s TX frames up to 1514: %d\n", pThis->szPrf, pThis->uStatTx1514));
    6174     LogRel(("%s TX frames up to 2962: %d\n", pThis->szPrf, pThis->uStatTx2962));
    6175     LogRel(("%s TX frames up to 4410: %d\n", pThis->szPrf, pThis->uStatTx4410));
    6176     LogRel(("%s TX frames up to 5858: %d\n", pThis->szPrf, pThis->uStatTx5858));
    6177     LogRel(("%s TX frames up to 7306: %d\n", pThis->szPrf, pThis->uStatTx7306));
    6178     LogRel(("%s TX frames up to 8754: %d\n", pThis->szPrf, pThis->uStatTx8754));
    6179     LogRel(("%s TX frames up to 16384: %d\n", pThis->szPrf, pThis->uStatTx16384));
    6180     LogRel(("%s TX frames up to 32768: %d\n", pThis->szPrf, pThis->uStatTx32768));
    6181     LogRel(("%s Larger TX frames    : %d\n", pThis->szPrf, pThis->uStatTxLarge));
    6182     LogRel(("%s Max TX Delay        : %lld\n", pThis->szPrf, pThis->uStatMaxTxDelay));
     6144    LogRel(("%s: Interrupt attempts: %d\n", pThis->szPrf, pThis->uStatIntTry));
     6145    LogRel(("%s: Interrupts raised : %d\n", pThis->szPrf, pThis->uStatInt));
     6146    LogRel(("%s: Interrupts lowered: %d\n", pThis->szPrf, pThis->uStatIntLower));
     6147    LogRel(("%s: ICR outside ISR   : %d\n", pThis->szPrf, pThis->uStatNoIntICR));
     6148    LogRel(("%s: IMS raised ints   : %d\n", pThis->szPrf, pThis->uStatIntIMS));
     6149    LogRel(("%s: Interrupts skipped: %d\n", pThis->szPrf, pThis->uStatIntSkip));
     6150    LogRel(("%s: Masked interrupts : %d\n", pThis->szPrf, pThis->uStatIntMasked));
     6151    LogRel(("%s: Early interrupts  : %d\n", pThis->szPrf, pThis->uStatIntEarly));
     6152    LogRel(("%s: Late interrupts   : %d\n", pThis->szPrf, pThis->uStatIntLate));
     6153    LogRel(("%s: Lost interrupts   : %d\n", pThis->szPrf, pThis->iStatIntLost));
     6154    LogRel(("%s: Interrupts by RX  : %d\n", pThis->szPrf, pThis->uStatIntRx));
     6155    LogRel(("%s: Interrupts by TX  : %d\n", pThis->szPrf, pThis->uStatIntTx));
     6156    LogRel(("%s: Interrupts by ICS : %d\n", pThis->szPrf, pThis->uStatIntICS));
     6157    LogRel(("%s: Interrupts by RDTR: %d\n", pThis->szPrf, pThis->uStatIntRDTR));
     6158    LogRel(("%s: Interrupts by RDMT: %d\n", pThis->szPrf, pThis->uStatIntRXDMT0));
     6159    LogRel(("%s: Interrupts by TXQE: %d\n", pThis->szPrf, pThis->uStatIntTXQE));
     6160    LogRel(("%s: TX int delay asked: %d\n", pThis->szPrf, pThis->uStatTxIDE));
     6161    LogRel(("%s: TX delayed:         %d\n", pThis->szPrf, pThis->uStatTxDelayed));
     6162    LogRel(("%s: TX delay expired:   %d\n", pThis->szPrf, pThis->uStatTxDelayExp));
     6163    LogRel(("%s: TX no report asked: %d\n", pThis->szPrf, pThis->uStatTxNoRS));
     6164    LogRel(("%s: TX abs timer expd : %d\n", pThis->szPrf, pThis->uStatTAD));
     6165    LogRel(("%s: TX int timer expd : %d\n", pThis->szPrf, pThis->uStatTID));
     6166    LogRel(("%s: RX abs timer expd : %d\n", pThis->szPrf, pThis->uStatRAD));
     6167    LogRel(("%s: RX int timer expd : %d\n", pThis->szPrf, pThis->uStatRID));
     6168    LogRel(("%s: TX CTX descriptors: %d\n", pThis->szPrf, pThis->uStatDescCtx));
     6169    LogRel(("%s: TX DAT descriptors: %d\n", pThis->szPrf, pThis->uStatDescDat));
     6170    LogRel(("%s: TX LEG descriptors: %d\n", pThis->szPrf, pThis->uStatDescLeg));
     6171    LogRel(("%s: Received frames   : %d\n", pThis->szPrf, pThis->uStatRxFrm));
     6172    LogRel(("%s: Transmitted frames: %d\n", pThis->szPrf, pThis->uStatTxFrm));
     6173    LogRel(("%s: TX frames up to 1514: %d\n", pThis->szPrf, pThis->uStatTx1514));
     6174    LogRel(("%s: TX frames up to 2962: %d\n", pThis->szPrf, pThis->uStatTx2962));
     6175    LogRel(("%s: TX frames up to 4410: %d\n", pThis->szPrf, pThis->uStatTx4410));
     6176    LogRel(("%s: TX frames up to 5858: %d\n", pThis->szPrf, pThis->uStatTx5858));
     6177    LogRel(("%s: TX frames up to 7306: %d\n", pThis->szPrf, pThis->uStatTx7306));
     6178    LogRel(("%s: TX frames up to 8754: %d\n", pThis->szPrf, pThis->uStatTx8754));
     6179    LogRel(("%s: TX frames up to 16384: %d\n", pThis->szPrf, pThis->uStatTx16384));
     6180    LogRel(("%s: TX frames up to 32768: %d\n", pThis->szPrf, pThis->uStatTx32768));
     6181    LogRel(("%s: Larger TX frames    : %d\n", pThis->szPrf, pThis->uStatTxLarge));
     6182    LogRel(("%s: Max TX Delay        : %lld\n", pThis->szPrf, pThis->uStatMaxTxDelay));
    61836183# endif /* E1K_INT_STATS */
    61846184}
     
    63456345            break;
    63466346        }
    6347         E1kLogRel(("E1000 e1kR3NetworkDown_WaitReceiveAvail: waiting cMillies=%u...\n", cMillies));
    6348         E1kLog(("%s e1kR3NetworkDown_WaitReceiveAvail: waiting cMillies=%u...\n", pThis->szPrf, cMillies));
     6347        E1kLogRel(("E1000: e1kR3NetworkDown_WaitReceiveAvail: waiting cMillies=%u...\n", cMillies));
     6348        E1kLog(("%s: e1kR3NetworkDown_WaitReceiveAvail: waiting cMillies=%u...\n", pThis->szPrf, cMillies));
    63496349        RTSemEventWait(pThis->hEventMoreRxDescAvail, cMillies);
    63506350    }
     
    76937693    Assert(pThis->cMsLinkUpDelay <= 300000); /* less than 5 minutes */
    76947694    if (pThis->cMsLinkUpDelay > 5000)
    7695         LogRel(("%s WARNING! Link up delay is set to %u seconds!\n", pThis->szPrf, pThis->cMsLinkUpDelay / 1000));
     7695        LogRel(("%s: WARNING! Link up delay is set to %u seconds!\n", pThis->szPrf, pThis->cMsLinkUpDelay / 1000));
    76967696    else if (pThis->cMsLinkUpDelay == 0)
    7697         LogRel(("%s WARNING! Link up delay is disabled!\n", pThis->szPrf));
    7698 
    7699     LogRel(("%s Chip=%s LinkUpDelay=%ums EthernetCRC=%s GSO=%s Itr=%s ItrRx=%s TID=%s R0=%s GC=%s\n", pThis->szPrf,
     7697        LogRel(("%s: WARNING! Link up delay is disabled!\n", pThis->szPrf));
     7698
     7699    LogRel(("%s: Chip=%s LinkUpDelay=%ums EthernetCRC=%s GSO=%s Itr=%s ItrRx=%s TID=%s R0=%s GC=%s\n", pThis->szPrf,
    77007700            g_aChips[pThis->eChip].pcszName, pThis->cMsLinkUpDelay,
    77017701            pThis->fEthernetCRC ? "on" : "off",
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