Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/85853/?format=api
http://patches.dpdk.org/api/patches/85853/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20201229015104.5348-2-weix.xie@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": "<20201229015104.5348-2-weix.xie@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20201229015104.5348-2-weix.xie@intel.com", "date": "2020-12-29T01:51:04", "name": "[dst,V1,2/2] tests/TestSuite_kernelpf_iavf:modify script to match i40e driver updated", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "8d4c862c51c01b96d7386b99dc69e1e1f0ac7e4b", "submitter": { "id": 1686, "url": "http://patches.dpdk.org/api/people/1686/?format=api", "name": "Xie, WeiX", "email": "weix.xie@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20201229015104.5348-2-weix.xie@intel.com/mbox/", "series": [ { "id": 14484, "url": "http://patches.dpdk.org/api/series/14484/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=14484", "date": "2020-12-29T01:51:03", "name": "[V1,1/2] tests/TestSuite_vf_vlan:modify script to match i40e driver updated", "version": 1, "mbox": "http://patches.dpdk.org/series/14484/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/85853/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/85853/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 4D1C6A09FF;\n\tTue, 29 Dec 2020 02:48:57 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 272DCC9D8;\n\tTue, 29 Dec 2020 02:48:56 +0100 (CET)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id 404A64C8F\n for <dts@dpdk.org>; Tue, 29 Dec 2020 02:48:53 +0100 (CET)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Dec 2020 17:48:49 -0800", "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Dec 2020 17:48:48 -0800" ], "IronPort-SDR": [ "\n +JiaiIs6iKaObaHx+1qiv31QcHXvCdmS+clSo6smQ0XvsIX5CgA+kRIONnUIle7yMuT1X/9mP4\n 0N+vjIG8be1w==", "\n XuSIkrzjDqN+j6fQSUVniYKSmmgzoD/t6O0cWSySFZMH5HFdGERRHR3J3Ft3QCD+pP8sRZc1us\n 6Y3i4DtJ/NNA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9848\"; a=\"237997098\"", "E=Sophos;i=\"5.78,456,1599548400\"; d=\"scan'208\";a=\"237997098\"", "E=Sophos;i=\"5.78,456,1599548400\"; d=\"scan'208\";a=\"347199565\"" ], "From": "Xie wei <weix.xie@intel.com>", "To": "dts@dpdk.org", "Cc": "Xie wei <weix.xie@intel.com>", "Date": "Tue, 29 Dec 2020 09:51:04 +0800", "Message-Id": "<20201229015104.5348-2-weix.xie@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20201229015104.5348-1-weix.xie@intel.com>", "References": "<20201229015104.5348-1-weix.xie@intel.com>", "Subject": "[dts] [dst][PATCH V1 2/2] tests/TestSuite_kernelpf_iavf:modify\n\tscript to match i40e driver updated", "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": "Update i40e driver to 2.13.10.\nvf_add_pvid: remove vlan, the pkts with random vlan id 1-4095 shall not be received.\nvf_vlan_rx: remove vlan, the pkts with vlan 1 shall not be received.\nvf_vlan_strip: disable strip, the pkts with random vlan tag shall not be received.\nvf_vlan_filter: disable filter, the pkts with random vlan tag shall not be received.\nvf_vlan_promisc: disable filter and strip, the pkts with random vlan tag shall not be received.\n\nSigned-off-by: Xie wei <weix.xie@intel.com>\n---\n tests/TestSuite_kernelpf_iavf.py | 32 ++++++++++++++++++++++++++------\n 1 file changed, 26 insertions(+), 6 deletions(-)", "diff": "diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py\nindex 0420cfa1..68f16096 100644\n--- a/tests/TestSuite_kernelpf_iavf.py\n+++ b/tests/TestSuite_kernelpf_iavf.py\n@@ -94,6 +94,10 @@ class TestKernelpfIavf(TestCase):\n self.tester_intf1 = self.tester.get_interface(tester_port1)\n self.l3fwdpower_name = self.dut.apps_name['l3fwd-power'].strip().split('/')[-1]\n \n+ # get driver version\n+ out = self.dut.send_expect(\"ethtool -i %s | awk -F':' 'NR==2{print $2}'\" % self.host_intf, \"# \")\n+ self.driver_version = out.replace(\" \", \"\")\n+\n def set_up(self):\n \n if self.running_case == \"test_vf_mac_filter\":\n@@ -416,8 +420,12 @@ class TestKernelpfIavf(TestCase):\n out = self.send_and_getout(vlan=random_vlan, pkt_type=\"VLAN_UDP\")\n tcpdump_out = self.get_tcpdump_package()\n receive_pkt = re.findall('vlan %s' % random_vlan, tcpdump_out)\n- self.verify(len(receive_pkt) == 2, \"fail to tester received vlan packet!!!\")\n- self.verify(self.vf_mac in out, \"Failed to received vlan packet!!!\")\n+ if self.driver_version < \"2.13.10\" or self.kdriver == 'ice':\n+ self.verify(len(receive_pkt) == 2, \"fail to tester received vlan packet!!!\")\n+ self.verify(self.vf_mac in out, \"Failed to received vlan packet!!!\")\n+ else:\n+ self.verify(len(receive_pkt) == 1, \"fail to tester received vlan packet!!!\")\n+ self.verify(self.vf_mac not in out, \"Received vlan packet!!!\")\n \n def send_and_getout(self, vlan=0, pkt_type=\"UDP\"):\n \n@@ -481,7 +489,10 @@ class TestKernelpfIavf(TestCase):\n \n # send vlan 1 packet, vf can receive packet\n out = self.send_and_getout(vlan=1, pkt_type=\"VLAN_UDP\")\n- self.verify(self.vf_mac in out, \"received vlan 1 packet!!!\")\n+ if self.driver_version < \"2.13.10\" or self.kdriver == 'ice':\n+ self.verify(self.vf_mac in out, \"received vlan 1 packet!!!\")\n+ else:\n+ self.verify(self.vf_mac not in out, \"Received vlan 1 packet!!!\")\n \n def test_vf_vlan_insertion(self):\n self.vm_testpmd.start_testpmd(\"all\")\n@@ -526,7 +537,10 @@ class TestKernelpfIavf(TestCase):\n self.send_and_getout(vlan=random_vlan, pkt_type=\"VLAN_UDP\")\n tcpdump_out = self.get_tcpdump_package()\n receive_pkt = re.findall('vlan %s' % random_vlan, tcpdump_out)\n- self.verify(len(receive_pkt) == 2, 'Failed to not received vlan packet!!!')\n+ if self.driver_version < \"2.13.10\" or self.kdriver == 'ice':\n+ self.verify(len(receive_pkt) == 2, 'Failed to not received vlan packet!!!')\n+ else:\n+ self.verify(len(receive_pkt) == 1, 'Failed to not received vlan packet!!!')\n \n def test_vf_vlan_filter(self):\n random_vlan = random.randint(2, MAX_VLAN)\n@@ -560,7 +574,10 @@ class TestKernelpfIavf(TestCase):\n time.sleep(1)\n tcpdump_out = self.get_tcpdump_package()\n receive_pkt = re.findall('vlan %s' % random_vlan, tcpdump_out)\n- self.verify(len(receive_pkt) == 2, 'Failed to received vlan packet!!!')\n+ if self.driver_version < \"2.13.10\" or self.kdriver == 'ice':\n+ self.verify(len(receive_pkt) == 2, 'Failed to received vlan packet!!!')\n+ else:\n+ self.verify(len(receive_pkt) == 1, 'Failed to received vlan packet!!!')\n \n def test_vf_without_jumboframe(self):\n self.tester.send_expect('ifconfig %s mtu %s' % (self.tester_intf, ETHER_JUMBO_FRAME_MTU), '#')\n@@ -911,7 +928,10 @@ class TestKernelpfIavf(TestCase):\n self.scapy_send_packet(self.vf_mac, self.tester_intf, vlan_flags=True, count=10)\n out = self.vm_dut.get_session_output()\n packets = len(re.findall('received 1 packets', out))\n- self.verify(packets == 10, \"Not receive expected packet\")\n+ if self.driver_version < \"2.13.10\" or self.kdriver == 'ice':\n+ self.verify(packets == 10, \"Not receive expected packet\")\n+ else:\n+ self.verify(packets == 0, \"Receive expected packet\")\n \n # send 10 untagged packets, and check 10 untagged packets received\n self.scapy_send_packet(self.vf_mac, self.tester_intf, count=10)\n", "prefixes": [ "dst", "V1", "2/2" ] }{ "id": 85853, "url": "