summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/chelsio
diff options
context:
space:
mode:
authorVipul Pandya <vipul@chelsio.com>2013-01-17 03:29:59 +0400
committerDavid S. Miller <davem@davemloft.net>2013-01-17 23:55:22 +0400
commitbc6c47b50c67db420d1fe969351b5d196c0c43c4 (patch)
tree36d4f1a7bce09ae4e25cfb5844c65ffb7e6768cf /drivers/net/ethernet/chelsio
parent512613d7dde7b679597485e9335bd64e90df78fa (diff)
downloadlinux-bc6c47b50c67db420d1fe969351b5d196c0c43c4.tar.xz
cxgb3: Fix Tx csum stats
Signed-off-by: Jay Hernandez <jay@chelsio.com> Signed-off-by: Vipul Pandya <vipul@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb3/sge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb3/sge.c b/drivers/net/ethernet/chelsio/cxgb3/sge.c
index dd901c5061b9..9096dc09c72f 100644
--- a/drivers/net/ethernet/chelsio/cxgb3/sge.c
+++ b/drivers/net/ethernet/chelsio/cxgb3/sge.c
@@ -1278,7 +1278,7 @@ netdev_tx_t t3_eth_xmit(struct sk_buff *skb, struct net_device *dev)
}
/* update port statistics */
- if (skb->ip_summed == CHECKSUM_COMPLETE)
+ if (skb->ip_summed == CHECKSUM_PARTIAL)
qs->port_stats[SGE_PSTAT_TX_CSUM]++;
if (skb_shinfo(skb)->gso_size)
qs->port_stats[SGE_PSTAT_TSO]++;