raw/ioat: add skeleton for VFIO/UIO based DSA device
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 8 Oct 2020 09:51:19 +0000 (10:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 8 Oct 2020 12:33:20 +0000 (14:33 +0200)
commitd09d396fadcb8c97bdbbc1868917394f485fdb09
treed1fbab8d2922439b0891564a08d576ebe8e4228b
parent43f9b521a7ea441bfe79a524b52d3e48077821db
raw/ioat: add skeleton for VFIO/UIO based DSA device

Add in the basic probe/remove skeleton code for DSA devices which are bound
directly to vfio or uio driver. The kernel module for supporting these uses
the "idxd" name, so that name is used as function and file prefix to avoid
conflict with existing "ioat" prefixed functions.

Since we are adding new files to the driver and there will be common
definitions shared between the various files, we create a new internal
header file ioat_private.h to hold common macros and function prototypes.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
doc/guides/rawdevs/ioat.rst
drivers/raw/ioat/idxd_pci.c [new file with mode: 0644]
drivers/raw/ioat/ioat_private.h [new file with mode: 0644]
drivers/raw/ioat/ioat_rawdev.c
drivers/raw/ioat/meson.build