diff options
author | Vipul Pandya <vipul@chelsio.com> | 2013-01-16 23:29:59 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-17 19:55:22 (GMT) |
commit | bc6c47b50c67db420d1fe969351b5d196c0c43c4 (patch) | |
tree | 36d4f1a7bce09ae4e25cfb5844c65ffb7e6768cf /drivers/net/ethernet/chelsio/cxgb3 | |
parent | 512613d7dde7b679597485e9335bd64e90df78fa (diff) | |
download | linux-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/cxgb3')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb3/sge.c | 2 |
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 dd901c5..9096dc0 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]++; |