Go to file
Bruce Richardson 21dc08a991 mbuf: reorder fields by time of use
*  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 from the received packet descriptor.
* Use dummy fields as appropriate to ensure alignment or to reserve gaps
for later field additions.
* Place most items which are not used by fast-path RX separately at the end
of the structure so they can later be moved to a separate cache line.
[The l2/l3 length fields are not moved at this stage as doing so will
cause overflow to the next cache line].

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2014-09-17 18:53:40 +02:00
app mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
config mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
doc mbuf: rename RTE_MBUF_SCATTER_GATHER into RTE_MBUF_REFCNT 2014-09-17 11:27:50 +02:00
examples mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
lib mbuf: reorder fields by time of use 2014-09-17 18:53:40 +02:00
mk mk: add clang toolchain 2014-07-19 01:54:26 +02:00
pkg version: 1.7.1 2014-09-03 13:28:26 +02:00
scripts scripts: fix filtering of config comments on bsd 2014-06-19 00:57:50 +02:00
tools tools: allow nic status query without igb_uio 2014-06-27 03:08:18 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00