diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-06-13 15:23:21 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-07-24 18:16:41 +0000 |
commit | f995c7122ba0d024b17bc3232e8edd18d5e25088 (patch) | |
tree | 1bb44ddff0d009cf5e7fa62c8418b094edcaaa79 /src/vppinfra/xy.h | |
parent | 025cd9c867bef937724535033ccdb979292b7714 (diff) |
acl: implement counters
implement per-acl-number counters in the stats segment.
They are created during the ACL creation,
the counters are incremented in the dataplane using
the new inline function with the extra parameter being
the packet size. Counting in shared segment adds
a noticeable overhead, so add also an API to
turn the counters on.
Type: feature
Change-Id: I8af7b0c31a3d986b68089eb52452aed45df66c7b
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vppinfra/xy.h')
0 files changed, 0 insertions, 0 deletions