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>
This commit is contained in:
Родитель
512613d7dd
Коммит
bc6c47b50c
|
@ -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]++;
|
||||
|
|
Загрузка…
Ссылка в новой задаче