Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/98998/?format=api
https://patches.dpdk.org/api/patches/98998/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/1631780638-9232-1-git-send-email-songx.jiale@intel.com/", "project": { "id": 3, "url": "https://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": "<1631780638-9232-1-git-send-email-songx.jiale@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1631780638-9232-1-git-send-email-songx.jiale@intel.com", "date": "2021-09-16T08:23:58", "name": "[V1] tests/userspace_ethtool: modify the check method of mac", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "9d9fd0bb560e0dcfa2f03d1b60567e402225bca3", "submitter": { "id": 2352, "url": "https://patches.dpdk.org/api/people/2352/?format=api", "name": "Jiale, SongX", "email": "songx.jiale@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/1631780638-9232-1-git-send-email-songx.jiale@intel.com/mbox/", "series": [ { "id": 18968, "url": "https://patches.dpdk.org/api/series/18968/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=18968", "date": "2021-09-16T08:23:58", "name": "[V1] tests/userspace_ethtool: modify the check method of mac", "version": 1, "mbox": "https://patches.dpdk.org/series/18968/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/98998/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/98998/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 4EF2FA0C41;\n\tThu, 16 Sep 2021 10:11:43 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 308854003F;\n\tThu, 16 Sep 2021 10:11:43 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 8ED004003E\n for <dts@dpdk.org>; Thu, 16 Sep 2021 10:11:41 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Sep 2021 01:11:40 -0700", "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Sep 2021 01:11:39 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10108\"; a=\"202670394\"", "E=Sophos;i=\"5.85,297,1624345200\"; d=\"scan'208\";a=\"202670394\"", "E=Sophos;i=\"5.85,297,1624345200\"; d=\"scan'208\";a=\"545431659\"" ], "From": "Jiale Song <songx.jiale@intel.com>", "To": "dts@dpdk.org", "Cc": "Jiale Song <songx.jiale@intel.com>", "Date": "Thu, 16 Sep 2021 16:23:58 +0800", "Message-Id": "<1631780638-9232-1-git-send-email-songx.jiale@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dts] [PATCH V1] tests/userspace_ethtool: modify the check method\n of mac", "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": "the case check failed because the mac echoed by the \"macaddr\" command of dpdk-ethtool \nchanged to uppercase letters. modify the script to solve the problem\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n tests/TestSuite_userspace_ethtool.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n mode change 100644 => 100755 tests/TestSuite_userspace_ethtool.py", "diff": "diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py\nold mode 100644\nnew mode 100755\nindex 4536b7d..9ae84c0\n--- a/tests/TestSuite_userspace_ethtool.py\n+++ b/tests/TestSuite_userspace_ethtool.py\n@@ -510,7 +510,7 @@ class TestUserspaceEthtool(TestCase):\n port = self.ports[index]\n mac = self.dut.ports_info[port]['mac']\n dump_mac = self.strip_mac(index)\n- self.verify(mac == dump_mac, \"Userspace tool failed to dump mac\")\n+ self.verify(mac.lower() == dump_mac.lower(), \"Userspace tool failed to dump mac\")\n self.dut.send_expect(\"macaddr %d %s\" % (port, valid_mac), \"EthApp>\")\n dump_mac = self.strip_mac(index)\n self.verify(dump_mac == valid_mac, \"Userspace tool failed to set mac\")\n", "prefixes": [ "V1" ] }{ "id": 98998, "url": "