raw/ioat: add bus driver for device scanning automatically
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 4 May 2021 13:14:54 +0000 (14:14 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 15:29:06 +0000 (17:29 +0200)
commitb7aaf417f936136518f711a13c8026b49d4a53ad
tree20bbf8e3b56b4efc82f7f4945126fdca78fd0698
parentd38b62cd6ccffd1e269dbf9942f4f60022c38040
raw/ioat: add bus driver for device scanning automatically

Rather than using a vdev with args, DPDK can scan and initialize the
devices automatically using a bus-type driver. This bus does not need to
worry about registering device drivers, rather it can initialize the
devices directly on probe.

The device instances (queues) to use are detected from /dev with the
additional info about them got from /sys.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
doc/guides/rawdevs/ioat.rst
drivers/raw/ioat/idxd_bus.c [new file with mode: 0644]
drivers/raw/ioat/idxd_vdev.c [deleted file]
drivers/raw/ioat/meson.build