Re: [dpdk-dev] [PATCH v2 1/4] ring: future proof flag settings

2020-04-25 Thread Ananyev, Konstantin
> -Original Message- > From: dev On Behalf Of Stephen Hemminger > Sent: Friday, April 24, 2020 8:02 PM > To: Honnappa Nagarahalli > Cc: dev@dpdk.org; nd > Subject: Re: [dpdk-dev] [PATCH v2 1/4] ring: future proof flag settings > > On Fri, 24 Apr 2020 1

Re: [dpdk-dev] [PATCH v2 1/4] ring: future proof flag settings

2020-04-24 Thread Stephen Hemminger
On Fri, 24 Apr 2020 18:07:15 + Honnappa Nagarahalli wrote: > > > > > > All API's should check that they support the flag values passed. > > These checks ensure that the extra bits can safely be used without risk of > > ABI > > breakage. > > > > Signed-off-by: Stephen Hemminger > > --- >

Re: [dpdk-dev] [PATCH v2 1/4] ring: future proof flag settings

2020-04-24 Thread Honnappa Nagarahalli
> > All API's should check that they support the flag values passed. > These checks ensure that the extra bits can safely be used without risk of ABI > breakage. > > Signed-off-by: Stephen Hemminger > --- > lib/librte_ring/rte_ring.c | 10 ++ > 1 file changed, 10 insertions(+) > > di

[dpdk-dev] [PATCH v2 1/4] ring: future proof flag settings

2020-04-24 Thread Stephen Hemminger
All API's should check that they support the flag values passed. These checks ensure that the extra bits can safely be used without risk of ABI breakage. Signed-off-by: Stephen Hemminger --- lib/librte_ring/rte_ring.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/librte_rin