diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-28 00:36:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 03:01:21 -0500 |
commit | c1ac403bfa240617da2bce861ea5c3a907a65612 (patch) | |
tree | 340772ce3f0ca211ad93973cabd70bb08ca38932 /drivers/net/sfc/ethtool.c | |
parent | 0228f5cdb03f6656247cf2876f9f4f8fc213ffd6 (diff) |
sfc: Clean up RX event handling
Add 'likely' hint to test of rx_checksum_enabled.
Don't count IP fragments; the IP stack can do that.
Do count non-matching multicast packets.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r-- | drivers/net/sfc/ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index 5d2e186e6710..d3da360f09bc 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c | |||
@@ -153,6 +153,7 @@ static struct efx_ethtool_stat efx_ethtool_stats[] = { | |||
153 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_tobe_disc), | 153 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_tobe_disc), |
154 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_ip_hdr_chksum_err), | 154 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_ip_hdr_chksum_err), |
155 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_tcp_udp_chksum_err), | 155 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_tcp_udp_chksum_err), |
156 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_mcast_mismatch), | ||
156 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_frm_trunc), | 157 | EFX_ETHTOOL_UINT_CHANNEL_STAT(rx_frm_trunc), |
157 | }; | 158 | }; |
158 | 159 | ||