Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/102860/?format=api
http://patches.dpdk.org/api/patches/102860/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20211026132801.74272-3-yanx.xia@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": "<20211026132801.74272-3-yanx.xia@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20211026132801.74272-3-yanx.xia@intel.com", "date": "2021-10-26T13:28:01", "name": "[V2,2/2] tests/vf_daemon: delete test_mac_antispoof", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "4bab03c0d0d2d14663da956c25c167bb18da1d3f", "submitter": { "id": 2034, "url": "http://patches.dpdk.org/api/people/2034/?format=api", "name": "Yan Xia", "email": "yanx.xia@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20211026132801.74272-3-yanx.xia@intel.com/mbox/", "series": [ { "id": 19977, "url": "http://patches.dpdk.org/api/series/19977/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=19977", "date": "2021-10-26T13:27:59", "name": "*** delete test_mac_antispoof ***", "version": 2, "mbox": "http://patches.dpdk.org/series/19977/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/102860/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/102860/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 61FA8A0C47;\n\tTue, 26 Oct 2021 07:25:18 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5CD71410F8;\n\tTue, 26 Oct 2021 07:25:18 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 083EA4003E\n for <dts@dpdk.org>; Tue, 26 Oct 2021 07:25:15 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Oct 2021 22:25:15 -0700", "from unknown (HELO dpdk.lan) ([10.240.183.77])\n by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Oct 2021 22:25:14 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10148\"; a=\"230101519\"", "E=Sophos;i=\"5.87,182,1631602800\"; d=\"scan'208\";a=\"230101519\"", "E=Sophos;i=\"5.87,182,1631602800\"; d=\"scan'208\";a=\"634992524\"" ], "From": "Yan Xia <yanx.xia@intel.com>", "To": "dts@dpdk.org", "Cc": "Yan Xia <yanx.xia@intel.com>", "Date": "Tue, 26 Oct 2021 13:28:01 +0000", "Message-Id": "<20211026132801.74272-3-yanx.xia@intel.com>", "X-Mailer": "git-send-email 2.33.1", "In-Reply-To": "<20211026132801.74272-1-yanx.xia@intel.com>", "References": "<20211026132801.74272-1-yanx.xia@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dts] [PATCH V2 2/2] tests/vf_daemon: delete test_mac_antispoof", "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": "comfirm with Tu,Lijuan and Lin,Xueqin, delete the case\n\nSigned-off-by: Yan Xia <yanx.xia@intel.com>\n---\n tests/TestSuite_vf_daemon.py | 53 ------------------------------------\n 1 file changed, 53 deletions(-)", "diff": "diff --git a/tests/TestSuite_vf_daemon.py b/tests/TestSuite_vf_daemon.py\nindex 4d6ae58f..62996ade 100644\n--- a/tests/TestSuite_vf_daemon.py\n+++ b/tests/TestSuite_vf_daemon.py\n@@ -517,59 +517,6 @@ class TestVfDaemon(TestCase):\n out = self.vm0_testpmd.execute_cmd('show port stats 0')\n self.verify(\"RX-packets: 40\" in out, \n \"Failed to enable all queues drop!!!\")\n- \n-\n- def test_mac_antispoof(self):\n- \"\"\"\n- Enable/disable mac anti-spoof for a VF from PF\n- \"\"\"\n- fake_mac = '00:11:22:33:44:55'\n- time.sleep(5)\n- self.vm0_dut.send_expect(\"sed -i -e '/int r;/a \" +\\\n- \"\\ struct rte_ether_addr fake_mac = {.addr_bytes = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55},};'\" +\\\n- \" app/test-pmd/macswap_sse.h\", \"# \", 30)\n- line_num = self.vm0_dut.send_expect(\"sed -n '/_mm_storeu_si128/=' app/test-pmd/macswap_sse.h |sed -n 5p\", \"# \",30)\n- self.vm0_dut.send_expect(\"sed -i -e '%sa\\\\rte_ether_addr_copy(&fake_mac, ð_hdr[0]->s_addr);'\" % str(line_num)+\\\n- \" app/test-pmd/macswap_sse.h\", \"# \", 30)\n- time.sleep(3)\n-\n- self.vm0_dut.build_install_dpdk(self.target) \n- time.sleep(5)\n-\n- self.check_vf_link_status()\n- self.vf0_mac = self.vm0_testpmd.get_port_mac(0)\n-\n- self.vm0_testpmd.execute_cmd('set fwd macswap')\n- self.dut_testpmd.execute_cmd('set vf mac antispoof 0 0 off')\n- self.vm0_testpmd.execute_cmd('start')\n- time.sleep(5)\n-\n- dumpout = self.send_and_macstrip(self.vf0_mac)\n- out = self.vm0_testpmd.execute_cmd('stop')\n-\n- self.verify(fake_mac in dumpout, \n- \"Failed to disable vf mac anspoof!!!\")\n- self.verify(\"RX-packets: 1\" in out, \"Failed to receive packet!!!\")\n- self.verify(\"TX-packets: 1\" in out, \n- \"Failed to disable mac antispoof!!!\")\n-\n- self.dut_testpmd.execute_cmd('set vf mac antispoof 0 0 on')\n- self.vm0_testpmd.execute_cmd('start')\n- time.sleep(3)\n- dumpout = self.send_and_macstrip(self.vf0_mac)\n- out = self.vm0_testpmd.execute_cmd('stop')\n- self.verify(fake_mac not in dumpout, \"Failed to enable vf mac anspoof!!!\")\n- self.verify(\"RX-packets: 1\" in out, \"Failed to receive packet!!!\")\n- self.verify(\"TX-packets: 0\" in out, \"Failed to enable mac antispoof!!!\")\n-\n- self.vm0_testpmd.quit()\n- self.dut_testpmd.quit()\n- self.vm0_dut.send_expect(\"sed -i '/struct rte_ether_addr fake_mac = {.addr_bytes = \" +\\\n- \"{0x00, 0x11, 0x22, 0x33, 0x44, 0x55},};/d' app/test-pmd/macswap_sse.h\", \"# \", 30)\n- self.vm0_dut.send_expect(\"sed -i '%sd'\" % line_num +\\\n- \" app/test-pmd/macswap_sse.h\", \"# \", 30)\n- self.vm0_dut.build_install_dpdk(self.target)\n-\n \n def test_vf_mac_set(self):\n \"\"\"\n", "prefixes": [ "V2", "2/2" ] }{ "id": 102860, "url": "