event/dlb: add flexible interface
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Sun, 1 Nov 2020 23:29:59 +0000 (17:29 -0600)
committerJerin Jacob <jerinj@marvell.com>
Mon, 2 Nov 2020 13:46:01 +0000 (14:46 +0100)
commit02ce8e88373c98ed661e71f1b1d972cd3abca9c6
treed971699f2c7ff924ef36fc7f73a44b87c255393f
parent19980083fd5760ab9f90e51762b0e4fc637a4569
event/dlb: 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 modei,
but bifurcated mode will be added in a future 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/dlb/dlb.c
drivers/event/dlb/dlb_iface.c [new file with mode: 0644]
drivers/event/dlb/dlb_iface.h [new file with mode: 0644]
drivers/event/dlb/meson.build
drivers/event/dlb/pf/dlb_pf.c