Re: [dpdk-dev] [PATCH v2 06/20] regex/mlx5: add probe function

2020-07-15 Thread Thomas Monjalon
12/07/2020 22:58, Ori Kam: > --- a/drivers/regex/mlx5/mlx5_regex.c > +++ b/drivers/regex/mlx5/mlx5_regex.c > +static const struct rte_regexdev_ops mlx5_regexdev_ops = {}; Another pedantic compilation failure: drivers/regex/mlx5/mlx5_regex.c:23:58: error: ISO C forbids empty initializer braces [-We

Re: [dpdk-dev] [PATCH v2 06/20] regex/mlx5: add probe function

2020-07-15 Thread Thomas Monjalon
12/07/2020 22:58, Ori Kam: > +/** > + * DPDK callback to register a PCI device. Is this intro useful? Why specifying "DPDK"? > + * > + * This function spawns RegEx device out of a given PCI device. > + * > + * @param[in] pci_drv > + * PCI driver structure (mlx5_regex_driver). > + * @param[in] p

[dpdk-dev] [PATCH v2 06/20] regex/mlx5: add probe function

2020-07-12 Thread Ori Kam
This commit adds the probe function to the RegEx PMD. Signed-off-by: Parav Pandit Signed-off-by: Ori Kam --- drivers/regex/mlx5/Makefile | 3 + drivers/regex/mlx5/meson.build | 2 +- drivers/regex/mlx5/mlx5_regex.c | 215 drivers/regex/mlx5/mlx5