Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/82272/?format=api
http://patchwork.dpdk.org/api/patches/82272/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/1603780973-7700-1-git-send-email-xix.zhang@intel.com/", "project": { "id": 3, "url": "http://patchwork.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": "<1603780973-7700-1-git-send-email-xix.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1603780973-7700-1-git-send-email-xix.zhang@intel.com", "date": "2020-10-27T06:42:53", "name": "[V1] tests/TestSuite_qinq_filter:insmod igb_uio create vf and add no_vec_eal_params", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "9aa504a14aa92e9e67027712cf6b88fd9d35c8ca", "submitter": { "id": 1728, "url": "http://patchwork.dpdk.org/api/people/1728/?format=api", "name": "Zhang, XiX", "email": "xix.zhang@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dts/patch/1603780973-7700-1-git-send-email-xix.zhang@intel.com/mbox/", "series": [ { "id": 13360, "url": "http://patchwork.dpdk.org/api/series/13360/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=13360", "date": "2020-10-27T06:42:53", "name": "[V1] tests/TestSuite_qinq_filter:insmod igb_uio create vf and add no_vec_eal_params", "version": 1, "mbox": "http://patchwork.dpdk.org/series/13360/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/82272/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/82272/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 244B4A04B5;\n\tTue, 27 Oct 2020 07:41:14 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 08E5A2B9D;\n\tTue, 27 Oct 2020 07:41:13 +0100 (CET)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 8A6EB29C6\n for <dts@dpdk.org>; Tue, 27 Oct 2020 07:41:11 +0100 (CET)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Oct 2020 23:41:09 -0700", "from unknown (HELO localhost.localdomain.sh.intel.com)\n ([10.240.182.150])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Oct 2020 23:41:08 -0700" ], "IronPort-SDR": [ "\n Kk1QRKC9eKsqyLN1sg4i2N/X/BeNSI+rRz3p1Hc7iUyu7LT3b11NvCb1Urks82KGjzrtgClOfU\n Apm4Qwgmj4Wg==", "\n BfWU9kfBY01QyKoOSuJk/hAEsUdE8f1wtfiS10TsWs/crsuRUj6ULWDgHoQrUNOJJQ0ODRp0j/\n rmXeXO2OsoKg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9786\"; a=\"155813515\"", "E=Sophos;i=\"5.77,422,1596524400\"; d=\"scan'208\";a=\"155813515\"", "E=Sophos;i=\"5.77,422,1596524400\"; d=\"scan'208\";a=\"535669850\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "From": "xizhan4x <xix.zhang@intel.com>", "To": "dts@dpdk.org", "Cc": "xizhan4x <xix.zhang@intel.com>", "Date": "Tue, 27 Oct 2020 14:42:53 +0800", "Message-Id": "<1603780973-7700-1-git-send-email-xix.zhang@intel.com>", "X-Mailer": "git-send-email 2.4.0", "Subject": "[dts] [PATCH V1] tests/TestSuite_qinq_filter:insmod igb_uio create\n\tvf and add no_vec_eal_params", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "insmod igb_uio create vf and add no_vec_eal_params\n\nSigned-off-by: xizhan4x <xix.zhang@intel.com>\n---\n tests/TestSuite_qinq_filter.py | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)", "diff": "diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py\nindex 91a2d7a..abdb5b4 100644\n--- a/tests/TestSuite_qinq_filter.py\n+++ b/tests/TestSuite_qinq_filter.py\n@@ -72,8 +72,6 @@ class TestQinqFilter(TestCase):\n \n cores = self.dut.get_core_list('1S/2C/1T')\n self.coreMask = utils.create_mask(cores)\n- self.dut.set_build_options({'RTE_LIBRTE_I40E_INC_VECTOR': 'n'})\n- self.dut.build_install_dpdk(self.target)\n self.path=self.dut.apps_name['test-pmd']\n \n def vlan_send_packet(self, vlans):\n@@ -142,10 +140,12 @@ class TestQinqFilter(TestCase):\n \"\"\"\n Enable receipt of dual VLAN packets\n \"\"\"\n- \n- self.dut.send_expect(r'%s -c %s -n 4 -- -i \\\n+ #a patch is aim to solve choose vec or no-vec receive function on run time,\n+ #add a EAL parameter --force-max-simd-bitwidth=64 can limit i40e pmd to use no-vec receive functuion, otherwise, qinq packets can be identified.\n+ no_vec_eal_params='--force-max-simd-bitwidth=64'\n+ self.dut.send_expect(r'%s -c %s -n 4 %s -- -i \\\n --portmask=%s --port-topology=loop \\\n- --rxq=4 --txq=4 --disable-rss' % (self.path, self.coreMask, self.portMask),\n+ --rxq=4 --txq=4 --disable-rss' % (self.path, self.coreMask, no_vec_eal_params, self.portMask),\n \"testpmd> \", 30)\n self.dut.send_expect(\"vlan set extend on %s\" % dutRxPortId, \"testpmd> \")\n self.dut.send_expect(\"vlan set strip on %s\" % dutRxPortId, \"testpmd> \")\n@@ -195,6 +195,7 @@ class TestQinqFilter(TestCase):\n \"\"\"\n qinq filter packet received by assign VF queues\n \"\"\"\n+ self.dut.setup_modules(self.target,'igb_uio',None)\n self.config_vfs(dutRxPortId, 2)\n vf_list = self.dut.ports_info[dutRxPortId]['sriov_vfs_pci']\n self.verify(len(vf_list) == 2, 'config 2 vf failed: %s' % str(vf_list))\n@@ -348,5 +349,4 @@ class TestQinqFilter(TestCase):\n \"\"\"\n Run after each test suite.\n \"\"\"\n- self.dut.set_build_options({'RTE_LIBRTE_I40E_INC_VECTOR': 'y'})\n- self.dut.build_install_dpdk(self.target)\n+ pass\n", "prefixes": [ "V1" ] }{ "id": 82272, "url": "