DPDK 26.11.0
Functions
rte_acc_cfg.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <rte_compat.h>
#include "rte_acc_common_cfg.h"

Go to the source code of this file.

Functions

__rte_experimental int rte_acc_configure (const char *dev_name, struct rte_acc_conf *conf)
 

Detailed Description

Functions for configuring ACC 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_acc_cfg.h.

Function Documentation

◆ rte_acc_configure()

__rte_experimental int rte_acc_configure ( const char *  dev_name,
struct rte_acc_conf *  conf 
)

Configure a ACC 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 ACC HW.
Returns
Zero on success, negative value on failure.