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