numam-dpdk/app/test
Tomasz Kulasek 1feda4d8fc mbuf: add a function to linearize a packet
This patch adds function rte_pktmbuf_linearize to let crypto PMD coalesce
chained mbuf before crypto operation and extend their capabilities to
support segmented mbufs when device cannot handle them natively.

Included unit tests for rte_pktmbuf_linearize functionality:

 1) Creates banch of segmented mbufs with different size and number of
    segments.
 2) Fills noncontigouos mbuf with sequential values.
 3) Uses rte_pktmbuf_linearize to coalesce segmented buffer into one
    contiguous.
 4) Verifies data in linearized buffer.

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-01-15 19:30:00 +01:00
..
test_pci_sysfs/bus/pci/devices app/test: fix PCI class probing 2016-06-27 12:43:49 +02:00
autotest_data.py make python scripts python2/3 compliant 2017-01-04 21:13:44 +01:00
autotest_runner.py make python scripts python2/3 compliant 2017-01-04 21:13:44 +01:00
autotest_test_funcs.py make python scripts python2/3 compliant 2017-01-04 21:13:44 +01:00
autotest.py make python scripts python2/3 compliant 2017-01-04 21:13:44 +01:00
commands.c log: deprecate history dump 2016-06-10 15:08:57 +02:00
Makefile app/test: rework AES 2016-10-08 17:54:37 +02:00
packet_burst_generator.c
packet_burst_generator.h
process.h
resource.c config: make libarchive optional 2016-06-14 15:31:26 +02:00
resource.h app/test: support resources archived by tar 2016-06-13 20:57:06 +02:00
test_acl.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_acl.h
test_alarm.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_atomic.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_byteorder.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_cmdline_cirbuf.c
test_cmdline_etheraddr.c
test_cmdline_ipaddr.c
test_cmdline_lib.c
test_cmdline_num.c
test_cmdline_portlist.c
test_cmdline_string.c cmdline: add any multi string mode to token string 2016-05-02 15:31:16 +02:00
test_cmdline.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_cmdline.h
test_common.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_cpuflags.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_cryptodev_aes_test_vectors.h crypto/openssl: rename libcrypto to openssl 2016-10-26 14:58:37 +02:00
test_cryptodev_blockcipher.c crypto/openssl: rename libcrypto to openssl 2016-10-26 14:58:37 +02:00
test_cryptodev_blockcipher.h crypto/openssl: rename libcrypto to openssl 2016-10-26 14:58:37 +02:00
test_cryptodev_des_test_vectors.h crypto/openssl: rename libcrypto to openssl 2016-10-26 14:58:37 +02:00
test_cryptodev_gcm_test_vectors.h app/test: add libcrypto 2016-10-08 17:54:38 +02:00
test_cryptodev_hash_test_vectors.h crypto/openssl: rename libcrypto to openssl 2016-10-26 14:58:37 +02:00
test_cryptodev_hmac_test_vectors.h app/test: add MD5 HMAC for qat 2016-10-04 20:41:09 +02:00
test_cryptodev_kasumi_hash_test_vectors.h app/test: add KASUMI for qat 2016-10-04 20:41:09 +02:00
test_cryptodev_kasumi_test_vectors.h app/test: add KASUMI for qat 2016-10-04 20:41:09 +02:00
test_cryptodev_perf.c app/test: fix hanging in SNOW 3G performance test 2016-11-07 00:23:04 +01:00
test_cryptodev_snow3g_hash_test_vectors.h app/test: add bit-level SNOW 3G UIA2 2016-06-20 22:38:51 +02:00
test_cryptodev_snow3g_test_vectors.h cryptodev: add bit-wise handling for SNOW 3G 2016-03-11 00:18:01 +01:00
test_cryptodev_zuc_hash_test_vectors.h app/test: add ZUC 2016-10-08 17:53:10 +02:00
test_cryptodev_zuc_test_vectors.h app/test: add ZUC 2016-10-08 17:53:10 +02:00
test_cryptodev.c crypto/openssl: rename libcrypto to openssl 2016-10-26 14:58:37 +02:00
test_cryptodev.h app/test: add libcrypto 2016-10-08 17:54:38 +02:00
test_cycles.c eal: customize delay function 2016-09-26 14:48:42 +02:00
test_debug.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_devargs.c app/test: fix vdev names 2016-10-13 15:55:42 +02:00
test_distributor_perf.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_distributor.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_eal_flags.c app/test: fix vdev names 2016-10-13 15:55:42 +02:00
test_eal_fs.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_errno.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_func_reentrancy.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_hash_functions.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_hash_multiwriter.c app/test: fix hash multiwriter sequence 2016-10-13 15:40:39 +02:00
test_hash_perf.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_hash_scaling.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_hash.c app/test: decrease memory requirements for hash 2016-09-23 18:40:50 +02:00
test_interrupts.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_kni.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_kvargs.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_link_bonding_mode4.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_link_bonding_rssconf.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_link_bonding.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_logs.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_lpm6_data.h app/test: reduce IPv6 LPM data size 2016-10-13 15:40:58 +02:00
test_lpm6_perf.c app/test: reduce IPv6 LPM data size 2016-10-13 15:40:58 +02:00
test_lpm6.c app/test: reduce IPv6 LPM data size 2016-10-13 15:40:58 +02:00
test_lpm_perf.c app/test: fix crash when checking LPM performance twice 2016-11-06 23:55:15 +01:00
test_lpm.c app/test: fix crash of LPM test 2016-11-12 22:27:09 +01:00
test_malloc.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_mbuf.c mbuf: add a function to linearize a packet 2017-01-15 19:30:00 +01:00
test_memcpy_perf.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_memcpy.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_memory.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_mempool_perf.c remove unused ring includes 2016-09-16 10:16:02 +02:00
test_mempool.c app/test: add mempool walk 2016-10-13 15:46:31 +02:00
test_memzone.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_meter.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_mp_secondary.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_pci.c pci: inherit common driver in PCI driver 2016-10-03 16:33:55 +02:00
test_per_lcore.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_pmd_perf.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_pmd_ring_perf.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_pmd_ring.c app/test: fix vdev names 2016-10-13 15:55:42 +02:00
test_power_acpi_cpufreq.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_power_kvm_vm.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_power.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_prefetch.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_red.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_reorder.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_resource.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_ring_perf.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_ring.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_rwlock.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_sched.c app/test: decrease memory requirements for sched 2016-09-23 18:43:25 +02:00
test_spinlock.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_string_fns.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_table_acl.c pipeline: support packet redirection at action handlers 2016-03-10 01:28:29 +01:00
test_table_acl.h
test_table_combined.c app/test: add cuckoo hash table 2016-10-12 22:10:08 +02:00
test_table_combined.h app/test: add cuckoo hash table 2016-10-12 22:10:08 +02:00
test_table_pipeline.c pipeline: add new functions for action handlers 2016-03-10 01:29:42 +01:00
test_table_pipeline.h
test_table_ports.c
test_table_ports.h
test_table_tables.c app/test: add cuckoo hash table 2016-10-12 22:10:08 +02:00
test_table_tables.h app/test: add cuckoo hash table 2016-10-12 22:10:08 +02:00
test_table.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_table.h
test_tailq.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_thash.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_timer_perf.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_timer_racecond.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_timer.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_version.c app/test: rework command registration 2016-07-15 17:25:02 +02:00
test_xmmt_ops.h lpm: add AltiVec for ppc64 2016-09-09 17:56:08 +02:00
test.c ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00
test.h ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00
virtual_pmd.c ethdev: decouple from PCI device 2016-12-25 23:30:19 +01:00
virtual_pmd.h