numam-dpdk/lib
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
..
librte_acl acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
librte_cfgfile eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_cmdline fix unix permissions for source files 2014-08-28 17:04:01 +02:00
librte_distributor mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
librte_eal mbuf: reorder fields by time of use 2014-09-17 18:53:40 +02:00
librte_ether ether: fix local address check 2014-08-01 17:56:54 +02:00
librte_hash hash: make tailq fully local 2014-07-22 19:42:23 +02:00
librte_ip_frag mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_ivshmem eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_kni eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_kvargs kvargs: fix build with gcc 4.5.1 2014-06-17 19:01:59 +02:00
librte_lpm lpm: make tailq fully local 2014-07-22 19:42:23 +02:00
librte_malloc eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_mbuf mbuf: reorder fields by time of use 2014-09-17 18:53:40 +02:00
librte_mempool mempool: make tailq fully local 2014-07-22 19:42:23 +02:00
librte_meter remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_net remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_pipeline eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_pmd_bond mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_pmd_e1000 mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_pmd_i40e mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_pmd_ixgbe mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_pmd_pcap mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_pmd_ring ring: remove extra devices creation with --vdev option 2014-07-22 16:43:04 +02:00
librte_pmd_virtio mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_pmd_vmxnet3 mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_pmd_xenvirt mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_port mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
librte_power eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_ring ring: make tailq fully local 2014-07-22 19:42:18 +02:00
librte_sched mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
librte_table eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_timer fix unix permissions for source files 2014-08-28 17:04:01 +02:00
Makefile bond: new link bonding library 2014-07-01 16:25:12 +02:00