[dpdk-dev] [PATCH v2 02/13] mbuf: reorder fields by time of use

2014-09-15 Thread Richardson, Bruce
> -Original Message- > From: Liu, Jijiang > Sent: Monday, September 15, 2014 8:12 AM > To: Richardson, Bruce; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 02/13] mbuf: reorder fields by time of use > > Hi Bruce, > > > -Original Message- > &

[dpdk-dev] [PATCH v2 02/13] mbuf: reorder fields by time of use

2014-09-15 Thread Liu, Jijiang
Hi Bruce, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, September 11, 2014 9:16 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 02/13] mbuf: reorder fields by time of use > > * Reorder the

[dpdk-dev] [PATCH v2 02/13] mbuf: reorder fields by time of use

2014-09-11 Thread Bruce Richardson
* Reorder the fields in the mbuf so that we have fields that are used together side-by-side in the structure. This means that we have a contiguous block of 8-bytes in the mbuf which are used to reset an mbuf of descriptor rearm, and a block of 16-bytes of data (excluding flags) which are set on RX