Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109101/?format=api
https://patches.dpdk.org/api/patches/109101/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20220402084606.3777328-1-yingyax.han@intel.com/", "project": { "id": 3, "url": "https://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20220402084606.3777328-1-yingyax.han@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220402084606.3777328-1-yingyax.han@intel.com", "date": "2022-04-02T08:46:06", "name": "[V1] tests/efd: removed changing source code before meson build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "d3d84ce7aab76e24af76ab004fb6f1fbca12709c", "submitter": { "id": 1645, "url": "https://patches.dpdk.org/api/people/1645/?format=api", "name": "Yingya Han", "email": "yingyax.han@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20220402084606.3777328-1-yingyax.han@intel.com/mbox/", "series": [ { "id": 22328, "url": "https://patches.dpdk.org/api/series/22328/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=22328", "date": "2022-04-02T08:46:06", "name": "[V1] tests/efd: removed changing source code before meson build", "version": 1, "mbox": "https://patches.dpdk.org/series/22328/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/109101/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/109101/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-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 E31DDA0501;\n\tSat, 2 Apr 2022 10:46:12 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B674D4067E;\n\tSat, 2 Apr 2022 10:46:12 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 4414B40143\n for <dts@dpdk.org>; Sat, 2 Apr 2022 10:46:11 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Apr 2022 01:46:10 -0700", "from dpdk-lijuan-icelake2.sh.intel.com ([10.67.118.205])\n by orsmga005.jf.intel.com with ESMTP; 02 Apr 2022 01:46:09 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1648889171; x=1680425171;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=EL1vdLN7TSgXG+P3swbfJJWWAEPMKxA9v5loK8hRcvg=;\n b=YqTaFo0JfklUH5G9QxftJpdOo1Vjw+N3aFrzD13hw6yPQtZVjCEWq94I\n aYQoG6pnOrErneEp7ud17M8KbJ3Iv0XbOzGabMldOury7Hq67djdyMiG6\n 3lx/tQTaowhIcdqF1Vp91W/HMu9Grm9CZvSrix1P05QW+Qir4aVh7Oq8m\n iYJa+HaMN4d58Mmg0pJ+sHsrMQWk29PQkIWdc9hOzUW94gp7c+BzVrNw0\n pqLNdHp/W2W2APJeIemTGbzDn/rX7sZY1ynfk2g7GFVqMDmf/6LXm/Ye8\n kpOcPJMtHxJhTo5woy0aaZcZFs5XV3wm7Q2yAz7yzcwgZZMfk7j0xjcoN g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10304\"; a=\"259116897\"", "E=Sophos;i=\"5.90,229,1643702400\"; d=\"scan'208\";a=\"259116897\"", "E=Sophos;i=\"5.90,229,1643702400\"; d=\"scan'208\";a=\"721138803\"" ], "X-ExtLoop1": "1", "From": "hanyingya <yingyax.han@intel.com>", "To": "dts@dpdk.org", "Cc": "hanyingya <yingyax.han@intel.com>", "Subject": "[dts][PATCH V1]tests/efd: removed changing source code before meson\n build", "Date": "Sat, 2 Apr 2022 08:46:06 +0000", "Message-Id": "<20220402084606.3777328-1-yingyax.han@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org" }, "content": "Signed-off-by: hanyingya <yingyax.han@intel.com>\n---\n test_plans/efd_test_plan.rst | 3 ++-\n tests/TestSuite_efd.py | 15 ++++-----------\n 2 files changed, 6 insertions(+), 12 deletions(-)", "diff": "diff --git a/test_plans/efd_test_plan.rst b/test_plans/efd_test_plan.rst\nindex 3f2ef3a3..bb4043ad 100644\n--- a/test_plans/efd_test_plan.rst\n+++ b/test_plans/efd_test_plan.rst\n@@ -138,7 +138,8 @@ This case will measure the performance based on flow numbers.\n Test Case: Load balancer performance based on value bits\n -----------------------------------------------------------------------\n Modify different value size which must be between 1 and 32, and it need\n-set the '#define RTE_EFD_VALUE_NUM_BITS (value size)' in lib/librte_efd/rte_efd.h and rebuild dpdk.\n+to be configured with the ``-Dc_args=-DRTE_EFD_VALUE_NUM_BITS`` option\n+at compile time.\n \n This case will measure the performance based on value bits.\n \ndiff --git a/tests/TestSuite_efd.py b/tests/TestSuite_efd.py\nindex 282ce27e..107a8d55 100644\n--- a/tests/TestSuite_efd.py\n+++ b/tests/TestSuite_efd.py\n@@ -159,23 +159,16 @@ class TestEFD(TestCase):\n # perf of different value bit lengths\n for val_bitnum in val_bitnums:\n # change value length and rebuild dpdk\n- self.dut.send_expect(\n- \"sed -i -e 's/#define RTE_EFD_VALUE_NUM_BITS .*$/#define RTE_EFD_VALUE_NUM_BITS (%d)/' lib/librte_efd/rte_efd.h\"\n- % val_bitnum,\n- \"#\",\n- )\n- self.dut.build_install_dpdk(self.target)\n+ extra_options = \"-Dc_args=-DRTE_EFD_VALUE_NUM_BITS=%d\" % val_bitnum\n+ self.dut.build_install_dpdk(self.target, extra_options=extra_options)\n self.build_server_node_efd()\n \n pps = self._efd_perf_evaluate(2, flow_num)\n self.result_table_add([val_bitnum, 2, \"2M\", pps])\n \n self.result_table_print()\n- self.dut.send_expect(\n- \"sed -i -e 's/#define RTE_EFD_VALUE_NUM_BITS .*$/#define RTE_EFD_VALUE_NUM_BITS (8)/' lib/librte_efd/rte_efd.h\",\n- \"#\",\n- )\n- self.dut.build_install_dpdk(self.target)\n+ extra_options = \"-Dc_args=-DRTE_EFD_VALUE_NUM_BITS=8\"\n+ self.dut.build_install_dpdk(self.target, extra_options=extra_options)\n self.build_server_node_efd()\n \n def _efd_perf_evaluate(self, node_num, flow_num):\n", "prefixes": [ "V1" ] }{ "id": 109101, "url": "