igb: remove rx checksum good counter
Counting packets with a good checksum can cause a significant amount of cache line bouncing due to the shared counter being written to by all of the queues. In order to avoid this I am removing the counter since we still have the checksum failed counter which will tell us if there are any issues. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
047e0030f1
commit
094919a4b0
@@ -4827,7 +4827,6 @@ static inline void igb_rx_checksum_adv(struct igb_adapter *adapter,
|
||||
skb->ip_summed = CHECKSUM_UNNECESSARY;
|
||||
|
||||
dev_dbg(&adapter->pdev->dev, "cksum success: bits %08X\n", status_err);
|
||||
adapter->hw_csum_good++;
|
||||
}
|
||||
|
||||
static inline u16 igb_get_hlen(struct igb_adapter *adapter,
|
||||
|
Reference in New Issue
Block a user