raw/ioat: build only if dmadev not present
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 20 Oct 2021 16:29:58 +0000 (16:29 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 22 Oct 2021 20:40:58 +0000 (22:40 +0200)
commit65bcddfc6694a16024cd8af7aad9fed550d5fcdb
tree09888bb4fd89134d0dd8326c608a0c45b87d3149
parentcbb44143be74e7dd19853f4f360b51104e02380f
raw/ioat: build only if dmadev not present

Only build the rawdev IDXD/IOAT drivers if the dmadev drivers are not
present.

This change requires the dependencies to be reordered in
drivers/meson.build so that rawdev can use the "RTE_DMA_* build macros to
check for the presence of the equivalent dmadev driver.

A note is also added to the documentation to inform users of this change.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
doc/guides/rawdevs/ioat.rst
drivers/meson.build
drivers/raw/ioat/meson.build