[dpdk-dev] [PATCH] mempool: enforce valid flags at creation

David Marchand david.marchand at redhat.com
Thu Oct 14 21:16:42 CEST 2021


On Tue, Oct 12, 2021 at 9:57 AM David Marchand
<david.marchand at redhat.com> wrote:
>
> On Tue, Oct 12, 2021 at 9:49 AM Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru> wrote:
> >
> > On 10/12/21 10:28 AM, David Marchand wrote:
> > > If we do not enforce valid flags are passed by an application, this
> > > application might face issues in the future when we add more flags.
> >
> > Thanks. I'd even consider it as a bug and the fix to be
> > backported.
>
> I wondered too when writing the patch.
> I'd like to hear from others.

Backporting risks breaking existing applications which were validated
with potentially invalid flags.
So I won't mark it for backport.

I'll send v2 wrt to your other comment.
Thanks Andrew.


-- 
David Marchand



More information about the dev mailing list