5 #ifndef RTE_MLDEV_PMD_H 6 #define RTE_MLDEV_PMD_H 24 #include <rte_compat.h> 33 struct rte_ml_dev_pmd_init_params {
38 uint64_t private_data_size;
56 rte_ml_dev_pmd_get_dev(int16_t dev_id);
71 rte_ml_dev_pmd_get_named_dev(
const char *name);
89 rte_ml_dev_pmd_allocate(
const char *name, uint8_t socket_id);
104 rte_ml_dev_pmd_release(
struct rte_ml_dev *dev);
125 rte_ml_dev_pmd_create(
const char *name,
struct rte_device *device,
126 struct rte_ml_dev_pmd_init_params *params);
143 rte_ml_dev_pmd_destroy(
struct rte_ml_dev *mldev);