event/dsw: extend xstats
authorMattias Rönnblom <mattias.ronnblom@ericsson.com>
Sat, 4 Apr 2020 12:45:26 +0000 (18:15 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 4 Apr 2020 14:25:56 +0000 (16:25 +0200)
commitc4cf44b67788d8e2a9f671f33f94e1b143c184d0
tree3b3dff39ddac3b90796907978ef494747958a56b
parent81db381019dc9a3b62c4fde109cbb8615d9bd576
event/dsw: extend xstats

To allow visualization of migrations, track the number flow
immigrations in "port_<N>_immigrations". The "port_<N>_migrations"
retains legacy semantics, but is renamed "port_<N>_emigrations".

Expose the number of events currently undergoing processing
(i.e. pending releases) at a particular port.

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
drivers/event/dsw/dsw_evdev.h
drivers/event/dsw/dsw_event.c
drivers/event/dsw/dsw_xstats.c