event/dsw: use custom element size ring for control
authorMattias Rönnblom <mattias.ronnblom@ericsson.com>
Mon, 20 Jan 2020 15:03:00 +0000 (16:03 +0100)
committerJerin Jacob <jerinj@marvell.com>
Tue, 28 Jan 2020 06:00:12 +0000 (07:00 +0100)
commit587e1fe1d59c5cd92f33f597b9886b660f515dcf
tree1fa0441f460321ae84bd83a58a7a23a553f8f7ee
parentc465e6b94be343303303f26b95f3c2ae4969063e
event/dsw: use custom element size ring for control

Replace DSW's use of regular DPDK rings (and code for
packing/unpacking control messages into void pointers) with custom
size rings.

In addition to cleaner code, this change allows DSW to support up to
the eventdev API's maximum of 255 ports by tweaking DSW_MAX_PORTS.

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
drivers/event/dsw/Makefile
drivers/event/dsw/dsw_evdev.c
drivers/event/dsw/dsw_evdev.h
drivers/event/dsw/dsw_event.c
drivers/event/dsw/meson.build