acl-plugin: do not do clib_smp_atomic_add on per-worker counters 95/14795/4
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 13 Sep 2018 09:13:13 +0000 (11:13 +0200)
committerOle Trøan <otroan@employees.org>
Fri, 14 Sep 2018 09:25:28 +0000 (09:25 +0000)
commit93008c26e9226fa86a7d2e5569b9e69c29d0996b
tree415c9aa36d91799c9595635c7d8213f2c725db95
parent1fc44b6fec5a75b6ce57ed984965877bc4b49e47
acl-plugin: do not do clib_smp_atomic_add on per-worker counters

Just do a regular increment, since we are not contending for these counters.
This also makes the tests pass on ARM ThunderX (VPP-1395).

Change-Id: I333aaa11d4145d13d322868900bc114df85a020d
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/session_inlines.h