Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/885990/?format=api
{ "id": 885990, "url": "http://patchwork.ozlabs.org/api/patches/885990/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180314181918.21582-2-jeffrey.t.kirsher@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20180314181918.21582-2-jeffrey.t.kirsher@intel.com>", "list_archive_url": null, "date": "2018-03-14T18:19:12", "name": "[S88,2/8] i40e: Prevent setting link speed on KX_X722", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b54b271bbc3e43f52fa42ad46374bc97ea3bac43", "submitter": { "id": 473, "url": "http://patchwork.ozlabs.org/api/people/473/?format=api", "name": "Kirsher, Jeffrey T", "email": "jeffrey.t.kirsher@intel.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180314181918.21582-2-jeffrey.t.kirsher@intel.com/mbox/", "series": [ { "id": 33821, "url": "http://patchwork.ozlabs.org/api/series/33821/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=33821", "date": "2018-03-14T18:19:12", "name": null, "version": 1, "mbox": "http://patchwork.ozlabs.org/series/33821/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/885990/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/885990/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=intel.com" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 401g3D2LS0z9sMM\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 15 Mar 2018 05:19:03 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 6E19688A92;\n\tWed, 14 Mar 2018 18:19:02 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id JwCk+LFsjwQl; Wed, 14 Mar 2018 18:19:00 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8344588722;\n\tWed, 14 Mar 2018 18:19:00 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 758EE1C1F4F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 14 Mar 2018 18:18:59 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 71D6487E5A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 14 Mar 2018 18:18:59 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id u0D4no_Hci-s for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 14 Mar 2018 18:18:58 +0000 (UTC)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 6FF9987912\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 14 Mar 2018 18:18:58 +0000 (UTC)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Mar 2018 11:18:57 -0700", "from jtkirshe-nuc.jf.intel.com ([134.134.177.59])\n\tby orsmga001.jf.intel.com with ESMTP; 14 Mar 2018 11:18:57 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.48,306,1517904000\"; d=\"scan'208\";a=\"38899050\"", "From": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 14 Mar 2018 11:19:12 -0700", "Message-Id": "<20180314181918.21582-2-jeffrey.t.kirsher@intel.com>", "X-Mailer": "git-send-email 2.14.3", "In-Reply-To": "<20180314181918.21582-1-jeffrey.t.kirsher@intel.com>", "References": "<20180314181918.21582-1-jeffrey.t.kirsher@intel.com>", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH S88 2/8] i40e: Prevent setting link speed\n\ton KX_X722", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.24", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "From: Patryk Małek <patryk.malek@intel.com>\n\nSetting link settings on backplane devices shouldn't be allowed.\nThis patch adds one more device id to the list which we check\nthat against.\n\nSigned-off-by: Patryk Małek <patryk.malek@intel.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\nindex 9bb85daa2c6c..d86d0900dfa9 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\n@@ -860,7 +860,8 @@ static int i40e_set_link_ksettings(struct net_device *netdev,\n \tif (hw->device_id == I40E_DEV_ID_KX_B ||\n \t hw->device_id == I40E_DEV_ID_KX_C ||\n \t hw->device_id == I40E_DEV_ID_20G_KR2 ||\n-\t hw->device_id == I40E_DEV_ID_20G_KR2_A) {\n+\t hw->device_id == I40E_DEV_ID_20G_KR2_A ||\n+\t hw->device_id == I40E_DEV_ID_KX_X722) {\n \t\tnetdev_info(netdev, \"Changing settings is not supported on backplane.\\n\");\n \t\treturn -EOPNOTSUPP;\n \t}\n", "prefixes": [ "S88", "2/8" ] }