Re: [dpdk-dev] [PATCH] memzone: enforce valid flags when reserving

2021-10-15 Thread David Marchand
On Wed, Oct 13, 2021 at 10:47 AM Andrew Rybchenko wrote: > > On 10/12/21 11:14 PM, Stephen Hemminger wrote: > > On Tue, 12 Oct 2021 21:39:26 +0200 > > David Marchand wrote: > > > >> If we do not enforce valid flags are passed by an application, this > >> application might face issues in the futur

Re: [dpdk-dev] [PATCH] memzone: enforce valid flags when reserving

2021-10-13 Thread Kinsella, Ray
On 12/10/2021 20:39, 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. > > Signed-off-by: David Marchand > --- > app/test/test_memzone.c | 24 >

Re: [dpdk-dev] [PATCH] memzone: enforce valid flags when reserving

2021-10-13 Thread Andrew Rybchenko
On 10/12/21 11:14 PM, Stephen Hemminger wrote: > On Tue, 12 Oct 2021 21:39:26 +0200 > 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. >> >> Signed-off-by: David Marchand > > Ack

Re: [dpdk-dev] [PATCH] memzone: enforce valid flags when reserving

2021-10-12 Thread Stephen Hemminger
On Tue, 12 Oct 2021 21:39:26 +0200 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. > > Signed-off-by: David Marchand Acked-by: Stephen Hemminger

[dpdk-dev] [PATCH] memzone: enforce valid flags when reserving

2021-10-12 Thread David Marchand
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. Signed-off-by: David Marchand --- app/test/test_memzone.c | 24 lib/eal/common/eal_common_memzone.c | 17 +