projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512613d
)
cxgb3: Fix Tx csum stats
author
Vipul Pandya
<vipul@chelsio.com>
Wed, 16 Jan 2013 23:29:59 +0000
(23:29 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 17 Jan 2013 19:55:22 +0000
(14:55 -0500)
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>
drivers/net/ethernet/chelsio/cxgb3/sge.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/chelsio/cxgb3/sge.c
b/drivers/net/ethernet/chelsio/cxgb3/sge.c
index
dd901c5
..
9096dc0
100644
(file)
--- 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]++;