/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2022 Intel Corporation */ #ifndef _ACC200_CFG_H_ #define _ACC200_CFG_H_ /** * @file acc200_cfg.h * * Functions for configuring ACC200 HW. * Configuration related to encoding/decoding is done through the * librte_bbdev library. */ /** * Configure a ACC200 device. * * @param dev_name * The 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(). * @param conf * Configuration to apply to ACC200 HW. * * @return * Zero on success, negative value on failure. */ int acc200_configure(const char *dev_name, struct rte_acc_conf *conf); #endif /* _ACC200_CFG_H_ */