app/bbdev: handle endianness of test data
authorNipun Gupta <nipun.gupta@nxp.com>
Sun, 17 Oct 2021 06:53:31 +0000 (12:23 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Mon, 18 Oct 2021 18:12:15 +0000 (20:12 +0200)
commit441ac2e07b89f36a84de6b2eba0266509a6b8bac
treef54a3a4f996169fffd8468e28cb4680d7b1ee349
parent2b504721bfda8ab695562653a29c18dfbea7cf08
app/bbdev: handle endianness of test data

With data input, output and harq also supported in big
endian format, this patch updates the testbbdev application
to handle the endianness conversion as directed by the
the driver being used.

The test vectors assumes the data in the little endian order, and
thus if the driver supports big endian data processing, conversion
from little endian to big is handled by the testbbdev application.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Nicolas Chautru <nicolas.chautru@intel.com>
app/test-bbdev/test_bbdev_perf.c
doc/guides/tools/testbbdev.rst