xref: /dpdk/drivers/raw/dpaa2_cmdif/rte_pmd_dpaa2_cmdif.h (revision 53c71586c789124c05fcc2911e8e7697e4ba3c24)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2018 NXP
3  */
4 
5 #ifndef __RTE_PMD_DPAA2_CMDIF_H__
6 #define __RTE_PMD_DPAA2_CMDIF_H__
7 
8 /**
9  * @file
10  *
11  * NXP dpaa2 AIOP CMDIF PMD specific structures.
12  *
13  */
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /** The context required in the I/O path for DPAA2 AIOP Command Interface */
20 struct rte_dpaa2_cmdif_context {
21 	/** Size to populate in QBMAN FD */
22 	uint32_t size;
23 	/** FRC to populate in QBMAN FD */
24 	uint32_t frc;
25 	/** FLC to populate in QBMAN FD */
26 	uint64_t flc;
27 	/** Priority of the command. This priority determines DPCI Queue*/
28 	uint8_t priority;
29 };
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif /* __RTE_PMD_DPAA2_CMDIF_H__ */
36