win-pvdrivers

changeset 890:aacde7adc8b0

quieter when out of packets
author James Harper <james.harper@bendigoit.com.au>
date Thu Mar 17 00:04:44 2011 +1100 (2011-03-17)
parents 4b8b40cda748
children 692613504151
files xennet/xennet_rx.c
line diff
     1.1 --- a/xennet/xennet_rx.c	Thu Mar 17 00:04:24 2011 +1100
     1.2 +++ b/xennet/xennet_rx.c	Thu Mar 17 00:04:44 2011 +1100
     1.3 @@ -210,7 +210,7 @@ XenNet_MakePacket(struct xennet_info *xi
     1.4    if (packet == NULL)
     1.5    {
     1.6      /* buffers will be freed in MakePackets */
     1.7 -    KdPrint((__DRIVER_NAME "     No free packets\n"));
     1.8 +    //KdPrint((__DRIVER_NAME "     No free packets\n"));
     1.9      //FUNCTION_EXIT();
    1.10      return NULL;
    1.11    }
    1.12 @@ -479,7 +479,7 @@ XenNet_MakePackets(
    1.13      packet = XenNet_MakePacket(xi, pi);
    1.14      if (packet == NULL)
    1.15      {
    1.16 -      KdPrint((__DRIVER_NAME "     Ran out of packets\n"));
    1.17 +      //KdPrint((__DRIVER_NAME "     Ran out of packets\n"));
    1.18        xi->stat_rx_no_buffer++;
    1.19        packet_count = 0;
    1.20        goto done;
    1.21 @@ -538,7 +538,7 @@ XenNet_MakePackets(
    1.22      packet = XenNet_MakePacket(xi, pi);
    1.23      if (packet == NULL)
    1.24      {
    1.25 -      KdPrint((__DRIVER_NAME "     Ran out of packets\n"));
    1.26 +      //KdPrint((__DRIVER_NAME "     Ran out of packets\n"));
    1.27        xi->stat_rx_no_buffer++;
    1.28        packet_count = 0;
    1.29        goto done;
    1.30 @@ -562,7 +562,7 @@ XenNet_MakePackets(
    1.31      packet = XenNet_MakePacket(xi, pi);
    1.32      if (!packet)
    1.33      {
    1.34 -      KdPrint((__DRIVER_NAME "     Ran out of packets\n"));
    1.35 +      //KdPrint((__DRIVER_NAME "     Ran out of packets\n"));
    1.36        xi->stat_rx_no_buffer++;
    1.37        break; /* we are out of memory - just drop the packets */
    1.38      }