Reviewed-by: Chengwen Feng <fengcheng...@huawei.com> On 2021/10/19 22:10, Kevin Laatz wrote: > 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.la...@intel.com> > Reviewed-by: Conor Walsh <conor.wa...@intel.com> > Reviewed-by: Bruce Richardson <bruce.richard...@intel.com> > --- > drivers/dma/idxd/idxd_common.c | 21 +++++++++++++++++++++ > drivers/dma/idxd/idxd_internal.h | 1 + > drivers/dma/idxd/idxd_pci.c | 1 + > 3 files changed, 23 insertions(+) > > diff --git a/drivers/dma/idxd/idxd_common.c b/drivers/dma/idxd/idxd_common.c > index 3c8cff15c0..ff4647f579 100644 > --- a/drivers/dma/idxd/idxd_common.c > +++ b/drivers/dma/idxd/idxd_common.c > @@ -468,6 +468,26 @@ idxd_info_get(const struct rte_dma_dev *dev, struct > rte_dma_info *info, uint32_t > return 0; > } >
[snip]