raw/ioat: add API to query remaining ring space
authorKevin Laatz <kevin.laatz@intel.com>
Tue, 4 May 2021 13:14:57 +0000 (14:14 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 15:40:50 +0000 (17:40 +0200)
commit29cf9c1194c9a79f1bb66e6625fdd155ff957e03
treee660c2478458894ea059177c11978aff4c459be8
parent74464005a2af86a30c752709953a0c5b01873fb7
raw/ioat: add API to query remaining ring space

Add a new API to query remaining descriptor ring capacity. This API is
useful, for example, when an application needs to enqueue a fragmented
packet and wants to ensure that all segments of the packet will be enqueued
together.

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/raw/ioat/ioat_rawdev_test.c
drivers/raw/ioat/rte_idxd_rawdev_fns.h
drivers/raw/ioat/rte_ioat_rawdev_fns.h