aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2_main.c
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2009-03-24 16:57:15 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-25 03:06:19 -0400
commitf61a0d0538ca62547a127fd270d9f3c6e713027f (patch)
tree7432b86645c7a53071bf023670bc8f99f3ce2b64 /drivers/s390/net/qeth_l2_main.c
parent7f6d95e7bd82b38e669a43a2d2d410d0b5318684 (diff)
qeth: add statistics for tx csum
Add statistics counter for software tx checksumming. Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
-rw-r--r--drivers/s390/net/qeth_l2_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index 07ab8a5c1c46..7632d1208844 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -707,8 +707,11 @@ static int qeth_l2_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
707 } 707 }
708 708
709 if ((large_send == QETH_LARGE_SEND_NO) && 709 if ((large_send == QETH_LARGE_SEND_NO) &&
710 (skb->ip_summed == CHECKSUM_PARTIAL)) 710 (skb->ip_summed == CHECKSUM_PARTIAL)) {
711 qeth_tx_csum(new_skb); 711 qeth_tx_csum(new_skb);
712 if (card->options.performance_stats)
713 card->perf_stats.tx_csum++;
714 }
712 715
713 if (card->info.type != QETH_CARD_TYPE_IQD) 716 if (card->info.type != QETH_CARD_TYPE_IQD)
714 rc = qeth_do_send_packet(card, queue, new_skb, hdr, 717 rc = qeth_do_send_packet(card, queue, new_skb, hdr,