ixgbe(4) takes packet counters from hardware in ixgbe_update_stats_counters(),
so we don't need to do a per packet increment, which trashes cache line. Submitted by: oleg
This commit is contained in:
parent
ac7e121247
commit
46bf53de69
@ -3696,7 +3696,6 @@ ixgbe_txeof(struct tx_ring *txr)
|
||||
}
|
||||
++txr->packets;
|
||||
++processed;
|
||||
++ifp->if_opackets;
|
||||
txr->watchdog_time = ticks;
|
||||
|
||||
/* Try the next packet */
|
||||
@ -4553,7 +4552,6 @@ ixgbe_rxeof(struct ix_queue *que)
|
||||
mp->m_next = nbuf->buf;
|
||||
} else { /* Sending this frame */
|
||||
sendmp->m_pkthdr.rcvif = ifp;
|
||||
ifp->if_ipackets++;
|
||||
rxr->rx_packets++;
|
||||
/* capture data for AIM */
|
||||
rxr->bytes += sendmp->m_pkthdr.len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user