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)
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>

No differences found