1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2020 Mellanox Technologies, Ltd
5 #ifndef _RTE_REGEXDEV_DRIVER_H_
6 #define _RTE_REGEXDEV_DRIVER_H_
11 * RTE RegEx Device PMD API
13 * APIs that are used by the RegEx drivers, to communicate with the
17 #include "rte_regexdev.h"
25 * Register a RegEx device slot for a RegEx device and return the
26 * pointer to that slot.
32 * A pointer to the RegEx device slot case of success,
35 struct rte_regexdev *rte_regexdev_register(const char *name);
39 * Unregister the specified regexdev port.
42 * Device to be released.
44 void rte_regexdev_unregister(struct rte_regexdev *dev);
48 * Return the RegEx device based on the device name.
53 struct rte_regexdev *rte_regexdev_get_device_by_name(const char *name);
59 #endif /* _RTE_REGEXDEV_DRIVER_H_ */