get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 81983,
    "url": "http://patches.dpdk.org/api/patches/81983/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1603477826-31374-23-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": "<1603477826-31374-23-git-send-email-timothy.mcdaniel@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1603477826-31374-23-git-send-email-timothy.mcdaniel@intel.com",
    "date": "2020-10-23T18:30:25",
    "name": "[v3,22/23] event/dlb2: add queue and port release",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4d277e8918d50f815fbceb6fae27d6d39ce5f82e",
    "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/1603477826-31374-23-git-send-email-timothy.mcdaniel@intel.com/mbox/",
    "series": [
        {
            "id": 13284,
            "url": "http://patches.dpdk.org/api/series/13284/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13284",
            "date": "2020-10-23T18:30:03",
            "name": "Add DLB2 PMD",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/13284/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/81983/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/81983/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3AC88A04DD;\n\tFri, 23 Oct 2020 20:36:45 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A8DF1A8EA;\n\tFri, 23 Oct 2020 20:29:19 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 274E76883\n for <dev@dpdk.org>; Fri, 23 Oct 2020 20:28:53 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Oct 2020 11:28:52 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by fmsmga005.fm.intel.com with ESMTP; 23 Oct 2020 11:28:52 -0700"
        ],
        "IronPort-SDR": [
            "\n PQpOaXBhPZO6sLRpmtSH2ZRwPeGwFp9cnNQ61o+P/av3SZCdbO0jGmYdkTG+W+sh8rX0uYYYhr\n xrdx6i2pxKJw==",
            "\n j5mOmeWX9+fr2JUM+h2ni2nyTXg/vrH4GwKlRlg/ZOlKKXujEk8B35Zobm10otK+TGxXpfXpzb\n JxBUqsnFF7gA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9783\"; a=\"231907495\"",
            "E=Sophos;i=\"5.77,409,1596524400\"; d=\"scan'208\";a=\"231907495\"",
            "E=Sophos;i=\"5.77,409,1596524400\"; d=\"scan'208\";a=\"524764123\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Timothy McDaniel <timothy.mcdaniel@intel.com>",
        "To": "",
        "Cc": "dev@dpdk.org, erik.g.carrillo@intel.com, gage.eads@intel.com,\n harry.van.haaren@intel.com, jerinj@marvell.com",
        "Date": "Fri, 23 Oct 2020 13:30:25 -0500",
        "Message-Id": "<1603477826-31374-23-git-send-email-timothy.mcdaniel@intel.com>",
        "X-Mailer": "git-send-email 1.7.10",
        "In-Reply-To": "<1603477826-31374-1-git-send-email-timothy.mcdaniel@intel.com>",
        "References": "<1599855987-25976-2-git-send-email-timothy.mcdaniel@intel.com>\n <1603477826-31374-1-git-send-email-timothy.mcdaniel@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 22/23] event/dlb2: add queue and port release",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "DLB does not support reconfiguring individual queues\nor ports on the fly. The entire device must be reconfigured.\nPreviously allocated port QE and memzone memory\nis freed in this patch.\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\nReviewed-by: Gage Eads <gage.eads@intel.com>\n---\n drivers/event/dlb2/dlb2.c | 24 ++++++++++++++++++++++++\n 1 file changed, 24 insertions(+)",
    "diff": "diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c\nindex 113fedf..4b4719f 100644\n--- a/drivers/event/dlb2/dlb2.c\n+++ b/drivers/event/dlb2/dlb2.c\n@@ -3672,6 +3672,28 @@ dlb2_eventdev_close(struct rte_eventdev *dev)\n }\n \n static void\n+dlb2_eventdev_queue_release(struct rte_eventdev *dev, uint8_t id)\n+{\n+\tRTE_SET_USED(dev);\n+\tRTE_SET_USED(id);\n+\n+\t/* This function intentionally left blank. */\n+}\n+\n+static void\n+dlb2_eventdev_port_release(void *port)\n+{\n+\tstruct dlb2_eventdev_port *ev_port = port;\n+\tstruct dlb2_port *qm_port;\n+\n+\tif (ev_port) {\n+\t\tqm_port = &ev_port->qm_port;\n+\t\tif (qm_port->config_state == DLB2_CONFIGURED)\n+\t\t\tdlb2_free_qe_mem(qm_port);\n+\t}\n+}\n+\n+static void\n dlb2_entry_points_init(struct rte_eventdev *dev)\n {\n \tstruct dlb2_eventdev *dlb2;\n@@ -3685,8 +3707,10 @@ dlb2_entry_points_init(struct rte_eventdev *dev)\n \t\t.dev_close        = dlb2_eventdev_close,\n \t\t.queue_def_conf   = dlb2_eventdev_queue_default_conf_get,\n \t\t.queue_setup      = dlb2_eventdev_queue_setup,\n+\t\t.queue_release    = dlb2_eventdev_queue_release,\n \t\t.port_def_conf    = dlb2_eventdev_port_default_conf_get,\n \t\t.port_setup       = dlb2_eventdev_port_setup,\n+\t\t.port_release     = dlb2_eventdev_port_release,\n \t\t.port_link        = dlb2_eventdev_port_link,\n \t\t.port_unlink      = dlb2_eventdev_port_unlink,\n \t\t.port_unlinks_in_progress =\n",
    "prefixes": [
        "v3",
        "22/23"
    ]
}