[dpdk-dev] [PATCH] ring: cleanup file-local macros at end-of-file

2015-03-04 Thread Bruce Richardson
v at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] ring: cleanup file-local macros at > > end-of-file > > > > On Tue, Mar 03, 2015 at 10:03:45PM +0100, Thomas Monjalon wrote: > > > 2015-03-03 16:38, Bruce Richardson: > > > > The ENQUEUE_PTRS and DEQUEUE

[dpdk-dev] [PATCH] ring: cleanup file-local macros at end-of-file

2015-03-04 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Wednesday, March 04, 2015 10:23 AM > To: Thomas Monjalon > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ring: cleanup file-local macros at end-of-file &

[dpdk-dev] [PATCH] ring: cleanup file-local macros at end-of-file

2015-03-04 Thread Bruce Richardson
On Tue, Mar 03, 2015 at 10:03:45PM +0100, Thomas Monjalon wrote: > 2015-03-03 16:38, Bruce Richardson: > > The ENQUEUE_PTRS and DEQUEUE_PTRS macros defined in rte_ring.h are > > not meant to be global and are not prefixed with the RTE_ prefix. > > Therefore undef the macros at end of file to avoid

[dpdk-dev] [PATCH] ring: cleanup file-local macros at end-of-file

2015-03-03 Thread Thomas Monjalon
2015-03-03 16:38, Bruce Richardson: > The ENQUEUE_PTRS and DEQUEUE_PTRS macros defined in rte_ring.h are > not meant to be global and are not prefixed with the RTE_ prefix. > Therefore undef the macros at end of file to avoid pollution of the > global namespace, in case ends apps end up wanting to

[dpdk-dev] [PATCH] ring: cleanup file-local macros at end-of-file

2015-03-03 Thread Bruce Richardson
The ENQUEUE_PTRS and DEQUEUE_PTRS macros defined in rte_ring.h are not meant to be global and are not prefixed with the RTE_ prefix. Therefore undef the macros at end of file to avoid pollution of the global namespace, in case ends apps end up wanting to reuse those names. Signed-off-by: Bruce Ric