raw/ioat: introduce vdev probe for DSA/idxd device
authorKevin Laatz <kevin.laatz@intel.com>
Thu, 8 Oct 2020 09:51:20 +0000 (10:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 8 Oct 2020 12:33:20 +0000 (14:33 +0200)
commit777edf43ae4fc34f803739a61a5f007835833472
treef5f00496283a1109f8027cf91a31f8702145884b
parentd09d396fadcb8c97bdbbc1868917394f485fdb09
raw/ioat: introduce vdev probe for DSA/idxd device

The Intel DSA devices can be exposed to userspace via kernel driver, so can
be used without having to bind them to vfio/uio. Therefore we add support
for using those kernel-configured devices as vdevs, taking as parameter the
individual HW work queue to be used by the vdev.

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