numam-dpdk/drivers/dma
Bruce Richardson aa802b1023 dma/idxd: fix AVX2 in non-datapath functions
While all systems which will use the idxd driver for hardware will
support AVX2, if the driver is present the initialization functions e.g.
to register logs, will be called on all systems - irrespective of HW
support. This can cause issues if the system running DPDK does not have
AVX2, and the compiler has included AVX instructions in the
initialization code.

To fix this, remove AVX2 instruction set from the whole build of the
driver. Instead, we add "target(avx2)" attribute to all datapath
functions, so those - and only those functions - will having AVX2
instructions in them.

Bugzilla ID: 1038
Fixes: 3d36a0a1c7 ("dma/idxd: add data path job submission")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Conor Walsh <conor.walsh@intel.com>
2022-06-21 18:19:41 +02:00
..
cnxk dma/cnxk: fix installing internal headers 2022-01-27 18:11:11 +01:00
dpaa dma/dpaa: support statistics 2021-11-10 13:48:38 +01:00
dpaa2 dma/dpaa2: support statistics 2022-06-01 08:58:27 +02:00
hisilicon dma/hisilicon: fix includes in header file 2022-06-15 16:33:42 +02:00
idxd dma/idxd: fix AVX2 in non-datapath functions 2022-06-21 18:19:41 +02:00
ioat dma/ioat: add burst capacity 2021-10-22 22:40:59 +02:00
skeleton dma/skeleton: support multiple instances 2022-06-15 16:17:52 +02:00
meson.build dma/dpaa2: introduce driver skeleton 2022-06-01 08:58:27 +02:00