[v2,1/7] bbdev: add FFT version member in driver info
Checks
Commit Message
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.chautru@intel.com>
---
lib/bbdev/rte_bbdev.h | 2 ++
1 file changed, 2 insertions(+)
@@ -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 */