diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2008-03-17 22:59:51 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-25 23:16:21 -0400 |
commit | d1847a722e79bbfc557755d78f44d3e2c8ae5ea9 (patch) | |
tree | 44f2405079e4cfea2ddec6d7eb5fda1f00a1fb77 /drivers/net/netxen/netxen_nic.h | |
parent | ba53e6b4878e07411826312c59bfe49561594b6e (diff) |
netxen: fix rx dropped stats
Don't count rx dropped packets based on return value of netif_receive_skb(),
which is misleading.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Tested-by: Vernon Mauery <mauery@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index 070421b9e4f9..7f20a03623a0 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h | |||
@@ -818,12 +818,7 @@ struct netxen_adapter_stats { | |||
818 | u64 badskblen; | 818 | u64 badskblen; |
819 | u64 nocmddescriptor; | 819 | u64 nocmddescriptor; |
820 | u64 polled; | 820 | u64 polled; |
821 | u64 uphappy; | 821 | u64 rxdropped; |
822 | u64 updropped; | ||
823 | u64 uplcong; | ||
824 | u64 uphcong; | ||
825 | u64 upmcong; | ||
826 | u64 updunno; | ||
827 | u64 txdropped; | 822 | u64 txdropped; |
828 | u64 csummed; | 823 | u64 csummed; |
829 | u64 no_rcv; | 824 | u64 no_rcv; |