win-pvdrivers

diff xennet/xennet.c @ 370:d76831a77d19

merge
author Andy Grover <andy.grover@oracle.com>
date Wed Jul 09 00:26:05 2008 -0700 (2008-07-09)
parents 5a762fd1fba9 cb12e8b450a8
children 8e10579159a0
line diff
     1.1 --- a/xennet/xennet.c	Wed Jul 09 00:20:30 2008 -0700
     1.2 +++ b/xennet/xennet.c	Wed Jul 09 00:26:05 2008 -0700
     1.3 @@ -22,32 +22,6 @@ Foundation, Inc., 51 Franklin Street, Fi
     1.4  #include <io/xenbus.h>
     1.5  #include "xennet.h"
     1.6  
     1.7 -LARGE_INTEGER ProfTime_TxBufferGC;
     1.8 -LARGE_INTEGER ProfTime_RxBufferAlloc;
     1.9 -LARGE_INTEGER ProfTime_ReturnPacket;
    1.10 -LARGE_INTEGER ProfTime_RxBufferCheck;
    1.11 -LARGE_INTEGER ProfTime_Linearize;
    1.12 -LARGE_INTEGER ProfTime_SendPackets;
    1.13 -LARGE_INTEGER ProfTime_SendQueuedPackets;
    1.14 -LARGE_INTEGER ProfTime_RxBufferCheckTopHalf;
    1.15 -LARGE_INTEGER ProfTime_RxBufferCheckBotHalf;
    1.16 -
    1.17 -int ProfCount_TxBufferGC;
    1.18 -int ProfCount_RxBufferAlloc;
    1.19 -int ProfCount_ReturnPacket;
    1.20 -int ProfCount_RxBufferCheck;
    1.21 -int ProfCount_Linearize;
    1.22 -int ProfCount_SendPackets;
    1.23 -int ProfCount_PacketsPerSendPackets;
    1.24 -int ProfCount_SendQueuedPackets;
    1.25 -
    1.26 -int ProfCount_TxPacketsTotal;
    1.27 -int ProfCount_TxPacketsCsumOffload;
    1.28 -int ProfCount_TxPacketsLargeOffload;
    1.29 -int ProfCount_RxPacketsTotal;
    1.30 -int ProfCount_RxPacketsCsumOffload;
    1.31 -int ProfCount_CallsToIndicateReceive;
    1.32 -
    1.33  /* ----- BEGIN Other people's code --------- */
    1.34  /* from linux/include/linux/ctype.h, used under GPLv2 */
    1.35  #define _U      0x01    /* upper */
    1.36 @@ -669,32 +643,6 @@ DriverEntry(
    1.37    NDIS_HANDLE ndis_wrapper_handle;
    1.38    NDIS_MINIPORT_CHARACTERISTICS mini_chars;
    1.39  
    1.40 -  ProfTime_TxBufferGC.QuadPart = 0;
    1.41 -  ProfTime_RxBufferAlloc.QuadPart = 0;
    1.42 -  ProfTime_ReturnPacket.QuadPart = 0;
    1.43 -  ProfTime_RxBufferCheck.QuadPart = 0;
    1.44 -  ProfTime_RxBufferCheckTopHalf.QuadPart = 0;
    1.45 -  ProfTime_RxBufferCheckBotHalf.QuadPart = 0;
    1.46 -  ProfTime_Linearize.QuadPart = 0;
    1.47 -  ProfTime_SendPackets.QuadPart = 0;
    1.48 -  ProfTime_SendQueuedPackets.QuadPart = 0;
    1.49 -
    1.50 -  ProfCount_TxBufferGC = 0;
    1.51 -  ProfCount_RxBufferAlloc = 0;
    1.52 -  ProfCount_ReturnPacket = 0;
    1.53 -  ProfCount_RxBufferCheck = 0;
    1.54 -  ProfCount_Linearize = 0;
    1.55 -  ProfCount_SendPackets = 0;
    1.56 -  ProfCount_PacketsPerSendPackets = 0;
    1.57 -  ProfCount_SendQueuedPackets = 0;
    1.58 -
    1.59 -  ProfCount_TxPacketsTotal = 0;
    1.60 -  ProfCount_TxPacketsCsumOffload = 0;
    1.61 -  ProfCount_TxPacketsLargeOffload = 0;
    1.62 -  ProfCount_RxPacketsTotal = 0;
    1.63 -  ProfCount_RxPacketsCsumOffload = 0;
    1.64 -  ProfCount_CallsToIndicateReceive = 0;
    1.65 -
    1.66    RtlZeroMemory(&mini_chars, sizeof(mini_chars));
    1.67  
    1.68    NdisMInitializeWrapper(&ndis_wrapper_handle, DriverObject, RegistryPath, NULL);