Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97995/?format=api
http://patches.dpdk.org/api/patches/97995/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20210906094040.6867-3-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": "<20210906094040.6867-3-zhiminx.huang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210906094040.6867-3-zhiminx.huang@intel.com", "date": "2021-09-06T09:40:40", "name": "[V2,2/2] tests/vf_vlan:fix vlan issue", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "cebdb94ceee23d9d9217536d0a7e5481d6e7a541", "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/20210906094040.6867-3-zhiminx.huang@intel.com/mbox/", "series": [ { "id": 18684, "url": "http://patches.dpdk.org/api/series/18684/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=18684", "date": "2021-09-06T09:40:40", "name": "[V2,1/2] tests/kernelpf_iavf:fix vlan issue", "version": 2, "mbox": "http://patches.dpdk.org/series/18684/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/97995/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/97995/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 8CF88A0C4D;\n\tMon, 6 Sep 2021 03:09:09 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5F73F40E32;\n\tMon, 6 Sep 2021 03:09:09 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 528B040C35\n for <dts@dpdk.org>; Mon, 6 Sep 2021 03:09:07 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 Sep 2021 18:09:04 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 Sep 2021 18:09:02 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10098\"; a=\"217987733\"", "E=Sophos;i=\"5.85,271,1624345200\"; d=\"scan'208\";a=\"217987733\"", "E=Sophos;i=\"5.85,271,1624345200\"; d=\"scan'208\";a=\"468674256\"" ], "From": "Zhimin Huang <zhiminx.huang@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhimin Huang <zhiminx.huang@intel.com>", "Date": "Mon, 6 Sep 2021 17:40:40 +0800", "Message-Id": "<20210906094040.6867-3-zhiminx.huang@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210906094040.6867-1-zhiminx.huang@intel.com>", "References": "<20210906094040.6867-1-zhiminx.huang@intel.com>", "Subject": "[dts] [PATCH V2 2/2] tests/vf_vlan:fix vlan issue", "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", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "1.use dts framework interface to get kernel driver version.\n 2.according to dpdk code and kernel change about vlan for cvl, fix dts code,\n to adapt test point.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n tests/TestSuite_vf_vlan.py | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py\nindex 2865014..34ba75e 100644\n--- a/tests/TestSuite_vf_vlan.py\n+++ b/tests/TestSuite_vf_vlan.py\n@@ -65,6 +65,9 @@ class TestVfVlan(TestCase):\n self.vf_assign_method = 'vfio-pci'\n self.dut.send_expect('modprobe vfio-pci', '#')\n \n+ # get driver version\n+ self.driver_version = self.nic_obj.driver_version\n+\n def set_up(self):\n self.setup_vm_env()\n \n@@ -107,9 +110,6 @@ class TestVfVlan(TestCase):\n self.host_intf0 = self.dut.ports_info[self.used_dut_port_0]['intf']\n tester_port = self.tester.get_local_port(self.used_dut_port_0)\n self.tester_intf0 = self.tester.get_interface(tester_port)\n- # get driver version\n- out = self.dut.send_expect(\"ethtool -i %s | awk -F':' 'NR==2{print $2}'\" % self.host_intf0, \"# \")\n- self.driver_version = out.replace(\" \", \"\")\n \n self.dut.generate_sriov_vfs_by_port(\n self.used_dut_port_0, 1, driver=driver)\n@@ -276,7 +276,7 @@ class TestVfVlan(TestCase):\n self.vm0_testpmd.execute_cmd(\"start\")\n \n out = self.send_and_getout(vlan=random_vlan, pkt_type=\"VLAN_UDP\")\n- if self.driver_version < \"2.13.10\" or self.kdriver == 'ice':\n+ if self.kdriver == 'i40e' and self.driver_version < \"2.13.10\":\n self.verify(\"received\" in out, \"Failed to received vlan packet!!!\")\n else:\n self.verify(\n@@ -398,7 +398,7 @@ class TestVfVlan(TestCase):\n \n # send packet with vlan\n out = self.send_and_getout(vlan=random_vlan, pkt_type=\"VLAN_UDP\")\n- if self.driver_version < \"2.13.10\" or self.kdriver == 'ice':\n+ if self.kdriver == 'i40e' and self.driver_version < \"2.13.10\":\n self.verify(\n \"received 1 packets\" in out, \"Received mismatched vlan packet while vlan filter on\")\n else:\n", "prefixes": [ "V2", "2/2" ] }{ "id": 97995, "url": "