DPDK 26.11.0
rte_acc_common_cfg.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2022 Intel Corporation
3 */
4
5#ifndef _RTE_ACC_COMMON_CFG_H_
6#define _RTE_ACC_COMMON_CFG_H_
7
19#include <stdint.h>
20#include <stdbool.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
27#define RTE_ACC_NUM_VFS 64
28
36 uint16_t num_qgroups;
48 uint16_t aq_depth_log2;
54};
55
62 uint32_t gbr_threshold1;
63 uint32_t gbr_threshold2;
64};
65
80 uint16_t num_vf_bundles;
83 struct rte_acc_queue_topology q_dl_4g;
84 struct rte_acc_queue_topology q_ul_5g;
85 struct rte_acc_queue_topology q_dl_5g;
86 struct rte_acc_queue_topology q_fft;
87 struct rte_acc_queue_topology q_mld;
90 struct rte_acc_arbitration arb_dl_4g[RTE_ACC_NUM_VFS];
91 struct rte_acc_arbitration arb_ul_5g[RTE_ACC_NUM_VFS];
92 struct rte_acc_arbitration arb_dl_5g[RTE_ACC_NUM_VFS];
95};
96
97#ifdef __cplusplus
98}
99#endif
100
101#endif /* _RTE_ACC_COMMON_CFG_H_ */
#define RTE_ACC_NUM_VFS
struct rte_acc_queue_topology q_ul_4g
struct rte_acc_arbitration arb_ul_4g[RTE_ACC_NUM_VFS]
uint16_t num_vf_bundles