numam-dpdk/app/test
Xueming Li 926629e3f3 bus: fix device iterator match from arguments
Device iterator RTE_DEV_FOREACH() failed to return devices from
classifier like "class=vdpa", because matching name from empty kvargs
returns no result. If device name not specified in kvargs, the function
should iterate all devices.

This patch allows empty devargs or devargs without name specified.

Fixes: 6aebb94290 ("kvargs: add function to get from key and value")

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Xueming Li <xuemingl@nvidia.com>
2021-11-24 15:11:42 +01:00
..
test_cfgfiles/etc
commands.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
has-hugepage.sh
meson.build bus: fix device iterator match from arguments 2021-11-24 15:11:42 +01:00
packet_burst_generator.c net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
packet_burst_generator.h
process.h test: quieten warning noise while forking 2021-08-02 13:21:02 +02:00
resource.c
resource.h
sample_packet_forward.c test: fix ring PMD initialisation 2021-10-26 19:59:26 +02:00
sample_packet_forward.h test: fix ring PMD initialisation 2021-10-26 19:59:26 +02:00
test_acl.c acl: add 512-bit AVX512 classify method 2020-10-14 14:23:01 +02:00
test_acl.h
test_alarm.c test: remove strict timing requirements some tests 2021-06-03 18:08:57 +02:00
test_atomic.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_barrier.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test_bitmap.c test: add bitmap to fast tests 2021-11-10 11:42:34 +01:00
test_bitops.c
test_bitratestats.c test: fix ring PMD initialisation 2021-10-26 19:59:26 +02:00
test_bpf.c test/bpf: use compiler atomics for calculation 2021-11-17 11:07:06 +01:00
test_byteorder.c
test_cfgfile.c
test_cksum.c test/cksum: add L3/L4 checksum API test 2021-07-02 19:03:03 +02:00
test_cmdline_cirbuf.c
test_cmdline_etheraddr.c
test_cmdline_ipaddr.c test/cmdline: fix inputs array 2021-04-21 00:40:52 +02:00
test_cmdline_lib.c test/cmdline: fix memory leak 2021-11-04 11:19:26 +01:00
test_cmdline_num.c test/cmdline: silence clang 12 warning 2021-04-21 00:44:24 +02:00
test_cmdline_portlist.c
test_cmdline_string.c
test_cmdline.c
test_cmdline.h
test_common.c eal: add macro to swap two variables 2021-09-27 18:33:45 +02:00
test_compressdev_test_buffer.h eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
test_compressdev.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_cpuflags.c test/cpuflags: add new Arm flags 2020-10-13 17:57:52 +02:00
test_crc.c net: add CRC AVX512 implementation 2020-10-13 19:26:15 +02:00
test_cryptodev_aead_test_vectors.h test/crypto: enable chacha_poly PMD 2021-10-20 15:33:16 +02:00
test_cryptodev_aes_test_vectors.h test/crypto: add multi-segment out-of-place AES-XTS 2021-07-20 22:27:00 +02:00
test_cryptodev_asym_util.h
test_cryptodev_asym.c test/crypto: remove illegal PMD header include 2021-09-08 09:11:19 +02:00
test_cryptodev_blockcipher.c test/crypto: fix output buffer length 2021-11-16 08:24:39 +01:00
test_cryptodev_blockcipher.h cryptodev: extend data-unit length field 2021-10-16 16:24:43 +02:00
test_cryptodev_des_test_vectors.h
test_cryptodev_dh_test_vectors.h
test_cryptodev_dsa_test_vectors.h
test_cryptodev_ecdsa_test_vectors.h
test_cryptodev_ecpm_test_vectors.h
test_cryptodev_hash_test_vectors.h test/crypto: add AES-XCBC hash only test case 2021-01-19 18:05:45 +01:00
test_cryptodev_hmac_test_vectors.h
test_cryptodev_kasumi_hash_test_vectors.h
test_cryptodev_kasumi_test_vectors.h
test_cryptodev_mixed_test_vectors.h
test_cryptodev_mod_test_vectors.h
test_cryptodev_rsa_test_vectors.h
test_cryptodev_security_docsis_test_vectors.h test/crypto: refactor DOCSIS to show hidden cases 2021-11-04 19:46:27 +01:00
test_cryptodev_security_ipsec_test_vectors.h test/crypto: add inner checksum cases 2021-10-08 21:40:16 +02:00
test_cryptodev_security_ipsec.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
test_cryptodev_security_ipsec.h test/crypto: add inner checksum cases 2021-10-08 21:40:16 +02:00
test_cryptodev_security_pdcp_sdap_test_vectors.h test/crypto: add test vectors for PDCP-SDAP 2020-10-14 22:24:41 +02:00
test_cryptodev_security_pdcp_test_func.h
test_cryptodev_security_pdcp_test_vectors.h test/crypto: support PDCP short MAC-I 2021-09-08 16:55:20 +02:00
test_cryptodev_security_pdcp.c test/crypto: remove illegal PMD header include 2021-09-08 09:11:19 +02:00
test_cryptodev_snow3g_hash_test_vectors.h
test_cryptodev_snow3g_test_vectors.h
test_cryptodev_zuc_test_vectors.h test/crypto: fix vectors for ZUC-256 2021-11-04 19:46:27 +01:00
test_cryptodev.c test/crypto: remove unnecessary stats retrieval 2021-11-16 07:38:07 +01:00
test_cryptodev.h test/crypto: enable chacha_poly PMD 2021-10-20 15:33:16 +02:00
test_cycles.c test: remove strict timing requirements some tests 2021-06-03 18:08:57 +02:00
test_debug.c ci: catch coredumps 2021-03-03 10:05:23 +01:00
test_devargs.c test/devargs: fix memory leak 2021-10-25 09:42:38 +02:00
test_distributor_perf.c test/distributor: remove unused counter 2021-11-16 13:02:27 +01:00
test_distributor.c test/distributor: fix return buffer queue overload 2021-01-29 08:48:45 +01:00
test_dmadev_api.c test/dma: add dmadev API test 2021-10-17 20:49:58 +02:00
test_dmadev_api.h test/dma: add dmadev API test 2021-10-17 20:49:58 +02:00
test_dmadev.c test/dma: check DMA info query 2021-10-21 22:06:45 +02:00
test_eal_flags.c test: remove unnecessary test commands 2021-11-16 16:28:53 +01:00
test_eal_fs.c test: remove hack for private header inclusion 2021-07-06 13:28:35 +02:00
test_efd_perf.c efd: allow more CPU sockets in table creation 2021-10-01 16:33:20 +02:00
test_efd.c efd: allow more CPU sockets in table creation 2021-10-01 16:33:20 +02:00
test_errno.c
test_ethdev_link.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
test_event_crypto_adapter.c eventdev/crypto: add cryptodev start in adapter spec 2021-10-21 10:14:50 +02:00
test_event_eth_rx_adapter.c test/event: add unit test for Rx adapter 2021-11-04 08:41:25 +01:00
test_event_eth_tx_adapter.c net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
test_event_ring.c
test_event_timer_adapter.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test_eventdev.c event/cnxk: add SSO selftest and dump 2021-05-04 06:59:52 +02:00
test_external_mem.c test/mem: fix page size for external memory 2021-03-01 11:58:28 +01:00
test_fbarray.c
test_fib6_perf.c fib: add RIB extension size parameter 2021-11-04 12:38:03 +01:00
test_fib6.c fib: add RIB extension size parameter 2021-11-04 12:38:03 +01:00
test_fib_perf.c fib: add RIB extension size parameter 2021-11-04 12:38:03 +01:00
test_fib.c fib: add RIB extension size parameter 2021-11-04 12:38:03 +01:00
test_flow_classify.c net: introduce IPv4 IHL and version fields 2021-10-14 23:00:45 +02:00
test_flow_classify.h
test_func_reentrancy.c test/func_reentrancy: use compiler atomics for data sync 2021-11-17 11:07:06 +01:00
test_graph_perf.c
test_graph.c test/graph: switch user data to dynamic mbuf field 2020-10-31 16:13:11 +01:00
test_hash_functions.c
test_hash_multiwriter.c test/hash: use compiler atomics for sync 2021-10-19 17:15:10 +02:00
test_hash_perf.c
test_hash_readwrite_lf_perf.c test/hash: add RCU tests 2020-10-24 11:11:46 +02:00
test_hash_readwrite.c test/hash: use compiler atomics for sync 2021-10-19 17:15:10 +02:00
test_hash.c test/hash: fix buffer overflow with jhash 2021-10-21 09:42:40 +02:00
test_interrupts.c test/interrupts: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
test_ipfrag.c test/ipfrag: check fragment offsets 2021-11-10 11:42:22 +01:00
test_ipsec_perf.c
test_ipsec_sad.c
test_ipsec.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_kni.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
test_kvargs.c kvargs: support multiple lists 2021-03-16 20:15:29 +01:00
test_latencystats.c test: fix ring PMD initialisation 2021-10-26 19:59:26 +02:00
test_lcores.c test: test control thread creation 2021-10-25 21:44:47 +02:00
test_link_bonding_mode4.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
test_link_bonding_rssconf.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
test_link_bonding.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_logs.c test/log: check levels 2021-04-09 14:01:07 +02:00
test_lpm6_data.h
test_lpm6_perf.c
test_lpm6.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_lpm_perf.c test/lpm: avoid code duplication in RCU perf tests 2020-11-05 16:01:16 +01:00
test_lpm.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_malloc.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_mbuf.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test_mcslock.c test/mcslock: use compiler atomics for lcores sync 2021-07-30 19:10:58 +02:00
test_member_perf.c
test_member.c
test_memcpy_perf.c build: remove deprecated cpuflag macros 2020-09-25 11:13:57 +02:00
test_memcpy.c
test_memory.c test/mem: fix memory autotests on FreeBSD 2021-10-02 16:40:20 +02:00
test_mempool_perf.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_mempool.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_memzone.c memzone: enforce valid flags when reserving 2021-10-15 10:29:21 +02:00
test_meter.c fix spelling in comments and doxygen 2021-11-16 17:57:09 +01:00
test_metrics.c
test_mp_secondary.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test_pcapng.c test/pcapng: test pcapng library 2021-10-22 17:19:13 +02:00
test_pdump.c test: fix ring PMD initialisation 2021-10-26 19:59:26 +02:00
test_pdump.h
test_per_lcore.c eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
test_pflock.c pflock: add phase-fair reader writer locks 2021-04-14 21:59:47 +02:00
test_pie.c sched: add PIE based congestion management 2021-11-04 15:41:49 +01:00
test_pmd_perf.c test/pmd_perf: use compiler atomic builtins for polling sync 2021-11-17 11:07:06 +01:00
test_pmd_ring_perf.c test: check stop call status 2020-10-16 22:26:41 +02:00
test_pmd_ring.c test: check stop call status 2020-10-16 22:26:41 +02:00
test_power_cpufreq.c test/power: fix CPU frequency check for intel_pstate 2021-07-20 17:24:07 +02:00
test_power_kvm_vm.c build: replace use of old build macros 2020-10-19 22:15:44 +02:00
test_power.c power: support cppc_cpufreq driver 2021-07-09 16:04:46 +02:00
test_prefetch.c test: fix build with GCC 11 2021-05-20 23:10:22 +02:00
test_rand_perf.c
test_rawdev.c test/raw: remove ioat-specific autotest 2020-10-06 09:26:28 +02:00
test_rcu_qsbr_perf.c test/rcu: use compiler atomics for data sync 2021-07-30 23:56:07 +02:00
test_rcu_qsbr.c test/rcu: fix build with low core count 2020-10-30 15:43:57 +01:00
test_reciprocal_division_perf.c test: fix division by zero 2021-05-19 09:23:00 +02:00
test_reciprocal_division.c
test_red.c test/red: fix typo in test description 2021-11-16 11:24:22 +01:00
test_reorder.c reorder: switch sequence number to dynamic mbuf field 2020-10-31 22:14:30 +01:00
test_resource.c
test_rib6.c
test_rib.c
test_ring_hts_stress.c
test_ring_mpmc_stress.c
test_ring_mt_peek_stress_zc.c test/ring: fix build for O1 optimization 2020-11-15 16:45:48 +01:00
test_ring_mt_peek_stress.c
test_ring_perf.c test/ring_perf: use compiler atomic builtins for lcores sync 2021-11-17 11:07:06 +01:00
test_ring_rts_stress.c
test_ring_st_peek_stress_zc.c test/ring: add stress tests for zero copy API 2020-10-29 14:13:31 +01:00
test_ring_st_peek_stress.c
test_ring_stress_impl.h test/ring: relax memory ordering for stress test 2021-10-25 18:20:59 +02:00
test_ring_stress.c test/ring: add stress tests for zero copy API 2020-10-29 14:13:31 +01:00
test_ring_stress.h test/ring: add stress tests for zero copy API 2020-10-29 14:13:31 +01:00
test_ring.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test_ring.h test/ring: add functional tests for zero copy API 2020-10-29 14:13:31 +01:00
test_rwlock.c test: remove unnecessary test commands 2021-11-16 16:28:53 +01:00
test_sched.c test/sched: update subport rate dynamically 2020-10-15 02:14:21 +02:00
test_security.c security: update session create API 2020-10-19 09:54:54 +02:00
test_service_cores.c test/service: fix race in attr check 2021-10-12 21:07:30 +02:00
test_spinlock.c test/spinlock: use compile atomics for lcores sync 2021-07-30 19:06:35 +02:00
test_stack_perf.c test/stack_perf: use compiler atomics for lcore sync 2021-11-17 11:07:06 +01:00
test_stack.c stack: remove unneeded atomic header include 2021-10-19 17:15:10 +02:00
test_string_fns.c
test_table_acl.c
test_table_acl.h
test_table_combined.c
test_table_combined.h build: replace use of old build macros 2020-10-19 22:15:44 +02:00
test_table_pipeline.c
test_table_pipeline.h
test_table_ports.c
test_table_ports.h
test_table_tables.c test/table: fix build with GCC 11 2021-05-18 10:52:45 +02:00
test_table_tables.h build: replace use of old build macros 2020-10-19 22:15:44 +02:00
test_table.c build: replace use of old build macros 2020-10-19 22:15:44 +02:00
test_table.h build: replace use of old build macros 2020-10-19 22:15:44 +02:00
test_tailq.c
test_telemetry_data.c telemetry: support dict of dicts 2021-09-23 14:15:29 +02:00
test_telemetry_json.c test: remove hack for private header inclusion 2021-07-06 13:28:35 +02:00
test_thash_perf.c test/thash: fix build with clang 13 2021-11-16 13:01:52 +01:00
test_thash.c hash: add bulk Toeplitz hash implementation 2021-11-04 11:19:10 +01:00
test_ticketlock.c test/ticketlock: use compiler atomics for lcores sync 2021-07-30 19:04:34 +02:00
test_timer_perf.c
test_timer_racecond.c test/timer: remove license boilerplate 2021-05-19 11:02:45 +02:00
test_timer_secondary.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test_timer.c test/timer: use compiler atomic builtins for sync 2021-11-17 11:07:06 +01:00
test_trace_perf.c test/trace: fix race on collected perf data 2021-04-14 16:12:44 +02:00
test_trace_register.c
test_trace.c trace: add size_t as generic trace point 2020-10-07 14:44:03 +02:00
test_trace.h
test_vdev.c bus: fix device iterator match from arguments 2021-11-24 15:11:42 +01:00
test_version.c
test_xmmt_ops.h config: remap flags used for Arm platforms 2020-10-13 16:35:48 +02:00
test.c cmdline: free on exit 2021-10-22 23:32:00 +02:00
test.h test/crypto: add lookaside IPsec cases 2021-09-28 08:46:03 +02:00
virtual_pmd.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
virtual_pmd.h