Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/100912/?format=api
http://patches.dpdk.org/api/patches/100912/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/1633770025-6422-1-git-send-email-songx.jiale@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": "<1633770025-6422-1-git-send-email-songx.jiale@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1633770025-6422-1-git-send-email-songx.jiale@intel.com", "date": "2021-10-09T09:00:25", "name": "[V2] tests/link_status_interrupt: close nic link-down-on-close off", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "eb4cdb7ec6b22e6361b313bf639c47cbaae2d0c5", "submitter": { "id": 2352, "url": "http://patches.dpdk.org/api/people/2352/?format=api", "name": "Jiale, SongX", "email": "songx.jiale@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/1633770025-6422-1-git-send-email-songx.jiale@intel.com/mbox/", "series": [ { "id": 19484, "url": "http://patches.dpdk.org/api/series/19484/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=19484", "date": "2021-10-09T09:00:25", "name": "[V2] tests/link_status_interrupt: close nic link-down-on-close off", "version": 2, "mbox": "http://patches.dpdk.org/series/19484/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/100912/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/100912/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 CE2BAA0C41;\n\tSat, 9 Oct 2021 10:46:51 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 907FB40040;\n\tSat, 9 Oct 2021 10:46:51 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 427E24003C\n for <dts@dpdk.org>; Sat, 9 Oct 2021 10:46:50 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Oct 2021 01:46:49 -0700", "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Oct 2021 01:46:47 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10131\"; a=\"207455776\"", "E=Sophos;i=\"5.85,360,1624345200\"; d=\"scan'208\";a=\"207455776\"", "E=Sophos;i=\"5.85,360,1624345200\"; d=\"scan'208\";a=\"479242378\"" ], "From": "Jiale Song <songx.jiale@intel.com>", "To": "dts@dpdk.org", "Cc": "Jiale Song <songx.jiale@intel.com>", "Date": "Sat, 9 Oct 2021 17:00:25 +0800", "Message-Id": "<1633770025-6422-1-git-send-email-songx.jiale@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dts] [PATCH V2] tests/link_status_interrupt: close nic\n link-down-on-close off", "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": "since the link-down-on-close of the tester is turned on, but \nnot closed, the subsequent tests are affected.\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n tests/TestSuite_link_status_interrupt.py | 19 +------------------\n 1 file changed, 1 insertion(+), 18 deletions(-)", "diff": "diff --git a/tests/TestSuite_link_status_interrupt.py b/tests/TestSuite_link_status_interrupt.py\nindex 5590d94..2ad1559 100755\n--- a/tests/TestSuite_link_status_interrupt.py\n+++ b/tests/TestSuite_link_status_interrupt.py\n@@ -70,22 +70,6 @@ class TestLinkStatusInterrupt(TestCase):\n self.basic_intr_mode = [\"msix\", \"legacy\"]\n if self.drivername == \"vfio-pci\":\n self.basic_intr_mode.append(\"msi\")\n- self.intfs = [self.tester.get_interface(self.tester.get_local_port(i)) for i in self.dut_ports]\n- # check link-down-on-close flag\n- self.flag = \"link-down-on-close\"\n- for intf in self.intfs:\n- check_flag = \"ethtool --show-priv-flags %s\" % intf\n- set_flag = \"ethtool --set-priv-flags %s %s on\" % (intf, self.flag)\n- out = self.tester.send_expect(check_flag, \"#\")\n- p = re.compile('%s\\s+:\\s+(\\w+)' % self.flag)\n- res = re.search(p, out).group(1)\n- if res == \"off\":\n- self.tester.send_expect(set_flag, \"#\")\n- time.sleep(0.5)\n- out = self.tester.send_expect(check_flag, \"#\")\n- self.verify(re.search(p, out).group(1) == \"on\", \"set %s %s on failed\" % (intf, self.flag))\n- elif not res:\n- self.logger.info(\"NIC %s might not support this case\" % intf)\n \n def set_link_status_and_verify(self, dutPort, status):\n \"\"\"\n@@ -210,5 +194,4 @@ class TestLinkStatusInterrupt(TestCase):\n Run after each test suite.\n \"\"\"\n if self.dut.get_os_type() != 'freebsd':\n- for intf in self.intfs:\n- self.tester.send_expect(\"ethtool --set-priv-flags %s %s off\" % (intf, self.flag), \"#\", 10)\n+ self.tester.send_expect(\"ethtool --set-priv-flags %s link-down-on-close off\" % self.intf, \"#\", 10)\n", "prefixes": [ "V2" ] }{ "id": 100912, "url": "