This can be used to distinguish different version of the
flexible pointwise windowing applied to the FFT and expose
this platform configuration to the application.

The SRS processing chain
(https://doc.dpdk.org/guides/prog_guide/bbdev.html#bbdev-fft-operation)
includes a pointwise multiplication by time window whose degrees of
liberty cannot be exposed through a standard fixed API but through a hash
matching a version of such window definition (not HW IP specific)
defined as a long array of complex numbers.
Using that mechanism user application can retrieve information related
to what tables have been dynamically programmed on any bbdev device
supporting FFT windowing operation.

Signed-off-by: Nicolas Chautru <nicolas.chau...@intel.com>
---
 lib/bbdev/rte_bbdev.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h
index 2985c9f42b..e1ba038e0d 100644
--- a/lib/bbdev/rte_bbdev.h
+++ b/lib/bbdev/rte_bbdev.h
@@ -349,6 +349,8 @@ struct rte_bbdev_driver_info {
        const struct rte_bbdev_op_cap *capabilities;
        /** Device cpu_flag requirements */
        const enum rte_cpu_flag_t *cpu_flag_reqs;
+       /** Versioning number for the FFT configured on the device. */
+       uint16_t fft_version;
 };
 
 /** Macro used at end of bbdev PMD list */
-- 
2.34.1

Reply via email to