Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/121677/?format=api
http://patches.dpdk.org/api/patches/121677/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20230106180921.354155-1-zhiminx.huang@intel.com/", "project": { "id": 3, "url": "http://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": "<20230106180921.354155-1-zhiminx.huang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20230106180921.354155-1-zhiminx.huang@intel.com", "date": "2023-01-06T18:09:21", "name": "[V1] tests/vf_vlan:modify code to adapt avx2 and avx512 on vlan offload", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "fd0c3163c7448cdfa0f6a9968db590f4025bc868", "submitter": { "id": 1685, "url": "http://patches.dpdk.org/api/people/1685/?format=api", "name": "Huang, ZhiminX", "email": "zhiminx.huang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20230106180921.354155-1-zhiminx.huang@intel.com/mbox/", "series": [ { "id": 26413, "url": "http://patches.dpdk.org/api/series/26413/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=26413", "date": "2023-01-06T18:09:21", "name": "[V1] tests/vf_vlan:modify code to adapt avx2 and avx512 on vlan offload", "version": 1, "mbox": "http://patches.dpdk.org/series/26413/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/121677/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/121677/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 50902A00C2;\n\tFri, 6 Jan 2023 10:49:13 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 344D9400EF;\n\tFri, 6 Jan 2023 10:49:13 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 6168D400D4\n for <dts@dpdk.org>; Fri, 6 Jan 2023 10:49:11 +0100 (CET)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Jan 2023 01:49:10 -0800", "from unknown (HELO localhost.localdomain) ([10.239.252.96])\n by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Jan 2023 01:49:09 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1672998551; x=1704534551;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=GRw2zZyDqDGxmxXSf9kffqicPhwljeLb1jdcGrAT2EM=;\n b=IfYyXYjgPJG2CNVLSTTruPhPOLqOCGA5AD+d2+vXBJc5GlYDP+56P53l\n KGR9VtywKueeILIWlIvmY1LGE0g9NpaE+kYsF2OL6utrkphhy4YvNewTE\n WSIArod8tbKRbLLITjkyCsw0v/3Xth1/A+RQoI6RfwbGFHg88JFAcjm/d\n s3pVsZ04cNkv0xv4w6GxkY1WfpbB5x8pX4D5cqqhr0czEtX7x59WAw5zo\n ZkVlmx7sjdxGSdGXyYdwaI4BIauGXKiwBx2LpkJffqIkMj9rOjEsm5jry\n C9fTNTvGnSd3afBwKAyDF2Fd8vW/Gb3E+NMN3bgG+0pEqMHTygOj3aHDo A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10581\"; a=\"320149775\"", "E=Sophos;i=\"5.96,304,1665471600\"; d=\"scan'208\";a=\"320149775\"", "E=McAfee;i=\"6500,9779,10581\"; a=\"657838869\"", "E=Sophos;i=\"5.96,304,1665471600\"; d=\"scan'208\";a=\"657838869\"" ], "From": "Zhimin Huang <zhiminx.huang@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhimin Huang <zhiminx.huang@intel.com>", "Subject": "[dts][PATCH V1] tests/vf_vlan:modify code to adapt avx2 and avx512 on\n vlan offload", "Date": "Fri, 6 Jan 2023 18:09:21 +0000", "Message-Id": "<20230106180921.354155-1-zhiminx.huang@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": "add parameter \"--enable-hw-vlan\" in testpmd.\nthe dpdk commit 5cbfb386aa3f4c49b3cd9579e4e928cc5ab08d35 fixed avx2 not support this parameter.\nthe avx2 behavior is not appropriate,it has gap between avx2 and avx512.\nso we add parameter \"enable-hw-vlan\" in testpmd,there is no gap in avx2 and avx512 to test vlan strip.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n test_plans/vf_vlan_test_plan.rst | 5 +++++\n tests/TestSuite_vf_vlan.py | 3 ++-\n 2 files changed, 7 insertions(+), 1 deletion(-)", "diff": "diff --git a/test_plans/vf_vlan_test_plan.rst b/test_plans/vf_vlan_test_plan.rst\nindex 24877c6c..8612bd84 100644\n--- a/test_plans/vf_vlan_test_plan.rst\n+++ b/test_plans/vf_vlan_test_plan.rst\n@@ -186,6 +186,11 @@ Test case4: VF tagged vlan rx\n Test case5: VF Vlan strip test\n ==============================\n \n+.. note::\n+ according to dpdk commit 5cbfb386aa3f4c49b3cd9579e4e928cc5ab08d35,if not add parameter \"enable-hw-vlan\", the vlan\n+ offload should be disable.the avx2 behavior is not appropriate, the avx2 and avx512 shouldn't have gap on vlan\n+ offload. so add parameter \"--enable-hw-vlan\" in testpmd to test vlan strip.\n+\n 1. Start testpmd with mac forward mode::\n \n testpmd> set fwd mac\ndiff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py\nindex d5a29c04..14c675c7 100644\n--- a/tests/TestSuite_vf_vlan.py\n+++ b/tests/TestSuite_vf_vlan.py\n@@ -423,7 +423,8 @@ class TestVfVlan(TestCase):\n self.vm0_dut_ports = self.vm_dut_0.get_ports(\"any\")\n \n self.vm0_testpmd = PmdOutput(self.vm_dut_0)\n- self.launch_testpmd(dcf_flag=self.dcf_mode)\n+ param = \"--enable-hw-vlan\" if not self.dcf_mode else \"\"\n+ self.launch_testpmd(dcf_flag=self.dcf_mode, param=param)\n self.vm0_testpmd.execute_cmd(\"set fwd rxonly\")\n self.vm0_testpmd.execute_cmd(\"set verbose 1\")\n self.vm0_testpmd.execute_cmd(\"start\")\n", "prefixes": [ "V1" ] }{ "id": 121677, "url": "