get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 91504,
    "url": "http://patches.dpdk.org/api/patches/91504/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1618451359-20693-21-git-send-email-timothy.mcdaniel@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": "<1618451359-20693-21-git-send-email-timothy.mcdaniel@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1618451359-20693-21-git-send-email-timothy.mcdaniel@intel.com",
    "date": "2021-04-15T01:49:12",
    "name": "[v4,20/27] event/dlb2: use new implementation of resource header",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f4f2ad59e0d13881ddfda198b4834b31229716ed",
    "submitter": {
        "id": 826,
        "url": "http://patches.dpdk.org/api/people/826/?format=api",
        "name": "Timothy McDaniel",
        "email": "timothy.mcdaniel@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1618451359-20693-21-git-send-email-timothy.mcdaniel@intel.com/mbox/",
    "series": [
        {
            "id": 16383,
            "url": "http://patches.dpdk.org/api/series/16383/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16383",
            "date": "2021-04-15T01:48:52",
            "name": "Add DLB v2.5",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/16383/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/91504/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/91504/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 CB4C1A0562;\n\tThu, 15 Apr 2021 03:52:59 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C9430161E72;\n\tThu, 15 Apr 2021 03:51:01 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id B1407161E45\n for <dev@dpdk.org>; Thu, 15 Apr 2021 03:50:44 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Apr 2021 18:50:43 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by orsmga003.jf.intel.com with ESMTP; 14 Apr 2021 18:50:42 -0700"
        ],
        "IronPort-SDR": [
            "\n 8Ux2Fbvt56S5+1w+kndatXiBG8Ywwg3QDsU4f5VJZfxHE975L8L6IPDRbuo9gqeh6+V/RYCnyu\n ufM7ceeHhJ0A==",
            "\n vc9tBWzFq4s2IDk1pnGNSejUssEtPrHTWgvkjGxmf8NFkKLREUf7Le1sLmZVna5jhbCGPBtCLr\n mPuCiTe7twow=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,9954\"; a=\"215272822\"",
            "E=Sophos;i=\"5.82,223,1613462400\"; d=\"scan'208\";a=\"215272822\"",
            "E=Sophos;i=\"5.82,223,1613462400\"; d=\"scan'208\";a=\"382569891\""
        ],
        "X-ExtLoop1": "1",
        "From": "Timothy McDaniel <timothy.mcdaniel@intel.com>",
        "To": "",
        "Cc": "dev@dpdk.org, erik.g.carrillo@intel.com, harry.van.haaren@intel.com,\n jerinj@marvell.com, thomas@monjalon.net",
        "Date": "Wed, 14 Apr 2021 20:49:12 -0500",
        "Message-Id": "<1618451359-20693-21-git-send-email-timothy.mcdaniel@intel.com>",
        "X-Mailer": "git-send-email 1.7.10",
        "In-Reply-To": "<1618451359-20693-1-git-send-email-timothy.mcdaniel@intel.com>",
        "References": "<20210316221857.2254-2-timothy.mcdaniel@intel.com>\n <1618451359-20693-1-git-send-email-timothy.mcdaniel@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 20/27] event/dlb2: use new implementation of\n resource header",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "A temporary version of dlb_resource.h (dlb_resource_new.h) was used\nby the previous commits in this patch series. Merge the two files\nnow that DLB v2.5 support has been fully added to dlb_resource.c.\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\n---\n drivers/event/dlb2/pf/base/dlb2_osdep.h       |  2 -\n drivers/event/dlb2/pf/base/dlb2_resource.h    | 36 +++++++++\n .../event/dlb2/pf/base/dlb2_resource_new.c    |  2 +-\n .../event/dlb2/pf/base/dlb2_resource_new.h    | 73 -------------------\n drivers/event/dlb2/pf/dlb2_main.c             |  2 +-\n drivers/event/dlb2/pf/dlb2_pf.c               |  2 +-\n 6 files changed, 39 insertions(+), 78 deletions(-)\n delete mode 100644 drivers/event/dlb2/pf/base/dlb2_resource_new.h",
    "diff": "diff --git a/drivers/event/dlb2/pf/base/dlb2_osdep.h b/drivers/event/dlb2/pf/base/dlb2_osdep.h\nindex 3b0ca84ba..cffe22f3c 100644\n--- a/drivers/event/dlb2/pf/base/dlb2_osdep.h\n+++ b/drivers/event/dlb2/pf/base/dlb2_osdep.h\n@@ -17,8 +17,6 @@\n #include <rte_spinlock.h>\n #include \"../dlb2_main.h\"\n \n-/* TEMPORARY inclusion of both headers for merge */\n-#include \"dlb2_resource_new.h\"\n #include \"dlb2_resource.h\"\n \n #include \"../../dlb2_log.h\"\ndiff --git a/drivers/event/dlb2/pf/base/dlb2_resource.h b/drivers/event/dlb2/pf/base/dlb2_resource.h\nindex 00a0b6b57..684049cd6 100644\n--- a/drivers/event/dlb2/pf/base/dlb2_resource.h\n+++ b/drivers/event/dlb2/pf/base/dlb2_resource.h\n@@ -8,6 +8,42 @@\n #include \"dlb2_user.h\"\n #include \"dlb2_osdep_types.h\"\n \n+/**\n+ * dlb2_resource_init() - initialize the device\n+ * @hw: pointer to struct dlb2_hw.\n+ * @ver: device version.\n+ *\n+ * This function initializes the device's software state (pointed to by the hw\n+ * argument) and programs global scheduling QoS registers. This function should\n+ * be called during driver initialization.\n+ *\n+ * The dlb2_hw struct must be unique per DLB 2.0 device and persist until the\n+ * device is reset.\n+ *\n+ * Return:\n+ * Returns 0 upon success, <0 otherwise.\n+ */\n+int dlb2_resource_init(struct dlb2_hw *hw, enum dlb2_hw_ver ver);\n+\n+/**\n+ * dlb2_clr_pmcsr_disable() - power on bulk of DLB 2.0 logic\n+ * @hw: dlb2_hw handle for a particular device.\n+ * @ver: device version.\n+ *\n+ * Clearing the PMCSR must be done at initialization to make the device fully\n+ * operational.\n+ */\n+void dlb2_clr_pmcsr_disable(struct dlb2_hw *hw, enum dlb2_hw_ver ver);\n+\n+/**\n+ * dlb2_resource_free() - free device state memory\n+ * @hw: dlb2_hw handle for a particular device.\n+ *\n+ * This function frees software state pointed to by dlb2_hw. This function\n+ * should be called when resetting the device or unloading the driver.\n+ */\n+void dlb2_resource_free(struct dlb2_hw *hw);\n+\n /**\n  * dlb2_resource_reset() - reset in-use resources to their initial state\n  * @hw: dlb2_hw handle for a particular device.\ndiff --git a/drivers/event/dlb2/pf/base/dlb2_resource_new.c b/drivers/event/dlb2/pf/base/dlb2_resource_new.c\nindex 927b65568..2f66b2c71 100644\n--- a/drivers/event/dlb2/pf/base/dlb2_resource_new.c\n+++ b/drivers/event/dlb2/pf/base/dlb2_resource_new.c\n@@ -11,7 +11,7 @@\n #include \"dlb2_osdep_bitmap.h\"\n #include \"dlb2_osdep_types.h\"\n #include \"dlb2_regs_new.h\"\n-#include \"dlb2_resource_new.h\" /* TEMP FOR UPSTREAMPATCHES */\n+#include \"dlb2_resource.h\"\n \n #include \"../../dlb2_priv.h\"\n #include \"../../dlb2_inline_fns.h\"\ndiff --git a/drivers/event/dlb2/pf/base/dlb2_resource_new.h b/drivers/event/dlb2/pf/base/dlb2_resource_new.h\ndeleted file mode 100644\nindex 51f31543c..000000000\n--- a/drivers/event/dlb2/pf/base/dlb2_resource_new.h\n+++ /dev/null\n@@ -1,73 +0,0 @@\n-/* SPDX-License-Identifier: BSD-3-Clause\n- * Copyright(c) 2016-2020 Intel Corporation\n- */\n-\n-#ifndef __DLB2_RESOURCE_NEW_H\n-#define __DLB2_RESOURCE_NEW_H\n-\n-#include \"dlb2_user.h\"\n-#include \"dlb2_osdep_types.h\"\n-\n-/**\n- * dlb2_resource_init() - initialize the device\n- * @hw: pointer to struct dlb2_hw.\n- * @ver: device version.\n- *\n- * This function initializes the device's software state (pointed to by the hw\n- * argument) and programs global scheduling QoS registers. This function should\n- * be called during driver initialization.\n- *\n- * The dlb2_hw struct must be unique per DLB 2.0 device and persist until the\n- * device is reset.\n- *\n- * Return:\n- * Returns 0 upon success, <0 otherwise.\n- */\n-int dlb2_resource_init(struct dlb2_hw *hw, enum dlb2_hw_ver ver);\n-\n-/**\n- * dlb2_clr_pmcsr_disable() - power on bulk of DLB 2.0 logic\n- * @hw: dlb2_hw handle for a particular device.\n- * @ver: device version.\n- *\n- * Clearing the PMCSR must be done at initialization to make the device fully\n- * operational.\n- */\n-void dlb2_clr_pmcsr_disable(struct dlb2_hw *hw, enum dlb2_hw_ver ver);\n-\n-/**\n- * dlb2_finish_unmap_qid_procedures() - finish any pending unmap procedures\n- * @hw: dlb2_hw handle for a particular device.\n- *\n- * This function attempts to finish any outstanding unmap procedures.\n- * This function should be called by the kernel thread responsible for\n- * finishing map/unmap procedures.\n- *\n- * Return:\n- * Returns the number of procedures that weren't completed.\n- */\n-unsigned int dlb2_finish_unmap_qid_procedures(struct dlb2_hw *hw);\n-\n-/**\n- * dlb2_finish_map_qid_procedures() - finish any pending map procedures\n- * @hw: dlb2_hw handle for a particular device.\n- *\n- * This function attempts to finish any outstanding map procedures.\n- * This function should be called by the kernel thread responsible for\n- * finishing map/unmap procedures.\n- *\n- * Return:\n- * Returns the number of procedures that weren't completed.\n- */\n-unsigned int dlb2_finish_map_qid_procedures(struct dlb2_hw *hw);\n-\n-/**\n- * dlb2_resource_free() - free device state memory\n- * @hw: dlb2_hw handle for a particular device.\n- *\n- * This function frees software state pointed to by dlb2_hw. This function\n- * should be called when resetting the device or unloading the driver.\n- */\n-void dlb2_resource_free(struct dlb2_hw *hw);\n-\n-#endif /* __DLB2_RESOURCE_NEW_H */\ndiff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf/dlb2_main.c\nindex 5c0640b3c..bac07f097 100644\n--- a/drivers/event/dlb2/pf/dlb2_main.c\n+++ b/drivers/event/dlb2/pf/dlb2_main.c\n@@ -17,7 +17,7 @@\n \n #include \"base/dlb2_regs_new.h\"\n #include \"base/dlb2_hw_types_new.h\"\n-#include \"base/dlb2_resource_new.h\"\n+#include \"base/dlb2_resource.h\"\n #include \"base/dlb2_osdep.h\"\n #include \"dlb2_main.h\"\n #include \"../dlb2_user.h\"\ndiff --git a/drivers/event/dlb2/pf/dlb2_pf.c b/drivers/event/dlb2/pf/dlb2_pf.c\nindex 1e815f20d..880964a29 100644\n--- a/drivers/event/dlb2/pf/dlb2_pf.c\n+++ b/drivers/event/dlb2/pf/dlb2_pf.c\n@@ -40,7 +40,7 @@\n #include \"dlb2_main.h\"\n #include \"base/dlb2_hw_types_new.h\"\n #include \"base/dlb2_osdep.h\"\n-#include \"base/dlb2_resource_new.h\"\n+#include \"base/dlb2_resource.h\"\n \n static const char *event_dlb2_pf_name = RTE_STR(EVDEV_DLB2_NAME_PMD);\n \n",
    "prefixes": [
        "v4",
        "20/27"
    ]
}