dma/idxd: add burst capacity
authorKevin Laatz <kevin.laatz@intel.com>
Wed, 20 Oct 2021 16:30:10 +0000 (16:30 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 22 Oct 2021 20:40:59 +0000 (22:40 +0200)
commit9459de4edc992b149c91f4d1b21b802b254747fa
treefb2d1c9b4f8d9e90266d6261531a999ff4e2a694
parent5a23df349a48282129670d2e08f4c0b141200937
dma/idxd: add burst capacity

Add support for the burst capacity API. This API will provide the calling
application with the remaining capacity of the current burst (limited by
max HW batch size).

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
Reviewed-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
drivers/dma/idxd/idxd_common.c
drivers/dma/idxd/idxd_internal.h
drivers/dma/idxd/idxd_pci.c