event/dsw: add port load measurements
authorMattias Rönnblom <mattias.ronnblom@ericsson.com>
Tue, 18 Sep 2018 12:45:10 +0000 (14:45 +0200)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Mon, 1 Oct 2018 14:45:37 +0000 (16:45 +0200)
commit2b7bc6a5b2b4c48990d9ef3e46d8645f94ee60b1
treef516d7276bca0fc712f78ef58b9daa49f1fcc26c
parent1c8e3caa3bfba26f3b22ec52baf33224d08d690c
event/dsw: add port load measurements

The DSW event device port now attempts to estimate its load (i.e. how
busy it is). This is required for load balancing to work (although
load balancing is not included in this patch), and may also be useful
for debugging purposes.

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