numam-dpdk/app/test-pmd
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.c mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
config.c testpmd: queue start and stop 2014-08-25 16:07:50 +02:00
csumonly.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
flowgen.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
icmpecho.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
ieee1588fwd.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
iofwd.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
macfwd-retry.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
macfwd.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
macswap.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
Makefile app: simplify makefiles 2014-08-26 17:52:33 +02:00
mempool_anon.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
mempool_osdep.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
parameters.c bond: testpmd support 2014-07-01 16:25:35 +02:00
rxonly.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
testpmd.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
testpmd.h mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
txonly.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00