Skip to content

fix misc dma driver build errors

Bruce Richardson dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3raw/ioat: fix build error for missing errnodrivers/raw/ioat/rte_idxd_rawdev_fns.h+1 -00 replies
2/3raw/ioat: fix build when ioat dmadev enableddrivers/raw/ioat/ioat_common.c drivers/raw/ioat/ioat_private.h drivers/raw/ioat/ioat_rawdev.c+4 -40 replies
3/3dma/idxd: fix non-AVX builds with older compilersdrivers/dma/idxd/meson.build+11 -02 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchYu Jiang
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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