Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/91654/?format=api
http://patches.dpdk.org/api/patches/91654/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210416170458.50188-12-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210416170458.50188-12-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210416170458.50188-12-bruce.richardson@intel.com", "date": "2021-04-16T17:04:55", "name": "[11/14] app: change meson file tabs to spaces", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "08e1fa32c55962a37d61ec76c64be095ba00247c", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210416170458.50188-12-bruce.richardson@intel.com/mbox/", "series": [ { "id": 16449, "url": "http://patches.dpdk.org/api/series/16449/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16449", "date": "2021-04-16T17:04:44", "name": "Build file updates", "version": 1, "mbox": "http://patches.dpdk.org/series/16449/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/91654/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/91654/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D3E19A0C41;\n\tFri, 16 Apr 2021 19:06:59 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 98AD0161AD4;\n\tFri, 16 Apr 2021 19:05:44 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 046D3161A29\n for <dev@dpdk.org>; Fri, 16 Apr 2021 19:05:20 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Apr 2021 10:05:20 -0700", "from silpixa00399126.ir.intel.com ([10.237.223.116])\n by orsmga006.jf.intel.com with ESMTP; 16 Apr 2021 10:05:18 -0700" ], "IronPort-SDR": [ "\n 36RpqCumUCIOclv2u6XsFfJqZ7+Dppi28k4uQnn0weaSh10uODkSPAJ5hYme00c1jfwnqjBiAe\n KLolCdphcImw==", "\n k1Rt6ri13SkcTNnXgqPI7qCPa5Ybscdd/ijnlJ34isxD5ScX8X0+r1J+CTijipD7cb/BkSBTrF\n TwvuYWusd96w==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9956\"; a=\"280388264\"", "E=Sophos;i=\"5.82,226,1613462400\"; d=\"scan'208\";a=\"280388264\"", "E=Sophos;i=\"5.82,226,1613462400\"; d=\"scan'208\";a=\"384375902\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>", "Date": "Fri, 16 Apr 2021 18:04:55 +0100", "Message-Id": "<20210416170458.50188-12-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20210416170458.50188-1-bruce.richardson@intel.com>", "References": "<20210401115009.1063844-1-bruce.richardson@intel.com>\n <20210416170458.50188-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 11/14] app: change meson file tabs to spaces", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Switch from using tabs to 4 spaces for meson.build indentation.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/test-bbdev/meson.build | 12 +-\n app/test-compress-perf/meson.build | 10 +-\n app/test-crypto-perf/meson.build | 20 +-\n app/test-eventdev/meson.build | 24 +-\n app/test-flow-perf/meson.build | 8 +-\n app/test-pipeline/meson.build | 18 +-\n app/test-pmd/meson.build | 60 ++--\n app/test/meson.build | 530 +++++++++++++++--------------\n 8 files changed, 342 insertions(+), 340 deletions(-)", "diff": "diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build\nindex 6d50e0339..6fafd55b9 100644\n--- a/app/test-bbdev/meson.build\n+++ b/app/test-bbdev/meson.build\n@@ -2,16 +2,16 @@\n # Copyright(c) 2018 Intel Corporation\n \n sources = files('main.c',\n-\t\t'test_bbdev.c',\n-\t\t'test_bbdev_perf.c',\n-\t\t'test_bbdev_vector.c')\n+ 'test_bbdev.c',\n+ 'test_bbdev_perf.c',\n+ 'test_bbdev_vector.c')\n deps += ['bbdev', 'bus_vdev']\n if dpdk_conf.has('RTE_BASEBAND_FPGA_LTE_FEC')\n-\tdeps += ['baseband_fpga_lte_fec']\n+ deps += ['baseband_fpga_lte_fec']\n endif\n if dpdk_conf.has('RTE_BASEBAND_FPGA_5GNR_FEC')\n-\tdeps += ['baseband_fpga_5gnr_fec']\n+ deps += ['baseband_fpga_5gnr_fec']\n endif\n if dpdk_conf.has('RTE_BASEBAND_ACC100')\n-\tdeps += ['baseband_acc100']\n+ deps += ['baseband_acc100']\n endif\ndiff --git a/app/test-compress-perf/meson.build b/app/test-compress-perf/meson.build\nindex a1a484da9..4dbf1c78f 100644\n--- a/app/test-compress-perf/meson.build\n+++ b/app/test-compress-perf/meson.build\n@@ -2,9 +2,9 @@\n # Copyright(c) 2018 Intel Corporation\n \n sources = files('comp_perf_options_parse.c',\n-\t\t'main.c',\n-\t\t'comp_perf_test_verify.c',\n-\t\t'comp_perf_test_throughput.c',\n-\t\t'comp_perf_test_cyclecount.c',\n-\t\t'comp_perf_test_common.c')\n+ 'main.c',\n+ 'comp_perf_test_verify.c',\n+ 'comp_perf_test_throughput.c',\n+ 'comp_perf_test_cyclecount.c',\n+ 'comp_perf_test_common.c')\n deps = ['compressdev']\ndiff --git a/app/test-crypto-perf/meson.build b/app/test-crypto-perf/meson.build\nindex 558c64878..b974161c7 100644\n--- a/app/test-crypto-perf/meson.build\n+++ b/app/test-crypto-perf/meson.build\n@@ -2,16 +2,16 @@\n # Copyright(c) 2018 Intel Corporation\n \n sources = files('cperf_ops.c',\n-\t\t'cperf_options_parsing.c',\n-\t\t'cperf_test_common.c',\n-\t\t'cperf_test_latency.c',\n-\t\t'cperf_test_pmd_cyclecount.c',\n-\t\t'cperf_test_throughput.c',\n-\t\t'cperf_test_vector_parsing.c',\n-\t\t'cperf_test_vectors.c',\n-\t\t'cperf_test_verify.c',\n-\t\t'main.c')\n+ 'cperf_options_parsing.c',\n+ 'cperf_test_common.c',\n+ 'cperf_test_latency.c',\n+ 'cperf_test_pmd_cyclecount.c',\n+ 'cperf_test_throughput.c',\n+ 'cperf_test_vector_parsing.c',\n+ 'cperf_test_vectors.c',\n+ 'cperf_test_verify.c',\n+ 'main.c')\n deps += ['cryptodev', 'net', 'security']\n if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')\n-\tdeps += 'crypto_scheduler'\n+ deps += 'crypto_scheduler'\n endif\ndiff --git a/app/test-eventdev/meson.build b/app/test-eventdev/meson.build\nindex 9e588d9ec..edb3f293f 100644\n--- a/app/test-eventdev/meson.build\n+++ b/app/test-eventdev/meson.build\n@@ -2,16 +2,16 @@\n # Copyright(c) 2017 Cavium, Inc\n \n sources = files('evt_main.c',\n-\t\t'evt_options.c',\n-\t\t'evt_test.c',\n-\t\t'parser.c',\n-\t\t'test_order_common.c',\n-\t\t'test_order_atq.c',\n-\t\t'test_order_queue.c',\n-\t\t'test_perf_common.c',\n-\t\t'test_perf_atq.c',\n-\t\t'test_perf_queue.c',\n-\t\t'test_pipeline_common.c',\n-\t\t'test_pipeline_atq.c',\n-\t\t'test_pipeline_queue.c')\n+ 'evt_options.c',\n+ 'evt_test.c',\n+ 'parser.c',\n+ 'test_order_common.c',\n+ 'test_order_atq.c',\n+ 'test_order_queue.c',\n+ 'test_perf_common.c',\n+ 'test_perf_atq.c',\n+ 'test_perf_queue.c',\n+ 'test_pipeline_common.c',\n+ 'test_pipeline_atq.c',\n+ 'test_pipeline_queue.c')\n deps += 'eventdev'\ndiff --git a/app/test-flow-perf/meson.build b/app/test-flow-perf/meson.build\nindex 6eaf83b41..2cfb03963 100644\n--- a/app/test-flow-perf/meson.build\n+++ b/app/test-flow-perf/meson.build\n@@ -2,10 +2,10 @@\n # Copyright(c) 2020 Mellanox Technologies, Ltd\n \n sources = files(\n-\t'actions_gen.c',\n-\t'flow_gen.c',\n-\t'items_gen.c',\n-\t'main.c',\n+ 'actions_gen.c',\n+ 'flow_gen.c',\n+ 'items_gen.c',\n+ 'main.c',\n )\n \n deps += ['ethdev']\ndiff --git a/app/test-pipeline/meson.build b/app/test-pipeline/meson.build\nindex d5eddaba9..bfe9b0e24 100644\n--- a/app/test-pipeline/meson.build\n+++ b/app/test-pipeline/meson.build\n@@ -2,13 +2,13 @@\n # Copyright(c) 2019 Intel Corporation\n \n sources = files(\n-\t'config.c',\n-\t'init.c',\n-\t'main.c',\n-\t'pipeline_acl.c',\n-\t'pipeline_hash.c',\n-\t'pipeline_lpm.c',\n-\t'pipeline_lpm_ipv6.c',\n-\t'pipeline_stub.c',\n-\t'runtime.c')\n+ 'config.c',\n+ 'init.c',\n+ 'main.c',\n+ 'pipeline_acl.c',\n+ 'pipeline_hash.c',\n+ 'pipeline_lpm.c',\n+ 'pipeline_lpm_ipv6.c',\n+ 'pipeline_stub.c',\n+ 'runtime.c')\n deps += ['pipeline', 'pci']\ndiff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build\nindex 7e9c7bdd6..3adadbd98 100644\n--- a/app/test-pmd/meson.build\n+++ b/app/test-pmd/meson.build\n@@ -5,57 +5,57 @@\n name = 'testpmd'\n cflags += '-Wno-deprecated-declarations'\n sources = files('5tswap.c',\n-\t'cmdline.c',\n-\t'cmdline_flow.c',\n-\t'cmdline_mtr.c',\n-\t'cmdline_tm.c',\n-\t'config.c',\n-\t'csumonly.c',\n-\t'flowgen.c',\n-\t'icmpecho.c',\n-\t'ieee1588fwd.c',\n-\t'iofwd.c',\n-\t'macfwd.c',\n-\t'macswap.c',\n-\t'noisy_vnf.c',\n-\t'parameters.c',\n-\t'rxonly.c',\n-\t'testpmd.c',\n-\t'txonly.c',\n-\t'util.c')\n+ 'cmdline.c',\n+ 'cmdline_flow.c',\n+ 'cmdline_mtr.c',\n+ 'cmdline_tm.c',\n+ 'config.c',\n+ 'csumonly.c',\n+ 'flowgen.c',\n+ 'icmpecho.c',\n+ 'ieee1588fwd.c',\n+ 'iofwd.c',\n+ 'macfwd.c',\n+ 'macswap.c',\n+ 'noisy_vnf.c',\n+ 'parameters.c',\n+ 'rxonly.c',\n+ 'testpmd.c',\n+ 'txonly.c',\n+ 'util.c')\n \n deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']\n if dpdk_conf.has('RTE_LIB_BITRATESTATS')\n-\tdeps += 'bitratestats'\n+ deps += 'bitratestats'\n endif\n if dpdk_conf.has('RTE_LIB_PDUMP')\n-\tdeps += 'pdump'\n+ deps += 'pdump'\n endif\n if dpdk_conf.has('RTE_LIB_BITRATESTATS')\n-\tdeps += 'bitratestats'\n+ deps += 'bitratestats'\n endif\n if dpdk_conf.has('RTE_LIB_LATENCYSTATS')\n-\tdeps += 'latencystats'\n+ deps += 'latencystats'\n endif\n if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')\n-\tdeps += 'crypto_scheduler'\n+ deps += 'crypto_scheduler'\n endif\n if dpdk_conf.has('RTE_NET_BOND')\n-\tdeps += 'net_bond'\n+ deps += 'net_bond'\n endif\n if dpdk_conf.has('RTE_NET_BNXT')\n-\tdeps += 'net_bnxt'\n+ deps += 'net_bnxt'\n endif\n if dpdk_conf.has('RTE_NET_I40E')\n-\tdeps += 'net_i40e'\n+ deps += 'net_i40e'\n endif\n if dpdk_conf.has('RTE_NET_IXGBE')\n-\tdeps += 'net_ixgbe'\n+ deps += 'net_ixgbe'\n endif\n if dpdk_conf.has('RTE_NET_DPAA')\n-\tdeps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']\n+ deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']\n endif\n if dpdk_conf.has('RTE_LIB_BPF')\n-\tsources += files('bpf_cmd.c')\n-\tdeps += 'bpf'\n+ sources += files('bpf_cmd.c')\n+ deps += 'bpf'\n endif\ndiff --git a/app/test/meson.build b/app/test/meson.build\nindex bd50818f8..cef9554ba 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -2,181 +2,183 @@\n # Copyright(c) 2017 Intel Corporation\n \n if not get_option('tests')\n-\tsubdir_done()\n+ subdir_done()\n endif\n \n-test_sources = files('commands.c',\n-\t'packet_burst_generator.c',\n-\t'test.c',\n-\t'test_acl.c',\n-\t'test_alarm.c',\n-\t'test_atomic.c',\n-\t'test_barrier.c',\n-\t'test_bitops.c',\n-\t'test_bitmap.c',\n-\t'test_bpf.c',\n-\t'test_byteorder.c',\n-\t'test_cmdline.c',\n-\t'test_cmdline_cirbuf.c',\n-\t'test_cmdline_etheraddr.c',\n-\t'test_cmdline_ipaddr.c',\n-\t'test_cmdline_lib.c',\n-\t'test_cmdline_num.c',\n-\t'test_cmdline_portlist.c',\n-\t'test_cmdline_string.c',\n-\t'test_common.c',\n-\t'test_cpuflags.c',\n-\t'test_crc.c',\n-\t'test_cryptodev.c',\n-\t'test_cryptodev_asym.c',\n-\t'test_cryptodev_blockcipher.c',\n-\t'test_cryptodev_security_pdcp.c',\n-\t'test_cycles.c',\n-\t'test_debug.c',\n-\t'test_distributor.c',\n-\t'test_distributor_perf.c',\n-\t'test_eal_flags.c',\n-\t'test_eal_fs.c',\n-\t'test_efd.c',\n-\t'test_efd_perf.c',\n-\t'test_errno.c',\n-\t'test_ethdev_link.c',\n-\t'test_event_crypto_adapter.c',\n-\t'test_event_eth_rx_adapter.c',\n-\t'test_event_ring.c',\n-\t'test_event_timer_adapter.c',\n-\t'test_eventdev.c',\n-\t'test_external_mem.c',\n-\t'test_fbarray.c',\n-\t'test_fib.c',\n-\t'test_fib_perf.c',\n-\t'test_fib6.c',\n-\t'test_fib6_perf.c',\n-\t'test_func_reentrancy.c',\n-\t'test_flow_classify.c',\n-\t'test_graph.c',\n-\t'test_graph_perf.c',\n-\t'test_hash.c',\n-\t'test_hash_functions.c',\n-\t'test_hash_multiwriter.c',\n-\t'test_hash_readwrite.c',\n-\t'test_hash_perf.c',\n-\t'test_hash_readwrite_lf_perf.c',\n-\t'test_interrupts.c',\n+test_sources = files(\n+ 'commands.c',\n+ 'packet_burst_generator.c',\n+ 'test.c',\n+ 'test_acl.c',\n+ 'test_alarm.c',\n+ 'test_atomic.c',\n+ 'test_barrier.c',\n+ 'test_bitops.c',\n+ 'test_bitmap.c',\n+ 'test_bpf.c',\n+ 'test_byteorder.c',\n+ 'test_cmdline.c',\n+ 'test_cmdline_cirbuf.c',\n+ 'test_cmdline_etheraddr.c',\n+ 'test_cmdline_ipaddr.c',\n+ 'test_cmdline_lib.c',\n+ 'test_cmdline_num.c',\n+ 'test_cmdline_portlist.c',\n+ 'test_cmdline_string.c',\n+ 'test_common.c',\n+ 'test_cpuflags.c',\n+ 'test_crc.c',\n+ 'test_cryptodev.c',\n+ 'test_cryptodev_asym.c',\n+ 'test_cryptodev_blockcipher.c',\n+ 'test_cryptodev_security_pdcp.c',\n+ 'test_cycles.c',\n+ 'test_debug.c',\n+ 'test_distributor.c',\n+ 'test_distributor_perf.c',\n+ 'test_eal_flags.c',\n+ 'test_eal_fs.c',\n+ 'test_efd.c',\n+ 'test_efd_perf.c',\n+ 'test_errno.c',\n+ 'test_ethdev_link.c',\n+ 'test_event_crypto_adapter.c',\n+ 'test_event_eth_rx_adapter.c',\n+ 'test_event_ring.c',\n+ 'test_event_timer_adapter.c',\n+ 'test_eventdev.c',\n+ 'test_external_mem.c',\n+ 'test_fbarray.c',\n+ 'test_fib.c',\n+ 'test_fib_perf.c',\n+ 'test_fib6.c',\n+ 'test_fib6_perf.c',\n+ 'test_func_reentrancy.c',\n+ 'test_flow_classify.c',\n+ 'test_graph.c',\n+ 'test_graph_perf.c',\n+ 'test_hash.c',\n+ 'test_hash_functions.c',\n+ 'test_hash_multiwriter.c',\n+ 'test_hash_readwrite.c',\n+ 'test_hash_perf.c',\n+ 'test_hash_readwrite_lf_perf.c',\n+ 'test_interrupts.c',\n 'test_ipfrag.c',\n-\t'test_ipsec.c',\n-\t'test_ipsec_sad.c',\n-\t'test_ipsec_perf.c',\n-\t'test_kni.c',\n-\t'test_kvargs.c',\n-\t'test_lcores.c',\n-\t'test_logs.c',\n-\t'test_lpm.c',\n-\t'test_lpm6.c',\n-\t'test_lpm6_perf.c',\n-\t'test_lpm_perf.c',\n-\t'test_malloc.c',\n-\t'test_mbuf.c',\n-\t'test_member.c',\n-\t'test_member_perf.c',\n-\t'test_memcpy.c',\n-\t'test_memcpy_perf.c',\n-\t'test_memory.c',\n-\t'test_mempool.c',\n-\t'test_mempool_perf.c',\n-\t'test_memzone.c',\n-\t'test_meter.c',\n-\t'test_metrics.c',\n-\t'test_mcslock.c',\n-\t'test_mp_secondary.c',\n-\t'test_per_lcore.c',\n-\t'test_pflock.c',\n-\t'test_pmd_perf.c',\n-\t'test_power.c',\n-\t'test_power_cpufreq.c',\n-\t'test_power_kvm_vm.c',\n-\t'test_prefetch.c',\n-\t'test_rand_perf.c',\n-\t'test_rawdev.c',\n-\t'test_rcu_qsbr.c',\n-\t'test_rcu_qsbr_perf.c',\n-\t'test_reciprocal_division.c',\n-\t'test_reciprocal_division_perf.c',\n-\t'test_red.c',\n-\t'test_reorder.c',\n-\t'test_rib.c',\n-\t'test_rib6.c',\n-\t'test_ring.c',\n-\t'test_ring_mpmc_stress.c',\n-\t'test_ring_hts_stress.c',\n-\t'test_ring_mt_peek_stress.c',\n-\t'test_ring_mt_peek_stress_zc.c',\n-\t'test_ring_perf.c',\n-\t'test_ring_rts_stress.c',\n-\t'test_ring_st_peek_stress.c',\n-\t'test_ring_st_peek_stress_zc.c',\n-\t'test_ring_stress.c',\n-\t'test_rwlock.c',\n-\t'test_sched.c',\n-\t'test_security.c',\n-\t'test_service_cores.c',\n-\t'test_spinlock.c',\n-\t'test_stack.c',\n-\t'test_stack_perf.c',\n-\t'test_string_fns.c',\n-\t'test_table.c',\n-\t'test_table_acl.c',\n-\t'test_table_combined.c',\n-\t'test_table_pipeline.c',\n-\t'test_table_ports.c',\n-\t'test_table_tables.c',\n-\t'test_tailq.c',\n-\t'test_thash.c',\n-\t'test_timer.c',\n-\t'test_timer_perf.c',\n-\t'test_timer_racecond.c',\n-\t'test_timer_secondary.c',\n-\t'test_ticketlock.c',\n-\t'test_trace.c',\n-\t'test_trace_register.c',\n-\t'test_trace_perf.c',\n-\t'test_version.c',\n-\t'virtual_pmd.c'\n+ 'test_ipsec.c',\n+ 'test_ipsec_sad.c',\n+ 'test_ipsec_perf.c',\n+ 'test_kni.c',\n+ 'test_kvargs.c',\n+ 'test_lcores.c',\n+ 'test_logs.c',\n+ 'test_lpm.c',\n+ 'test_lpm6.c',\n+ 'test_lpm6_perf.c',\n+ 'test_lpm_perf.c',\n+ 'test_malloc.c',\n+ 'test_mbuf.c',\n+ 'test_member.c',\n+ 'test_member_perf.c',\n+ 'test_memcpy.c',\n+ 'test_memcpy_perf.c',\n+ 'test_memory.c',\n+ 'test_mempool.c',\n+ 'test_mempool_perf.c',\n+ 'test_memzone.c',\n+ 'test_meter.c',\n+ 'test_metrics.c',\n+ 'test_mcslock.c',\n+ 'test_mp_secondary.c',\n+ 'test_per_lcore.c',\n+ 'test_pflock.c',\n+ 'test_pmd_perf.c',\n+ 'test_power.c',\n+ 'test_power_cpufreq.c',\n+ 'test_power_kvm_vm.c',\n+ 'test_prefetch.c',\n+ 'test_rand_perf.c',\n+ 'test_rawdev.c',\n+ 'test_rcu_qsbr.c',\n+ 'test_rcu_qsbr_perf.c',\n+ 'test_reciprocal_division.c',\n+ 'test_reciprocal_division_perf.c',\n+ 'test_red.c',\n+ 'test_reorder.c',\n+ 'test_rib.c',\n+ 'test_rib6.c',\n+ 'test_ring.c',\n+ 'test_ring_mpmc_stress.c',\n+ 'test_ring_hts_stress.c',\n+ 'test_ring_mt_peek_stress.c',\n+ 'test_ring_mt_peek_stress_zc.c',\n+ 'test_ring_perf.c',\n+ 'test_ring_rts_stress.c',\n+ 'test_ring_st_peek_stress.c',\n+ 'test_ring_st_peek_stress_zc.c',\n+ 'test_ring_stress.c',\n+ 'test_rwlock.c',\n+ 'test_sched.c',\n+ 'test_security.c',\n+ 'test_service_cores.c',\n+ 'test_spinlock.c',\n+ 'test_stack.c',\n+ 'test_stack_perf.c',\n+ 'test_string_fns.c',\n+ 'test_table.c',\n+ 'test_table_acl.c',\n+ 'test_table_combined.c',\n+ 'test_table_pipeline.c',\n+ 'test_table_ports.c',\n+ 'test_table_tables.c',\n+ 'test_tailq.c',\n+ 'test_thash.c',\n+ 'test_timer.c',\n+ 'test_timer_perf.c',\n+ 'test_timer_racecond.c',\n+ 'test_timer_secondary.c',\n+ 'test_ticketlock.c',\n+ 'test_trace.c',\n+ 'test_trace_register.c',\n+ 'test_trace_perf.c',\n+ 'test_version.c',\n+ 'virtual_pmd.c'\n )\n \n-test_deps = ['acl',\n-\t'bus_pci',\n-\t'bus_vdev',\n-\t'bitratestats',\n-\t'bpf',\n-\t'cfgfile',\n-\t'cmdline',\n-\t'cryptodev',\n-\t'distributor',\n-\t'efd',\n-\t'ethdev',\n-\t'eventdev',\n-\t'fib',\n-\t'flow_classify',\n-\t'graph',\n-\t'hash',\n-\t'ipsec',\n-\t'latencystats',\n-\t'lpm',\n-\t'member',\n-\t'metrics',\n-\t'node',\n-\t'pipeline',\n-\t'port',\n-\t'rawdev',\n-\t'rcu',\n-\t'reorder',\n-\t'rib',\n-\t'ring',\n-\t'security',\n-\t'stack',\n-\t'telemetry',\n-\t'timer'\n+test_deps = [\n+ 'acl',\n+ 'bus_pci',\n+ 'bus_vdev',\n+ 'bitratestats',\n+ 'bpf',\n+ 'cfgfile',\n+ 'cmdline',\n+ 'cryptodev',\n+ 'distributor',\n+ 'efd',\n+ 'ethdev',\n+ 'eventdev',\n+ 'fib',\n+ 'flow_classify',\n+ 'graph',\n+ 'hash',\n+ 'ipsec',\n+ 'latencystats',\n+ 'lpm',\n+ 'member',\n+ 'metrics',\n+ 'node',\n+ 'pipeline',\n+ 'port',\n+ 'rawdev',\n+ 'rcu',\n+ 'reorder',\n+ 'rib',\n+ 'ring',\n+ 'security',\n+ 'stack',\n+ 'telemetry',\n+ 'timer'\n ]\n \n # Each test is marked with flag true/false\n@@ -241,7 +243,7 @@ fast_tests = [\n ['rwlock_rds_wrm_autotest', true],\n ['rwlock_rde_wro_autotest', true],\n ['sched_autotest', true],\n-\t\t['security_autotest', false],\n+ ['security_autotest', false],\n ['spinlock_autotest', true],\n ['stack_autotest', false],\n ['stack_lf_autotest', false],\n@@ -306,7 +308,7 @@ perf_test_names = [\n 'hash_readwrite_perf_autotest',\n 'hash_readwrite_lf_perf_autotest',\n 'trace_perf_autotest',\n-\t'ipsec_perf_autotest',\n+ 'ipsec_perf_autotest',\n ]\n \n driver_test_names = [\n@@ -345,55 +347,55 @@ dump_test_names = [\n # DPDK libraries. Explicit linkage of drivers (plugin libraries)\n # in applications should not be used.\n if dpdk_conf.has('RTE_MEMPOOL_RING')\n-\ttest_deps += 'mempool_ring'\n+ test_deps += 'mempool_ring'\n endif\n if dpdk_conf.has('RTE_MEMPOOL_STACK')\n-\ttest_deps += 'mempool_stack'\n+ test_deps += 'mempool_stack'\n endif\n if dpdk_conf.has('RTE_EVENT_SKELETON')\n-\ttest_deps += 'event_skeleton'\n+ test_deps += 'event_skeleton'\n endif\n if dpdk_conf.has('RTE_LIB_TELEMETRY')\n-\ttest_sources += ['test_telemetry_json.c', 'test_telemetry_data.c']\n-\tfast_tests += [['telemetry_json_autotest', true], ['telemetry_data_autotest', true]]\n+ test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c']\n+ fast_tests += [['telemetry_json_autotest', true], ['telemetry_data_autotest', true]]\n endif\n \n # The following linkages of drivers are required because\n # they are used via a driver-specific API.\n if dpdk_conf.has('RTE_NET_BOND')\n-\ttest_deps += 'net_bond'\n-\ttest_sources += ['test_link_bonding.c', 'test_link_bonding_rssconf.c']\n-\tdriver_test_names += ['link_bonding_autotest', 'link_bonding_rssconf_autotest']\n-\tif dpdk_conf.has('RTE_NET_RING')\n-\t\ttest_sources += 'test_link_bonding_mode4.c'\n-\t\tdriver_test_names += 'link_bonding_mode4_autotest'\n-\tendif\n+ test_deps += 'net_bond'\n+ test_sources += ['test_link_bonding.c', 'test_link_bonding_rssconf.c']\n+ driver_test_names += ['link_bonding_autotest', 'link_bonding_rssconf_autotest']\n+ if dpdk_conf.has('RTE_NET_RING')\n+ test_sources += 'test_link_bonding_mode4.c'\n+ driver_test_names += 'link_bonding_mode4_autotest'\n+ endif\n endif\n if dpdk_conf.has('RTE_NET_RING')\n-\ttest_deps += 'net_ring'\n-\ttest_sources += 'test_pmd_ring_perf.c'\n-\ttest_sources += 'test_pmd_ring.c'\n-\ttest_sources += 'test_event_eth_tx_adapter.c'\n-\ttest_sources += 'test_bitratestats.c'\n-\ttest_sources += 'test_latencystats.c'\n-\ttest_sources += 'sample_packet_forward.c'\n-\ttest_sources += 'test_pdump.c'\n-\tfast_tests += [['ring_pmd_autotest', true]]\n-\tperf_test_names += 'ring_pmd_perf_autotest'\n-\tfast_tests += [['event_eth_tx_adapter_autotest', false]]\n-\tfast_tests += [['bitratestats_autotest', true]]\n-\tfast_tests += [['latencystats_autotest', true]]\n-\tfast_tests += [['pdump_autotest', true]]\n+ test_deps += 'net_ring'\n+ test_sources += 'test_pmd_ring_perf.c'\n+ test_sources += 'test_pmd_ring.c'\n+ test_sources += 'test_event_eth_tx_adapter.c'\n+ test_sources += 'test_bitratestats.c'\n+ test_sources += 'test_latencystats.c'\n+ test_sources += 'sample_packet_forward.c'\n+ test_sources += 'test_pdump.c'\n+ fast_tests += [['ring_pmd_autotest', true]]\n+ perf_test_names += 'ring_pmd_perf_autotest'\n+ fast_tests += [['event_eth_tx_adapter_autotest', false]]\n+ fast_tests += [['bitratestats_autotest', true]]\n+ fast_tests += [['latencystats_autotest', true]]\n+ fast_tests += [['pdump_autotest', true]]\n endif\n \n if dpdk_conf.has('RTE_LIB_POWER')\n-\ttest_deps += 'power'\n+ test_deps += 'power'\n endif\n if dpdk_conf.has('RTE_LIB_KNI')\n-\ttest_deps += 'kni'\n+ test_deps += 'kni'\n endif\n if dpdk_conf.has('RTE_LIB_PDUMP')\n-\ttest_deps += 'pdump'\n+ test_deps += 'pdump'\n endif\n \n if cc.has_argument('-Wno-format-truncation')\n@@ -408,38 +410,38 @@ cflags += ['-DALLOW_INTERNAL_API']\n \n test_dep_objs = []\n if dpdk_conf.has('RTE_LIB_COMPRESSDEV')\n-\tcompress_test_dep = dependency('zlib', required: false, method: 'pkg-config')\n-\tif compress_test_dep.found()\n-\t\ttest_dep_objs += compress_test_dep\n-\t\ttest_sources += 'test_compressdev.c'\n-\t\ttest_deps += 'compressdev'\n-\t\tfast_tests += [['compressdev_autotest', false]]\n-\tendif\n+ compress_test_dep = dependency('zlib', required: false, method: 'pkg-config')\n+ if compress_test_dep.found()\n+ test_dep_objs += compress_test_dep\n+ test_sources += 'test_compressdev.c'\n+ test_deps += 'compressdev'\n+ fast_tests += [['compressdev_autotest', false]]\n+ endif\n endif\n \n if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')\n-\tdriver_test_names += 'cryptodev_scheduler_autotest'\n-\ttest_deps += 'crypto_scheduler'\n+ driver_test_names += 'cryptodev_scheduler_autotest'\n+ test_deps += 'crypto_scheduler'\n endif\n \n foreach d:test_deps\n-\tdef_lib = get_option('default_library')\n-\ttest_dep_objs += get_variable(def_lib + '_rte_' + d)\n+ def_lib = get_option('default_library')\n+ test_dep_objs += get_variable(def_lib + '_rte_' + d)\n endforeach\n \n link_libs = []\n if get_option('default_library') == 'static'\n-\tlink_libs = dpdk_static_libraries + dpdk_drivers\n+ link_libs = dpdk_static_libraries + dpdk_drivers\n endif\n \n dpdk_test = executable('dpdk-test',\n-\ttest_sources,\n-\tlink_whole: link_libs,\n-\tdependencies: test_dep_objs,\n-\tc_args: cflags,\n-\tinstall_rpath: join_paths(get_option('prefix'),\n-\t\t\t driver_install_path),\n-\tinstall: true)\n+ test_sources,\n+ link_whole: link_libs,\n+ dependencies: test_dep_objs,\n+ c_args: cflags,\n+ install_rpath: join_paths(get_option('prefix'),\n+ driver_install_path),\n+ install: true)\n \n has_hugepage = run_command('has-hugepage.sh').stdout().strip() != '0'\n message('hugepage availability: @0@'.format(has_hugepage))\n@@ -455,59 +457,59 @@ num_cores_arg = '-l ' + run_command(get_coremask).stdout().strip()\n default_test_args = [num_cores_arg]\n \n foreach arg : fast_tests\n-\ttest_args = default_test_args\n-\trun_test = true\n-\tif not has_hugepage\n-\t\tif arg[1]\n-\t\t\ttest_args += ['--no-huge', '-m', '2048']\n-\t\telse\n-\t\t\trun_test = false\n-\t\tendif\n-\tendif\n+ test_args = default_test_args\n+ run_test = true\n+ if not has_hugepage\n+ if arg[1]\n+ test_args += ['--no-huge', '-m', '2048']\n+ else\n+ run_test = false\n+ endif\n+ endif\n \n-\tif (get_option('default_library') == 'shared' and\n-\t\targ[0] == 'event_eth_tx_adapter_autotest')\n-\t\tforeach drv:dpdk_drivers\n-\t\t\ttest_args += ['-d', drv.full_path().split('.a')[0] + '.so']\n-\t\tendforeach\n-\tendif\n-\tif is_linux\n-\t\ttest_args += ['--file-prefix=@0@'.format(arg[0])]\n-\tendif\n+ if (get_option('default_library') == 'shared' and\n+ arg[0] == 'event_eth_tx_adapter_autotest')\n+ foreach drv:dpdk_drivers\n+ test_args += ['-d', drv.full_path().split('.a')[0] + '.so']\n+ endforeach\n+ endif\n+ if is_linux\n+ test_args += ['--file-prefix=@0@'.format(arg[0])]\n+ endif\n \n-\tif run_test\n-\t\ttest(arg[0], dpdk_test,\n-\t\t\tenv : ['DPDK_TEST=' + arg[0]],\n-\t\t\targs : test_args,\n-\t\t\ttimeout : timeout_seconds_fast,\n-\t\t\tis_parallel : false,\n-\t\t\tsuite : 'fast-tests')\n-\tendif\n+ if run_test\n+ test(arg[0], dpdk_test,\n+ env : ['DPDK_TEST=' + arg[0]],\n+ args : test_args,\n+ timeout : timeout_seconds_fast,\n+ is_parallel : false,\n+ suite : 'fast-tests')\n+ endif\n endforeach\n \n foreach arg : perf_test_names\n-\ttest(arg, dpdk_test,\n-\tenv : ['DPDK_TEST=' + arg],\n-\targs : default_test_args,\n-\ttimeout : timeout_seconds,\n-\tis_parallel : false,\n-\tsuite : 'perf-tests')\n+ test(arg, dpdk_test,\n+ env : ['DPDK_TEST=' + arg],\n+ args : default_test_args,\n+ timeout : timeout_seconds,\n+ is_parallel : false,\n+ suite : 'perf-tests')\n endforeach\n \n foreach arg : driver_test_names\n-\ttest(arg, dpdk_test,\n-\t\tenv : ['DPDK_TEST=' + arg],\n-\t\targs : default_test_args,\n-\t\ttimeout : timeout_seconds,\n-\t\tis_parallel : false,\n-\t\tsuite : 'driver-tests')\n+ test(arg, dpdk_test,\n+ env : ['DPDK_TEST=' + arg],\n+ args : default_test_args,\n+ timeout : timeout_seconds,\n+ is_parallel : false,\n+ suite : 'driver-tests')\n endforeach\n \n foreach arg : dump_test_names\n-\ttest(arg, dpdk_test,\n-\t\tenv : ['DPDK_TEST=' + arg],\n-\t\targs : default_test_args,\n-\t\ttimeout : timeout_seconds,\n-\t\tis_parallel : false,\n-\t\tsuite : 'debug-tests')\n+ test(arg, dpdk_test,\n+ env : ['DPDK_TEST=' + arg],\n+ args : default_test_args,\n+ timeout : timeout_seconds,\n+ is_parallel : false,\n+ suite : 'debug-tests')\n endforeach\n", "prefixes": [ "11/14" ] }{ "id": 91654, "url": "