aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic.h
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-02-10 02:24:08 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-10 02:24:08 -0500
commitbd9fb1a44a5c52a1c322ebacd08f6b7416a40a86 (patch)
tree0157167dfbecc8377930cb57e71012d9264b7b99 /drivers/net/enic/enic.h
parented8af6b288c0643dfe0ad91f1bfc8c56c0d307cc (diff)
enic: record all bad FCS errs as frame errors
Report all bad FCS errs as frames errs. This includes frames with bad FCS on wire detected by MAC and frames which may be truncated due to ingress FIFO overruns. No longer print a driver msg on bad FCS err. 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 86b8c15b4d3e..c26cea0b300e 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -97,6 +97,7 @@ struct enic {
97 ____cacheline_aligned struct vnic_rq rq[1]; 97 ____cacheline_aligned struct vnic_rq rq[1];
98 unsigned int rq_count; 98 unsigned int rq_count;
99 int (*rq_alloc_buf)(struct vnic_rq *rq); 99 int (*rq_alloc_buf)(struct vnic_rq *rq);
100 u64 rq_bad_fcs;
100 struct napi_struct napi; 101 struct napi_struct napi;
101 struct net_lro_mgr lro_mgr; 102 struct net_lro_mgr lro_mgr;
102 struct net_lro_desc lro_desc[ENIC_LRO_MAX_DESC]; 103 struct net_lro_desc lro_desc[ENIC_LRO_MAX_DESC];