Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc6c47b5 authored by Vipul Pandya's avatar Vipul Pandya Committed by David S. Miller
Browse files

cxgb3: Fix Tx csum stats

parent 512613d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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]++;