Re: [dpdk-dev] [PATCH v3] mbuf: fix compile by making sched struct visible

2019-01-14 Thread Thomas Monjalon
14/01/2019 15:58, Olivier Matz: > On Fri, Jan 11, 2019 at 02:33:16PM +, Dumitrescu, Cristian wrote: > > From: Van Haaren, Harry > > > > > > Although C compilation works with the struct rte_mbuf_sched > > > declared inside the struct rte_mbuf namespace, C++ fails to > > > compile. This fix move

Re: [dpdk-dev] [PATCH v3] mbuf: fix compile by making sched struct visible

2019-01-14 Thread Olivier Matz
On Fri, Jan 11, 2019 at 02:33:16PM +, Dumitrescu, Cristian wrote: > > > > -Original Message- > > From: Van Haaren, Harry > > Sent: Friday, January 11, 2019 11:33 AM > > To: dev@dpdk.org > > Cc: Van Haaren, Harry ; Pattan, Reshma > > ; Dumitrescu, Cristian > > ; olivier.m...@6wind.com;

Re: [dpdk-dev] [PATCH v3] mbuf: fix compile by making sched struct visible

2019-01-11 Thread Dumitrescu, Cristian
> -Original Message- > From: Van Haaren, Harry > Sent: Friday, January 11, 2019 11:33 AM > To: dev@dpdk.org > Cc: Van Haaren, Harry ; Pattan, Reshma > ; Dumitrescu, Cristian > ; olivier.m...@6wind.com; > tho...@monjalon.net; step...@networkplumber.org; > gavin...@arm.com; honnappa.nagara

[dpdk-dev] [PATCH v3] mbuf: fix compile by making sched struct visible

2019-01-11 Thread Harry van Haaren
Although C compilation works with the struct rte_mbuf_sched declared inside the struct rte_mbuf namespace, C++ fails to compile. This fix moves the rte_mbuf_sched struct up to the global namespace, instead of declaring it inside the struct mbuf namespace. The struct rte_mbuf_sched is being used on