drop:
if (ret == 0) {
- u64_stats_update_begin(&tx_stats->s_sync);
+ u64_stats_update_begin(&tx_stats->syncp);
tx_stats->packets++;
tx_stats->bytes += skb_length;
- u64_stats_update_end(&tx_stats->s_sync);
+ u64_stats_update_end(&tx_stats->syncp);
} else {
if (ret != -EAGAIN) {
dev_kfree_skb_any(skb);
skb_record_rx_queue(skb, packet->channel->
offermsg.offer.sub_channel_index);
- u64_stats_update_begin(&rx_stats->s_sync);
+ u64_stats_update_begin(&rx_stats->syncp);
rx_stats->packets++;
rx_stats->bytes += packet->total_data_buflen;
- u64_stats_update_end(&rx_stats->s_sync);
+ u64_stats_update_end(&rx_stats->syncp);
/*
* Pass the skb back up. Network stack will deallocate the skb when it
unsigned int start;
do {
- start = u64_stats_fetch_begin_irq(&tx_stats->s_sync);
+ start = u64_stats_fetch_begin_irq(&tx_stats->syncp);
tx_packets = tx_stats->packets;
tx_bytes = tx_stats->bytes;
- } while (u64_stats_fetch_retry_irq(&tx_stats->s_sync, start));
+ } while (u64_stats_fetch_retry_irq(&tx_stats->syncp, start));
do {
- start = u64_stats_fetch_begin_irq(&rx_stats->s_sync);
+ start = u64_stats_fetch_begin_irq(&rx_stats->syncp);
rx_packets = rx_stats->packets;
rx_bytes = rx_stats->bytes;
- } while (u64_stats_fetch_retry_irq(&rx_stats->s_sync, start));
+ } while (u64_stats_fetch_retry_irq(&rx_stats->syncp, start));
t->tx_bytes += tx_bytes;
t->tx_packets += tx_packets;