win-pvdrivers

changeset 721:13eb0f02249a 0.11.0.168

remoted buffer exhaustion log messages
author James Harper <james.harper@bendigoit.com.au>
date Thu Dec 31 09:30:18 2009 +1100 (2009-12-31)
parents 49ddc1743948
children 9eeaa72bcadc
files xennet/xennet_rx.c
line diff
     1.1 --- a/xennet/xennet_rx.c	Wed Dec 30 21:14:43 2009 +1100
     1.2 +++ b/xennet/xennet_rx.c	Thu Dec 31 09:30:18 2009 +1100
     1.3 @@ -30,7 +30,7 @@ get_pb_from_freelist(struct xennet_info 
     1.4    
     1.5    if (xi->rx_pb_free == 0)
     1.6    {
     1.7 -    KdPrint((__DRIVER_NAME "     Out of pb's\n"));    
     1.8 +    //KdPrint((__DRIVER_NAME "     Out of pb's\n"));    
     1.9      return NULL;
    1.10    }
    1.11    xi->rx_pb_free--;
    1.12 @@ -90,7 +90,7 @@ XenNet_FillRing(struct xennet_info *xi)
    1.13      page_buf = get_pb_from_freelist(xi);
    1.14      if (!page_buf)
    1.15      {
    1.16 -      KdPrint((__DRIVER_NAME "     Added %d out of %d buffers to rx ring (no free pages)\n", i, batch_target));
    1.17 +      //KdPrint((__DRIVER_NAME "     Added %d out of %d buffers to rx ring (no free pages)\n", i, batch_target));
    1.18        break;
    1.19      }
    1.20      xi->rx_id_free--;
    1.21 @@ -152,7 +152,7 @@ put_packet_on_freelist(struct xennet_inf
    1.22  
    1.23    if (xi->rx_packet_free == NET_RX_RING_SIZE * 2)
    1.24    {
    1.25 -    KdPrint((__DRIVER_NAME "     packet free list full - releasing packet\n"));
    1.26 +    //KdPrint((__DRIVER_NAME "     packet free list full - releasing packet\n"));
    1.27      NdisFreePacket(packet);
    1.28      return;
    1.29    }