]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qede: Update receive statistic once per NAPI
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Fri, 7 Apr 2017 08:04:57 +0000 (11:04 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:59 +0000 (20:46 -0700)
commit282b0610065f7b500a5f56ad4129e2829b5b04cf
tree147da299262f0859a396f1a0e503a5b62ea30eb1
parentc56f99b06307ed1a221e85bbb58e2733157c1849
qede: Update receive statistic once per NAPI

Orabug: 2593305326439680

Currently, each time an ingress packet is passed to networking stack
the driver increments a per-queue SW statistic.
As we want to have additional fields in the first cache-line of the
Rx-queue struct, change flow so this statistic would be updated once per
NAPI run. We will later push the statistic to a different cache line.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qede/qede_fp.c