get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/115068/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 115068,
    "url": "http://patches.dpdk.org/api/patches/115068/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220815073206.2917968-41-qi.z.zhang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20220815073206.2917968-41-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220815073206.2917968-41-qi.z.zhang@intel.com",
    "date": "2022-08-15T07:31:36",
    "name": "[v2,40/70] net/ice/base: add helper function to check if device is E823",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2bc467464bcc381d5b02534a4ab31180de6ccfc7",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220815073206.2917968-41-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 24308,
            "url": "http://patches.dpdk.org/api/series/24308/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24308",
            "date": "2022-08-15T07:30:56",
            "name": "ice base code update",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/24308/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/115068/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/115068/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-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 726EDA00C3;\n\tMon, 15 Aug 2022 01:25:56 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0458042CB6;\n\tMon, 15 Aug 2022 01:23:25 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id E6F4A42C95\n for <dev@dpdk.org>; Mon, 15 Aug 2022 01:23:22 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Aug 2022 16:23:22 -0700",
            "from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4])\n by orsmga008.jf.intel.com with ESMTP; 14 Aug 2022 16:23:21 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1660519403; x=1692055403;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=MN7qlOXrclGkB9V/lrsPVUlXb4/WoGTSsaGp+ZWGg0I=;\n b=h17Sy8gApD4Gl3/muMAet56flnzEbTvNFdwxD1gJm37dgdBHrM9+mc7u\n KbcPnMTmqLZRsopPjbIFxq2enXLW0fUss+K09DsgimHVvSXtisA/B9T5i\n MGAleF8FMSTq2BH8d/MhVJ1RG8WN9Cmv47xMcq6GPrj7K8ANdYUOj+4zi\n +aZVa2MWyFG/BH03QMjaL7STsGPJzoKy2tDt2W9G/Kvh4hmwBii9RTsoX\n m8odnHxLb3cYTEL1H+KsD5YETkbA3v/ALsA9QO18JsEUjQNzcd3SVsM/K\n +IuPBX9kpOS+zYLFotAGElKp46MB6WOr3N5JjmjA2gXhi28aJl/MtFK/S w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10439\"; a=\"291857984\"",
            "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"291857984\"",
            "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"635283215\""
        ],
        "X-ExtLoop1": "1",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "qiming.yang@intel.com",
        "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>,\n Karol Kolacinski <karol.kolacinski@intel.com>",
        "Subject": "[PATCH v2 40/70] net/ice/base: add helper function to check if device\n is E823",
        "Date": "Mon, 15 Aug 2022 03:31:36 -0400",
        "Message-Id": "<20220815073206.2917968-41-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "In-Reply-To": "<20220815073206.2917968-1-qi.z.zhang@intel.com>",
        "References": "<20220815071306.2910599-1-qi.z.zhang@intel.com>\n <20220815073206.2917968-1-qi.z.zhang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Add a simple function checking if the device is E823-L or E823-C\nbased.\n\nSigned-off-by: Karol Kolacinski <karol.kolacinski@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_common.c | 25 +++++++++++++++++++++++++\n drivers/net/ice/base/ice_common.h |  1 +\n 2 files changed, 26 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex f8a3017df8..c90ae20c43 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -231,6 +231,31 @@ bool ice_is_e810t(struct ice_hw *hw)\n \treturn false;\n }\n \n+/**\n+ * ice_is_e823\n+ * @hw: pointer to the hardware structure\n+ *\n+ * returns true if the device is E823-L or E823-C based, false if not.\n+ */\n+bool ice_is_e823(struct ice_hw *hw)\n+{\n+\tswitch (hw->device_id) {\n+\tcase ICE_DEV_ID_E823L_BACKPLANE:\n+\tcase ICE_DEV_ID_E823L_SFP:\n+\tcase ICE_DEV_ID_E823L_10G_BASE_T:\n+\tcase ICE_DEV_ID_E823L_1GBE:\n+\tcase ICE_DEV_ID_E823L_QSFP:\n+\tcase ICE_DEV_ID_E823C_BACKPLANE:\n+\tcase ICE_DEV_ID_E823C_QSFP:\n+\tcase ICE_DEV_ID_E823C_SFP:\n+\tcase ICE_DEV_ID_E823C_10G_BASE_T:\n+\tcase ICE_DEV_ID_E823C_SGMII:\n+\t\treturn true;\n+\tdefault:\n+\t\treturn false;\n+\t}\n+}\n+\n /**\n  * ice_clear_pf_cfg - Clear PF configuration\n  * @hw: pointer to the hardware structure\ndiff --git a/drivers/net/ice/base/ice_common.h b/drivers/net/ice/base/ice_common.h\nindex 1051cc1176..b15cf240f9 100644\n--- a/drivers/net/ice/base/ice_common.h\n+++ b/drivers/net/ice/base/ice_common.h\n@@ -259,6 +259,7 @@ void ice_print_rollback_msg(struct ice_hw *hw);\n bool ice_is_generic_mac(struct ice_hw *hw);\n bool ice_is_e810(struct ice_hw *hw);\n bool ice_is_e810t(struct ice_hw *hw);\n+bool ice_is_e823(struct ice_hw *hw);\n enum ice_status\n ice_sched_query_elem(struct ice_hw *hw, u32 node_teid,\n \t\t     struct ice_aqc_txsched_elem_data *buf);\n",
    "prefixes": [
        "v2",
        "40/70"
    ]
}