aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2019-04-10 14:32:39 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-10 12:20:46 -0700
commit9c01c9f1f2a3ddbddbf3b233cc6bfa86f5a59af0 (patch)
tree4e19b6073b77bf2a028579253b1ea7206763e783 /Documentation
parentnet: sched: prefer qdisc_is_empty() over direct qlen access (diff)
downloadlinux-dev-9c01c9f1f2a3ddbddbf3b233cc6bfa86f5a59af0.tar.xz
linux-dev-9c01c9f1f2a3ddbddbf3b233cc6bfa86f5a59af0.zip
net: sched: always do stats accounting according to TCQ_F_CPUSTATS
The core sched implementation checks independently for NOLOCK flag to acquire/release the root spin lock and for qdisc_is_percpu_stats() to account per CPU values in many places. This change update the last few places checking the TCQ_F_NOLOCK to do per CPU stats accounting according to qdisc_is_percpu_stats() value. The above allows to clean dev_requeue_skb() implementation a bit and makes stats update always consistent with a single flag. v1 -> v2: - do not move qdisc_is_empty definition, fix build issue Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions