numam-dpdk/app/test
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
..
autotest_data.py app/test: remove pm_autotest 2014-08-26 17:52:33 +02:00
autotest_runner.py remove trailing whitespaces 2014-06-11 00:29:34 +02:00
autotest_test_funcs.py remove trailing whitespaces 2014-06-11 00:29:34 +02:00
autotest.py remove trailing whitespaces 2014-06-11 00:29:34 +02:00
commands.c mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
Makefile app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
packet_burst_generator.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
packet_burst_generator.h bond: unit tests 2014-07-01 16:25:35 +02:00
process.h eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
test_acl.c acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
test_acl.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
test_alarm.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_atomic.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_byteorder.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_cmdline_cirbuf.c eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
test_cmdline_etheraddr.c app/test: remove writes in NULL buffer from cmdline tests 2014-07-01 16:25:36 +02:00
test_cmdline_ipaddr.c eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
test_cmdline_lib.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
test_cmdline_num.c app/test: remove writes in NULL buffer from cmdline tests 2014-07-01 16:25:36 +02:00
test_cmdline_portlist.c app/test: remove writes in NULL buffer from cmdline tests 2014-07-01 16:25:36 +02:00
test_cmdline_string.c eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
test_cmdline.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_cmdline.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
test_common.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_cpuflags.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_cycles.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_debug.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_devargs.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_distributor_perf.c mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
test_distributor.c mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
test_eal_flags.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_eal_fs.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_errno.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_func_reentrancy.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_hash_perf.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_hash.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_interrupts.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_ivshmem.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_kni.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_kvargs.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_link_bonding.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_logs.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_lpm6_routes.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
test_lpm6.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_lpm_routes.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
test_lpm.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_malloc.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_mbuf.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
test_memcpy_perf.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_memcpy.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_memory.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_mempool_perf.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_mempool.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_memzone.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_meter.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_mp_secondary.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_pci.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_per_lcore.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_pmd_ring.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_power.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_prefetch.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_red.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_ring_perf.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_ring.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_rwlock.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_sched.c mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
test_spinlock.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_string_fns.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_table_acl.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
test_table_acl.h app/test: packet framework unit tests 2014-06-17 03:34:11 +02:00
test_table_combined.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_table_combined.h app/test: packet framework unit tests 2014-06-17 03:34:11 +02:00
test_table_pipeline.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
test_table_pipeline.h app/test: packet framework unit tests 2014-06-17 03:34:11 +02:00
test_table_ports.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_table_ports.h app/test: packet framework unit tests 2014-06-17 03:34:11 +02:00
test_table_tables.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_table_tables.h app/test: packet framework unit tests 2014-06-17 03:34:11 +02:00
test_table.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_table.h app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_tailq.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test_timer_perf.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_timer.c app/test: only build what has been selected in config 2014-08-26 17:52:34 +02:00
test_version.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test.c app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
test.h app/test: convert all tests to register system 2014-08-26 17:52:33 +02:00
virtual_pmd.c bond: fix unit tests 2014-08-01 17:14:06 +02:00
virtual_pmd.h bond: unit tests 2014-07-01 16:25:35 +02:00