summaryrefslogtreecommitdiff
path: root/drivers/net/enic/enic.h
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-09-03 21:02:19 +0400
committerDavid S. Miller <davem@davemloft.net>2009-09-04 07:19:18 +0400
commit350991e12ac1ac407850169a0d65f522a7fd029e (patch)
tree68a3553d8de4cc55173dd15e392f42616ca19d8f /drivers/net/enic/enic.h
parent56ac88b38e5918d92bdfc97c528068e45ff4581c (diff)
downloadlinux-350991e12ac1ac407850169a0d65f522a7fd029e.tar.xz
enic: bug fix: included MAC drops in rx_dropped netstat
Bug fix: included MAC drops in rx_dropped netstat. Also track Rx trunctations stat at the MAC Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/enic.h')
-rw-r--r--drivers/net/enic/enic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
index cfe94b2e03af..f7c5b334bc79 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -99,6 +99,7 @@ struct enic {
____cacheline_aligned struct vnic_rq rq[1];
unsigned int rq_count;
int (*rq_alloc_buf)(struct vnic_rq *rq);
+ u64 rq_truncated_pkts;
u64 rq_bad_fcs;
struct napi_struct napi;
struct net_lro_mgr lro_mgr;