[dpdk-dev] [RFC PATCH 04/14] mbuf: replace data pointer by an offset

2014-08-12 Thread Olivier MATZ
Hi Bruce, On 08/11/2014 10:44 PM, Bruce Richardson wrote: > From: Olivier Matz > > Original patch: > The mbuf structure already contains a pointer to the beginning of the > buffer (m->buf_addr). It is not needed to use 8 bytes again to store > another pointer to the beginning of the data. >

[dpdk-dev] [RFC PATCH 04/14] mbuf: replace data pointer by an offset

2014-08-11 Thread Bruce Richardson
From: Olivier Matz Original patch: The mbuf structure already contains a pointer to the beginning of the buffer (m->buf_addr). It is not needed to use 8 bytes again to store another pointer to the beginning of the data. Using a 16 bits unsigned integer is enough as we know that a mbuf is ne