numam-dpdk/lib/librte_ip_frag
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
..
ip_frag_common.h mbuf: flatten struct vlan_macip 2014-09-17 11:29:17 +02:00
ip_frag_internal.c ip_frag: fix order of key compare arguments 2014-06-26 22:51:07 +02:00
Makefile ip_frag: add IPv6 reassembly 2014-06-16 18:55:05 +02:00
rte_ip_frag_common.c ip_frag: clean includes 2014-06-17 02:37:28 +02:00
rte_ip_frag.h ip_frag: fix comment 2014-06-26 22:50:49 +02:00
rte_ipv4_fragmentation.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
rte_ipv4_reassembly.c mbuf: flatten struct vlan_macip 2014-09-17 11:29:17 +02:00
rte_ipv6_fragmentation.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
rte_ipv6_reassembly.c mbuf: flatten struct vlan_macip 2014-09-17 11:29:17 +02:00