mbox

[0/3] fix misc dma driver build errors

Message ID 20220623134933.469240-1-bruce.richardson@intel.com (mailing list archive)
Headers

Message

Bruce Richardson June 23, 2022, 1:49 p.m. UTC
  The use of function attributes to enable AVX2 on idxd builds is not
supported by older compilers, so we need additional checks in the
dma/idxd driver to disable that in cases where it is not buildable.

This fix revealed further issues with the older rawdev driver, which
only gets build when the dma driver is disabled.

Bruce Richardson (3):
  raw/ioat: fix build error for missing rte_errno
  raw/ioat: fix build when ioat dmadev enabled
  dma/idxd: fix non-AVX builds with older compilers

 drivers/dma/idxd/meson.build           | 11 +++++++++++
 drivers/raw/ioat/ioat_common.c         |  2 ++
 drivers/raw/ioat/ioat_private.h        |  4 ++--
 drivers/raw/ioat/ioat_rawdev.c         |  2 --
 drivers/raw/ioat/rte_idxd_rawdev_fns.h |  1 +
 5 files changed, 16 insertions(+), 4 deletions(-)

--
2.34.1