numam-dpdk/examples
Olivier Matz 08b563ffb1 mbuf: replace data pointer by an offset
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
never longer than 64KB. We gain 6 bytes in the structure thanks to
this modification.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

* Updated to apply to latest on mainline.
* Disabled vector PMD in config as it relies heavily on the mbuf layout
  This will be re-enabled in a subsequent commit once vPMD has been
  reworked to take account of mbuf changes.

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
..
cmdline eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
dpdk_qat mbuf: rename in_port to just port 2014-09-17 11:27:51 +02:00
exception_path mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
helloworld remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ip_fragmentation mbuf: flatten struct vlan_macip 2014-09-17 11:29:17 +02:00
ip_pipeline mbuf: flatten struct vlan_macip 2014-09-17 11:29:17 +02:00
ip_reassembly mbuf: flatten struct vlan_macip 2014-09-17 11:29:17 +02:00
ipv4_multicast mbuf: flatten struct vlan_macip 2014-09-17 11:29:17 +02:00
kni eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
l2fwd remove trailing whitespaces 2014-06-11 00:29:34 +02:00
l2fwd-ivshmem eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
l3fwd mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
l3fwd-acl mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
l3fwd-power mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
l3fwd-vf mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
link_status_interrupt remove trailing whitespaces 2014-06-11 00:29:34 +02:00
load_balancer mbuf: rename in_port to just port 2014-09-17 11:27:51 +02:00
multi_process mbuf: rename in_port to just port 2014-09-17 11:27:51 +02:00
netmap_compat examples: ignore linux apps on bsd 2014-07-03 00:10:30 +02:00
qos_meter fix unix permissions for source files 2014-08-28 17:04:01 +02:00
qos_sched fix unix permissions for source files 2014-08-28 17:04:01 +02:00
quota_watermark mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
timer remove trailing whitespaces 2014-06-11 00:29:34 +02:00
vhost mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
vhost_xen mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
vmdq examples/vmdq: fix Tx queue id 2014-06-17 11:51:42 +02:00
vmdq_dcb remove trailing whitespaces 2014-06-11 00:29:34 +02:00
Makefile mbuf: rename RTE_MBUF_SCATTER_GATHER into RTE_MBUF_REFCNT 2014-09-17 11:27:50 +02:00