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

2019-01-10 Thread Stephen Hemminger
On Thu, 10 Jan 2019 16:50:51 + Harry van Haaren wrote: > 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 t

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

2019-01-10 Thread Van Haaren, Harry
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, January 10, 2019 5:35 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org; Pattan, Reshma ; Dumitrescu, > Cristian ; olivier.m...@6wind.com > Subject: Re: [PATCH] mbuf: fix compile by making sched struct

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

2019-01-10 Thread Thomas Monjalon
10/01/2019 17:50, 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 namespac

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

2019-01-10 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