event/dlb: add token pop API
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Sun, 1 Nov 2020 23:30:12 +0000 (17:30 -0600)
committerJerin Jacob <jerinj@marvell.com>
Mon, 2 Nov 2020 13:46:01 +0000 (14:46 +0100)
commitb287267d627f6ee116654dcdea3157465178ba22
tree8a1182c07489d98890cbe215902c05d67c486847
parentf0073621940c4e95c16c06e3bfcd50fd644882d2
event/dlb: add token pop API

The PMD uses a public interface to allow applications to
control the token pop mode. Supported token pop modes are
as follows, and they impact core scheduling affinity for
ldb ports.

AUTO_POP: Pop the CQ tokens immediately after dequeueing.
DELAYED_POP: Pop CQ tokens after (dequeue_depth - 1) events
     are released. Supported on load-balanced ports
     only.
DEFERRED_POP: Pop the CQ tokens during next dequeue operation.

Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
Reviewed-by: Gage Eads <gage.eads@intel.com>
doc/api/doxy-api-index.md
doc/api/doxy-api.conf.in
drivers/event/dlb/dlb.c
drivers/event/dlb/dlb_priv.h
drivers/event/dlb/meson.build
drivers/event/dlb/rte_pmd_dlb.c [new file with mode: 0644]
drivers/event/dlb/rte_pmd_dlb.h [new file with mode: 0644]
drivers/event/dlb/version.map