Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1253340/?format=api
{ "id": 1253340, "url": "http://patchwork.ozlabs.org/api/patches/1253340/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200312015818.1007882-8-jacob.e.keller@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": "<20200312015818.1007882-8-jacob.e.keller@intel.com>", "list_archive_url": null, "date": "2020-03-12T01:58:16", "name": "[v3,7/9] devlink: promote \"fw.bundle_id\" to a generic info version", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b23c6b3b469ab33b7a5c2366db6815ec88a36e1d", "submitter": { "id": 9784, "url": "http://patchwork.ozlabs.org/api/people/9784/?format=api", "name": "Jacob Keller", "email": "jacob.e.keller@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/20200312015818.1007882-8-jacob.e.keller@intel.com/mbox/", "series": [ { "id": 163869, "url": "http://patchwork.ozlabs.org/api/series/163869/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=163869", "date": "2020-03-12T01:58:10", "name": "ice devlink support", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/163869/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1253340/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1253340/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; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.133;\n\thelo=hemlock.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com" ], "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 48dBnK0jFbz9sQx\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 12 Mar 2020 12:58:28 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2DE3E88EFF;\n\tThu, 12 Mar 2020 01:58:27 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id yK2wmCgmJBf5; Thu, 12 Mar 2020 01:58:26 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 83D9F88E9F;\n\tThu, 12 Mar 2020 01:58:26 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id B46F71BF9B6\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 12 Mar 2020 01:58:23 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id ADA9C863DD\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 12 Mar 2020 01:58:23 +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 V4NHi9bcbYIP for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 12 Mar 2020 01:58:23 +0000 (UTC)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 253C68625E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 12 Mar 2020 01:58:23 +0000 (UTC)", "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t11 Mar 2020 18:58:22 -0700", "from jekeller-desk.amr.corp.intel.com ([10.166.241.33])\n\tby orsmga008.jf.intel.com with ESMTP; 11 Mar 2020 18:58:21 -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.70,543,1574150400\"; d=\"scan'208\";a=\"236656319\"", "From": "Jacob Keller <jacob.e.keller@intel.com>", "To": "Intel Wired LAN <intel-wired-lan@lists.osuosl.org>", "Date": "Wed, 11 Mar 2020 18:58:16 -0700", "Message-Id": "<20200312015818.1007882-8-jacob.e.keller@intel.com>", "X-Mailer": "git-send-email 2.24.1", "In-Reply-To": "<20200312015818.1007882-1-jacob.e.keller@intel.com>", "References": "<20200312015818.1007882-1-jacob.e.keller@intel.com>", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH v3 7/9] devlink: promote \"fw.bundle_id\" to\n\ta generic info version", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.29", "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>", "Cc": "Jakub Kicinski <kuba@kernel.org>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "The nfp driver uses ``fw.bundle_id`` to represent a unique identifier of the\nentire firmware bundle.\n\nA future change is going to introduce a similar notion in the ice\ndriver, so promote ``fw.bundle_id`` into a generic version now.\n\nSigned-off-by: Jacob Keller <jacob.e.keller@intel.com>\n---\n Documentation/networking/devlink/devlink-info.rst | 5 +++++\n drivers/net/ethernet/netronome/nfp/nfp_devlink.c | 2 +-\n include/net/devlink.h | 2 ++\n 3 files changed, 8 insertions(+), 1 deletion(-)", "diff": "diff --git a/Documentation/networking/devlink/devlink-info.rst b/Documentation/networking/devlink/devlink-info.rst\nindex 70981dd1b981..b701899b7f42 100644\n--- a/Documentation/networking/devlink/devlink-info.rst\n+++ b/Documentation/networking/devlink/devlink-info.rst\n@@ -98,3 +98,8 @@ fw.roce\n \n RoCE firmware version which is responsible for handling roce\n management.\n+\n+fw.bundle_id\n+------------\n+\n+Unique identifier of the entire firmware bundle.\ndiff --git a/drivers/net/ethernet/netronome/nfp/nfp_devlink.c b/drivers/net/ethernet/netronome/nfp/nfp_devlink.c\nindex c50fce42f473..07dbf4d72227 100644\n--- a/drivers/net/ethernet/netronome/nfp/nfp_devlink.c\n+++ b/drivers/net/ethernet/netronome/nfp/nfp_devlink.c\n@@ -211,7 +211,7 @@ static const struct nfp_devlink_versions {\n \tenum nfp_nsp_versions id;\n \tconst char *key;\n } nfp_devlink_versions_nsp[] = {\n-\t{ NFP_VERSIONS_BUNDLE,\t\"fw.bundle_id\", },\n+\t{ NFP_VERSIONS_BUNDLE,\tDEVLINK_INFO_VERSION_GENERIC_FW_BUNDLE_ID, },\n \t{ NFP_VERSIONS_BSP,\tDEVLINK_INFO_VERSION_GENERIC_FW_MGMT, },\n \t{ NFP_VERSIONS_CPLD,\t\"fw.cpld\", },\n \t{ NFP_VERSIONS_APP,\tDEVLINK_INFO_VERSION_GENERIC_FW_APP, },\ndiff --git a/include/net/devlink.h b/include/net/devlink.h\nindex c9ca86b054bc..e68781b9b7d4 100644\n--- a/include/net/devlink.h\n+++ b/include/net/devlink.h\n@@ -490,6 +490,8 @@ enum devlink_param_generic_id {\n #define DEVLINK_INFO_VERSION_GENERIC_FW_PSID\t\"fw.psid\"\n /* RoCE FW version */\n #define DEVLINK_INFO_VERSION_GENERIC_FW_ROCE\t\"fw.roce\"\n+/* Firmware bundle identifier */\n+#define DEVLINK_INFO_VERSION_GENERIC_FW_BUNDLE_ID\t\"fw.bundle_id\"\n \n struct devlink_region;\n struct devlink_info_req;\n", "prefixes": [ "v3", "7/9" ] }