DPDK  24.03.0
rte_regexdev_driver.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2020 Mellanox Technologies, Ltd
3  */
4 
5 #ifndef _RTE_REGEXDEV_DRIVER_H_
6 #define _RTE_REGEXDEV_DRIVER_H_
7 
17 #include <rte_compat.h>
18 #include "rte_regexdev.h"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
36 __rte_internal
37 struct rte_regexdev *rte_regexdev_register(const char *name);
38 
46 __rte_internal
47 void rte_regexdev_unregister(struct rte_regexdev *dev);
48 
56 __rte_internal
57 struct rte_regexdev *rte_regexdev_get_device_by_name(const char *name);
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* _RTE_REGEXDEV_DRIVER_H_ */