Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-10 Thread Luca Boccassi
On Tue, 2020-11-10 at 08:40 -0800, Stephen Hemminger wrote: > On Tue, 10 Nov 2020 12:33:48 + > Luca Boccassi wrote: > > > On Thu, 2020-11-05 at 14:35 -0800, Stephen Hemminger wrote: > > > This patch renames the enum values in the EAL include files. > > > As a backward compatible temporary mig

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-10 Thread Stephen Hemminger
On Tue, 10 Nov 2020 12:33:48 + Luca Boccassi wrote: > On Thu, 2020-11-05 at 14:35 -0800, Stephen Hemminger wrote: > > This patch renames the enum values in the EAL include files. > > As a backward compatible temporary migration tool, define > > a replacement mapping for old values. > > > > T

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-10 Thread Luca Boccassi
On Thu, 2020-11-05 at 14:35 -0800, Stephen Hemminger wrote: > This patch renames the enum values in the EAL include files. > As a backward compatible temporary migration tool, define > a replacement mapping for old values. > > The old names relating to blacklist and whitelist are replaced > by blo

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-09 Thread Stephen Hemminger
On Mon, 9 Nov 2020 16:10:45 + Bruce Richardson wrote: > On Mon, Nov 09, 2020 at 05:07:16PM +0100, David Marchand wrote: > > On Mon, Nov 9, 2020 at 5:06 PM Bruce Richardson > > wrote: > > > > > > On Mon, Nov 09, 2020 at 05:03:06PM +0100, David Marchand wrote: > > > > On Mon, Nov 9, 2020 a

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-09 Thread Bruce Richardson
On Mon, Nov 09, 2020 at 05:07:16PM +0100, David Marchand wrote: > On Mon, Nov 9, 2020 at 5:06 PM Bruce Richardson > wrote: > > > > On Mon, Nov 09, 2020 at 05:03:06PM +0100, David Marchand wrote: > > > On Mon, Nov 9, 2020 at 4:55 PM Stephen Hemminger > > > wrote: > > > > > This patch causes build

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-09 Thread David Marchand
On Mon, Nov 9, 2020 at 5:06 PM Bruce Richardson wrote: > > On Mon, Nov 09, 2020 at 05:03:06PM +0100, David Marchand wrote: > > On Mon, Nov 9, 2020 at 4:55 PM Stephen Hemminger > > wrote: > > > > This patch causes build failures which persist until patch 3, because of > > > > these deprecations. I

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-09 Thread Bruce Richardson
On Mon, Nov 09, 2020 at 05:03:06PM +0100, David Marchand wrote: > On Mon, Nov 9, 2020 at 4:55 PM Stephen Hemminger > wrote: > > > This patch causes build failures which persist until patch 3, because of > > > these deprecations. I think you need to define the backward-compatibility > > > macros he

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-09 Thread Bruce Richardson
On Mon, Nov 09, 2020 at 07:54:40AM -0800, Stephen Hemminger wrote: > On Mon, 9 Nov 2020 13:49:31 + > Bruce Richardson wrote: > > > On Thu, Nov 05, 2020 at 02:35:57PM -0800, Stephen Hemminger wrote: > > > This patch renames the enum values in the EAL include files. > > > As a backward compatib

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-09 Thread David Marchand
On Mon, Nov 9, 2020 at 4:55 PM Stephen Hemminger wrote: > > This patch causes build failures which persist until patch 3, because of > > these deprecations. I think you need to define the backward-compatibility > > macros here, but only mark them deprecated at the end of the set. > > > > /Bruce >

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-09 Thread Stephen Hemminger
On Mon, 9 Nov 2020 13:49:31 + Bruce Richardson wrote: > On Thu, Nov 05, 2020 at 02:35:57PM -0800, Stephen Hemminger wrote: > > This patch renames the enum values in the EAL include files. > > As a backward compatible temporary migration tool, define > > a replacement mapping for old values. >

Re: [dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-09 Thread Bruce Richardson
On Thu, Nov 05, 2020 at 02:35:57PM -0800, Stephen Hemminger wrote: > This patch renames the enum values in the EAL include files. > As a backward compatible temporary migration tool, define > a replacement mapping for old values. > > The old names relating to blacklist and whitelist are replaced >

[dpdk-dev] [PATCH v9 1/6] eal: replace usage of blacklist/whitelist in enum

2020-11-05 Thread Stephen Hemminger
This patch renames the enum values in the EAL include files. As a backward compatible temporary migration tool, define a replacement mapping for old values. The old names relating to blacklist and whitelist are replaced by block list and allow list, but applications may be using the older compatib