[PATCH 0/3] fix misc dma driver build errors

Bruce Richardson bruce.richardson at intel.com
Thu Jun 23 15:49:30 CEST 2022


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



More information about the dev mailing list