[v6,1/9] bbdev: add big endian processing data processing info

Message ID 20210924043722.27980-2-nipun.gupta@nxp.com (mailing list archive)
State Superseded, archived
Delegated to: akhil goyal
Series baseband: add NXP LA12xx driver |


Context Check Description
ci/checkpatch success coding style OK
ci/iol-testing warning apply patch failure

Commit Message

Nipun Gupta Sept. 24, 2021, 4:37 a.m. UTC
  From: Nipun Gupta <nipun.gupta@nxp.com>

This patch intoduces a new info pertaining to bbdev device
to process the data in big endian order.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.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 7017124414..3acc008d06 100644
--- a/lib/bbdev/rte_bbdev.h
+++ b/lib/bbdev/rte_bbdev.h
@@ -309,6 +309,8 @@  struct rte_bbdev_driver_info {
 	uint16_t min_alignment;
 	/** HARQ memory available in kB */
 	uint32_t harq_buffer_size;
+	/** Device support input, output and HARQ data as big-endian */
+	uint8_t support_be_data;
 	/** Default queue configuration used if none is supplied  */
 	struct rte_bbdev_queue_conf default_queue_conf;
 	/** Device operation capabilities */