numam-dpdk/drivers/dma
Chengwen Feng e03c601acb dma/hisilicon: enhance CQ scan robustness
The CQ (completion queue) descriptors were updated by hardware, and then
scanned by driver to retrieve hardware completion status.

This patch enhances robustness by following:
1. replace while (true) with a finite loop to avoid potential dead loop.
2. check the csq_head field in CQ descriptor to avoid status array
overflows.

Fixes: 2db4f0b823 ("dma/hisilicon: add data path")
Cc: stable@dpdk.org

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
2022-06-07 12:40:25 +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: enhance CQ scan robustness 2022-06-07 12:40:25 +02:00
idxd dma/idxd: configure maximum batch size to high value 2022-02-23 16:45:16 +01:00
ioat dma/ioat: add burst capacity 2021-10-22 22:40:59 +02:00
skeleton fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
meson.build dma/dpaa2: introduce driver skeleton 2022-06-01 08:58:27 +02:00