regexdev: add core functions
authorOri Kam <orika@mellanox.com>
Mon, 6 Jul 2020 17:36:48 +0000 (17:36 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Jul 2020 22:24:51 +0000 (00:24 +0200)
commitb25246beaefce630fdced7cc9c13e882014feb42
tree2b360f1bd77d3e03cddc6ead4abf4cd86572652f
parent9c26771bc58d7d91231b53128511a8e1e3e4cb77
regexdev: add core functions

This commit introduce the API that is needed by the RegEx devices in
order to work with the RegEX lib.

During the probe of a RegEx device, the device should configure itself,
and allocate the resources it requires.
On completion of the device init, it should call the
rte_regex_dev_register in order to register itself as a RegEx device.

Signed-off-by: Ori Kam <orika@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Acked-by: Guy Kaneti <guyk@marvell.com>
config/common_base
config/rte_config.h
lib/librte_regexdev/Makefile
lib/librte_regexdev/meson.build
lib/librte_regexdev/rte_regexdev.c
lib/librte_regexdev/rte_regexdev.h
lib/librte_regexdev/rte_regexdev_core.h
lib/librte_regexdev/rte_regexdev_driver.h [new file with mode: 0644]