DPDK 26.11.0
Data Structures | Macros | Functions
rte_pmd_fpga_5gnr_fec.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <rte_compat.h>

Go to the source code of this file.

Data Structures

struct  rte_fpga_5gnr_fec_conf
 

Macros

#define FPGA_5GNR_FEC_NUM_VFS   8
 

Functions

__rte_experimental int rte_fpga_5gnr_fec_configure (const char *dev_name, const struct rte_fpga_5gnr_fec_conf *conf)
 

Detailed Description

Functions for configuring VC 5GNR and AGX100 HW, exposed directly to applications. Configuration related to encoding/decoding is done through the librte_bbdev library.

Warning
EXPERIMENTAL: this API may change without prior notice

Definition in file rte_pmd_fpga_5gnr_fec.h.

Macro Definition Documentation

◆ FPGA_5GNR_FEC_NUM_VFS

#define FPGA_5GNR_FEC_NUM_VFS   8

Number of Virtual Functions FPGA 5GNR FEC supports

Definition at line 29 of file rte_pmd_fpga_5gnr_fec.h.

Function Documentation

◆ 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 
)

Configure a FPGA 5GNR device in PF mode notably for bbdev-test

Parameters
dev_nameThe name of the device. This is the short form of PCI BDF, e.g. 00:01.0. It can also be retrieved for a bbdev device from the dev_name field in the rte_bbdev_info structure returned by rte_bbdev_info_get().
confConfiguration to apply to FPGA 5GNR FEC.
Returns
Zero on success, negative value on failure.