diff options
author | 2016-08-24 10:23:34 -0700 | |
---|---|---|
committer | 2016-08-25 16:45:29 -0700 | |
commit | eb60a8ddf3c38959cc73821bec5335bed85e0200 (patch) | |
tree | ce35b77f999e39851c209814a4d8ff05eefa1df2 /net/switchdev/switchdev.c | |
parent | tcp: md5: add LINUX_MIB_TCPMD5FAILURE counter (diff) | |
download | linux-dev-eb60a8ddf3c38959cc73821bec5335bed85e0200.tar.xz linux-dev-eb60a8ddf3c38959cc73821bec5335bed85e0200.zip |
net: minor optimization in qdisc_qstats_cpu_drop()
per_cpu_inc() is faster (at least on x86) than per_cpu_ptr(xxx)++;
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions