Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/61365/?format=api
http://patchwork.dpdk.org/api/patches/61365/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20191017094124.16725-2-reshma.pattan@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20191017094124.16725-2-reshma.pattan@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191017094124.16725-2-reshma.pattan@intel.com", "date": "2019-10-17T09:41:24", "name": "[2/2] app/test: fix meson build when ring PMD is disabled", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2867943b60d41f939a6123a5f963bac0cadaf628", "submitter": { "id": 70, "url": "http://patchwork.dpdk.org/api/people/70/?format=api", "name": "Pattan, Reshma", "email": "reshma.pattan@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20191017094124.16725-2-reshma.pattan@intel.com/mbox/", "series": [ { "id": 6901, "url": "http://patchwork.dpdk.org/api/series/6901/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=6901", "date": "2019-10-17T09:41:23", "name": "[1/2] app/test: fix make build when ring PMD is disabled", "version": 1, "mbox": "http://patchwork.dpdk.org/series/6901/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/61365/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/61365/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E0B8B1E91A;\n\tThu, 17 Oct 2019 11:41:36 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id C4E6E1E901;\n\tThu, 17 Oct 2019 11:41:33 +0200 (CEST)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Oct 2019 02:41:33 -0700", "from silpixa00400214.ir.intel.com (HELO\n\tsilpixa00400214.ger.corp.intel.com) ([10.237.222.119])\n\tby fmsmga008.fm.intel.com with ESMTP; 17 Oct 2019 02:41:30 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.67,307,1566889200\"; d=\"scan'208\";a=\"195109943\"", "From": "Reshma Pattan <reshma.pattan@intel.com>", "To": "dev@dpdk.org", "Cc": "Reshma Pattan <reshma.pattan@intel.com>, stable@dpdk.org,\n\tNikhil Rao <nikhil.rao@intel.com>, Chas Williams <chas3@att.com>,\n\tStephen Hemminger <stephen@networkplumber.org>", "Date": "Thu, 17 Oct 2019 10:41:24 +0100", "Message-Id": "<20191017094124.16725-2-reshma.pattan@intel.com>", "X-Mailer": "git-send-email 2.21.0", "In-Reply-To": "<20191017094124.16725-1-reshma.pattan@intel.com>", "References": "<20191017094124.16725-1-reshma.pattan@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 2/2] app/test: fix meson build when ring PMD is\n\tdisabled", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "pdump, latency, bitrate, ring PMD and test_event_eth_tx_adapter\nunit tests are dependent on ring PMD, so enable those\ntests only when ring PMD is enabled else ignore.\n\nFixes: 086eb64db3 (\"test/pdump: add unit test for pdump library\")\nFixes: fdeb30fa71 (\"test/bitrate: add unit tests for bitrate library\")\nFixes: 1e3676a06e (\"test/latency: add unit tests for latencystats library\")\nFixes: 46cf97e4bb (\"eventdev: add test for eth Tx adapter\")\n\nCC: stable@dpdk.org\nCC: Nikhil Rao <nikhil.rao@intel.com>\nCC: Chas Williams <chas3@att.com>\n\nReported-by: Stephen Hemminger <stephen@networkplumber.org>\nSigned-off-by: Reshma Pattan <reshma.pattan@intel.com>\n---\n app/test/meson.build | 33 +++++++++++++++++++--------------\n 1 file changed, 19 insertions(+), 14 deletions(-)", "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex 2c23c6347..43ae98b68 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -7,13 +7,11 @@ endif\n \n test_sources = files('commands.c',\n \t'packet_burst_generator.c',\n-\t'sample_packet_forward.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_bitratestats.c',\n \t'test_bpf.c',\n \t'test_byteorder.c',\n \t'test_cmdline.c',\n@@ -43,7 +41,6 @@ test_sources = files('commands.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_eth_tx_adapter.c',\n \t'test_event_timer_adapter.c',\n \t'test_eventdev.c',\n \t'test_external_mem.c',\n@@ -60,9 +57,7 @@ test_sources = files('commands.c',\n \t'test_ipsec.c',\n \t'test_kni.c',\n \t'test_kvargs.c',\n-\t'test_latencystats.c',\n \t'test_link_bonding.c',\n-\t'test_link_bonding_mode4.c',\n \t'test_link_bonding_rssconf.c',\n \t'test_logs.c',\n \t'test_lpm.c',\n@@ -83,11 +78,8 @@ test_sources = files('commands.c',\n \t'test_metrics.c',\n \t'test_mcslock.c',\n \t'test_mp_secondary.c',\n-\t'test_pdump.c',\n \t'test_per_lcore.c',\n \t'test_pmd_perf.c',\n-\t'test_pmd_ring.c',\n-\t'test_pmd_ring_perf.c',\n \t'test_power.c',\n \t'test_power_cpufreq.c',\n \t'test_power_kvm_vm.c',\n@@ -199,7 +191,6 @@ fast_test_names = [\n 'rcu_qsbr_autotest',\n 'red_autotest',\n 'ring_autotest',\n- 'ring_pmd_autotest',\n 'rwlock_test1_autotest',\n 'rwlock_rda_autotest',\n 'rwlock_rds_wrm_autotest',\n@@ -214,7 +205,6 @@ fast_test_names = [\n 'timer_autotest',\n 'user_delay_us',\n 'version_autotest',\n- 'bitratestats_autotest',\n 'crc_autotest',\n 'delay_us_sleep_autotest',\n 'distributor_autotest',\n@@ -225,10 +215,8 @@ fast_test_names = [\n 'ipsec_autotest',\n 'kni_autotest',\n 'kvargs_autotest',\n- 'latencystats_autotest',\n 'member_autotest',\n 'metrics_autotest',\n- 'pdump_autotest',\n 'power_cpufreq_autotest',\n 'power_autotest',\n 'power_kvm_vm_autotest',\n@@ -258,7 +246,6 @@ perf_test_names = [\n 'rcu_qsbr_perf_autotest',\n 'red_perf',\n 'distributor_perf_autotest',\n- 'ring_pmd_perf_autotest',\n 'pmd_perf_autotest',\n 'stack_perf_autotest',\n 'stack_lf_perf_autotest',\n@@ -282,7 +269,6 @@ driver_test_names = [\n 'eventdev_selftest_octeontx',\n 'eventdev_selftest_sw',\n 'link_bonding_autotest',\n- 'link_bonding_mode4_autotest',\n 'link_bonding_rssconf_autotest',\n 'rawdev_autotest',\n ]\n@@ -319,6 +305,10 @@ if dpdk_conf.has('RTE_LIBRTE_BOND_PMD')\n endif\n if dpdk_conf.has('RTE_LIBRTE_RING_PMD')\n \ttest_deps += 'pmd_ring'\n+\ttest_sources += 'test_pmd_ring_perf.c'\n+\ttest_sources += 'test_pmd_ring.c'\n+\tfast_test_names += 'ring_pmd_autotest'\n+\tperf_test_names += 'ring_pmd_perf_autotest'\n endif\n \n if dpdk_conf.has('RTE_LIBRTE_POWER')\n@@ -354,6 +344,21 @@ if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')\n \tdriver_test_names += 'cryptodev_scheduler_autotest'\n endif\n \n+if dpdk_conf.has('RTE_LIBRTE_RING_PMD')\n+\ttest_sources += 'test_event_eth_tx_adapter.c'\n+\ttest_sources += 'test_bitratestats.c'\n+\ttest_sources += 'test_latencystats.c'\n+\ttest_sources += 'test_link_bonding_mode4.c'\n+\ttest_sources += 'sample_packet_forward.c'\n+\tfast_test_names += 'bitratestats_autotest'\n+\tfast_test_names += 'latencystats_autotest'\n+\tfast_test_names += 'link_bonding_mode4_autotest'\n+if dpdk_conf.has('RTE_LIBRTE_PDUMP')\n+\ttest_sources += 'test_pdump.c'\n+\tfast_test_names += 'pdump_autotest'\n+endif\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", "prefixes": [ "2/2" ] }{ "id": 61365, "url": "