Converging discussion, +Stephen Hemminger wrote:
> I believe this was done so that the compiler doesn't generate
> bad code.
>
> If you reference the mbuf to get the fields then each operation becomes
> a load shift and mask operation to get to the bitfield. But if they
> are local then this is a
Hi,
On Thu, Jan 10, 2019 at 06:40:06PM +, Dumitrescu, Cristian wrote:
>
>
> > -Original Message-
> > From: Van Haaren, Harry
> > Sent: Thursday, January 10, 2019 6:07 PM
> > To: dev@dpdk.org
> > Cc: Van Haaren, Harry ; Pattan, Reshma
> > ; Dumitrescu, Cristian
> > ; tho...@monjalon.n
Cc: Pattan, Reshma ; tho...@monjalon.net;
> > olivier.m...@6wind.com
> > Subject: Re: [dpdk-dev] [PATCH v2] mbuf: fix compile by removing struct
> > from function
> >
> >
> >
> > > -Original Message-
> > > From: Van Haaren, Harry
> > &g
> -Original Message-
> From: dev On Behalf Of Dumitrescu, Cristian
> Sent: Friday, January 11, 2019 2:40 AM
> To: Van Haaren, Harry ; dev@dpdk.org
> Cc: Pattan, Reshma ; tho...@monjalon.net;
> olivier.m...@6wind.com
> Subject: Re: [dpdk-dev] [PATCH v2] mbuf: fi
> -Original Message-
> From: Van Haaren, Harry
> Sent: Thursday, January 10, 2019 6:07 PM
> To: dev@dpdk.org
> Cc: Van Haaren, Harry ; Pattan, Reshma
> ; Dumitrescu, Cristian
> ; tho...@monjalon.net;
> olivier.m...@6wind.com
> Subject: [PATCH v2] mbuf: fix compile by removing struct from
Although C compilation works with the struct rte_mbuf_sched
declared inside the struct rte_mbuf namespace, C++ fails to
compile.
This fix removes the temporary struct rte_mbuf_sched, instead
reading from the mbuf directly for each struct member. As the
struct is now not used directly, the C++ comp
6 matches
Mail list logo