[dpdk-dev] [PATCH 1/8] regex/octeontx2: fix unnecessary name override
Thomas Monjalon
thomas at monjalon.net
Tue Nov 3 10:06:33 CET 2020
03/11/2020 09:19, David Marchand:
> On Tue, Nov 3, 2020 at 1:30 AM Thomas Monjalon <thomas at monjalon.net> wrote:
> > > > -name = 'octeontx2_regex'
> >
> > But it is not the same?
> >
> > The name will default to "octeontx2", which is fine.
> > But the fmt_name should not take this default.
> > I believe fmt_name should be "octeontx2_regex" as I did in my patch.
>
> fmt_name is only for maintaining config compat.
> This driver is new to 20.11.
> We can drop fmt_name too.
If we don't set fmt_name, it defaults to "name", "octeontx2" here.
What is the consequence in compat definitions?
More information about the dev
mailing list