sfc: Accumulate RX_NODESC_DROP count in rx_dropped, not rx_over_errors
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 10 Sep 2010 06:41:06 +0000 (06:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2010 19:27:29 +0000 (12:27 -0700)
commit80485d3441fc26aff5ddb2bf44baf7a61e1909b4
treeb900b993d07936be6b810bb39948f14685338e57
parent1cdc2cfc8af6d1045c844b9e24a7910b57232065
sfc: Accumulate RX_NODESC_DROP count in rx_dropped, not rx_over_errors

rx_over_errors appears to be intended as a count of packets that
overflow a packet buffer in the NIC.  Given that we implement a
cut-through receive path, this should always be 0.

rx_dropped appears to be the correct counter for packets dropped due
to lack of host buffers.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c