event/dlb2: add token pop API
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Sun, 1 Nov 2020 23:38:00 +0000 (17:38 -0600)
committerJerin Jacob <jerinj@marvell.com>
Mon, 2 Nov 2020 08:40:22 +0000 (09:40 +0100)
commitc667583d82f4743cd4638fbfd5ec375b747c868f
tree554f8b24c7d04cadda10c9eab6949f6621c3ec78
parent18991548e9c56428503a20ca61086f62cf78c4a4
event/dlb2: 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/dlb2/dlb2.c
drivers/event/dlb2/dlb2_priv.h
drivers/event/dlb2/meson.build
drivers/event/dlb2/rte_pmd_dlb2.c [new file with mode: 0644]
drivers/event/dlb2/rte_pmd_dlb2.h [new file with mode: 0644]
drivers/event/dlb2/version.map