DPDK
26.11.0
drivers
baseband
fpga_5gnr_fec
rte_pmd_fpga_5gnr_fec.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2020 Intel Corporation
3
*/
4
5
#ifndef _RTE_PMD_FPGA_5GNR_FEC_H_
6
#define _RTE_PMD_FPGA_5GNR_FEC_H_
7
8
#include <stdint.h>
9
#include <stdbool.h>
10
11
#include <rte_compat.h>
12
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
29
#define FPGA_5GNR_FEC_NUM_VFS 8
30
34
struct
rte_fpga_5gnr_fec_conf
{
36
bool
pf_mode_en
;
38
uint8_t
vf_ul_queues_number
[
FPGA_5GNR_FEC_NUM_VFS
];
40
uint8_t
vf_dl_queues_number
[
FPGA_5GNR_FEC_NUM_VFS
];
42
uint8_t
ul_bandwidth
;
44
uint8_t
dl_bandwidth
;
46
uint8_t
ul_load_balance
;
48
uint8_t
dl_load_balance
;
49
};
50
64
__rte_experimental
65
int
66
rte_fpga_5gnr_fec_configure
(
const
char
*dev_name,
67
const
struct
rte_fpga_5gnr_fec_conf
*conf);
68
69
#ifdef __cplusplus
70
}
71
#endif
72
73
#endif
/* _RTE_PMD_FPGA_5GNR_FEC_H_ */
rte_fpga_5gnr_fec_configure
__rte_experimental int rte_fpga_5gnr_fec_configure(const char *dev_name, const struct rte_fpga_5gnr_fec_conf *conf)
FPGA_5GNR_FEC_NUM_VFS
#define FPGA_5GNR_FEC_NUM_VFS
Definition:
rte_pmd_fpga_5gnr_fec.h:29
rte_fpga_5gnr_fec_conf
Definition:
rte_pmd_fpga_5gnr_fec.h:34
rte_fpga_5gnr_fec_conf::vf_dl_queues_number
uint8_t vf_dl_queues_number[FPGA_5GNR_FEC_NUM_VFS]
Definition:
rte_pmd_fpga_5gnr_fec.h:40
rte_fpga_5gnr_fec_conf::dl_bandwidth
uint8_t dl_bandwidth
Definition:
rte_pmd_fpga_5gnr_fec.h:44
rte_fpga_5gnr_fec_conf::dl_load_balance
uint8_t dl_load_balance
Definition:
rte_pmd_fpga_5gnr_fec.h:48
rte_fpga_5gnr_fec_conf::vf_ul_queues_number
uint8_t vf_ul_queues_number[FPGA_5GNR_FEC_NUM_VFS]
Definition:
rte_pmd_fpga_5gnr_fec.h:38
rte_fpga_5gnr_fec_conf::pf_mode_en
bool pf_mode_en
Definition:
rte_pmd_fpga_5gnr_fec.h:36
rte_fpga_5gnr_fec_conf::ul_load_balance
uint8_t ul_load_balance
Definition:
rte_pmd_fpga_5gnr_fec.h:46
rte_fpga_5gnr_fec_conf::ul_bandwidth
uint8_t ul_bandwidth
Definition:
rte_pmd_fpga_5gnr_fec.h:42
Generated by
1.9.4