[dpdk-dev] [PATCH v2] regex/mlx5: fix registered driver name

Thomas Monjalon thomas at monjalon.net
Wed Aug 5 18:37:37 CEST 2020


> > The driver name was registered as "net_mlx5_regex".
> > It is renamed as "regex_mlx5".
> > The same name is used in mlx5_regex_driver.pci_driver.driver.name,
> > instead of "mlx5_regex", for consistency.
> > 
> > The string used for log registration (pmd.regex.mlx5) could be derived
> > from the driver name. A macro is created so name definitions are close.
> > 
> > Fixes: cfc672a90b74 ("regex/mlx5: support probing")
> > 
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> > ---
> > v2: add macros and fix PCI driver name
> 
> Acked-by: Ori Kam <orika at mellanox.com>

Applied




More information about the dev mailing list