On 4/12/2021 12:52 PM, David Marchand wrote:
On Sat, Apr 10, 2021 at 7:04 PM Hemant Agrawal <hemant.agra...@nxp.com> wrote:
From: Nipun Gupta <nipun.gu...@nxp.com>

Test bbdev application is reading the input and output from the
test vector files in the same endianness which is of the system.
This patch adds an option to provide data in the network order
i.e. big endian format
I did not look at the bbdev API, but something feels odd here.
Why should the test know about endianness?

This is baseband data, which need to be processed by the offload device. It is important for know the endianness of this data else the offload device will not be able to process it correctly.

The existing files only have data in little-endian format.  In the real world, the network data can come in big-endian format, so the drivers (running on Little-endian machine) shall be able to pass the big-endian data for processing to offload device.

Reply via email to