event/dlb2: add flexible interface
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Sun, 1 Nov 2020 23:37:47 +0000 (17:37 -0600)
committerJerin Jacob <jerinj@marvell.com>
Mon, 2 Nov 2020 06:25:49 +0000 (07:25 +0100)
commit17f56f6d563d4f8b0b6624ba38990c2cb55375ae
treed1093989429542fe6154a0642cf1d76af7a59eef
parent5433956d51859fa8a9d4d76e2877ee20c8fc6002
event/dlb2: add flexible interface

This commit introduces the flexible interface. This
interface allows the core code to operate in PF mode (direct
hardware access) or bifurcated mode (hardware configured via
kernel driver). This driver currently only supports PF mode
but bifurcated mode will be added in a future DPDK patch-set.
Note that the flexible interface is not used for data path
operations, and thus there are no performance concerns
related to the use of function pointers.

Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
Reviewed-by: Gage Eads <gage.eads@intel.com>
drivers/event/dlb2/dlb2_iface.c [new file with mode: 0644]
drivers/event/dlb2/dlb2_iface.h [new file with mode: 0644]
drivers/event/dlb2/meson.build