get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 98428,
    "url": "https://patches.dpdk.org/api/patches/98428/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210909125422.31144-2-harry.van.haaren@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20210909125422.31144-2-harry.van.haaren@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210909125422.31144-2-harry.van.haaren@intel.com",
    "date": "2021-09-09T12:54:21",
    "name": "[1/2] lib/eventdev: add usage hints to port configure API",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1e8d71eeb621f039b296c16b81f4fba705797fa5",
    "submitter": {
        "id": 317,
        "url": "https://patches.dpdk.org/api/people/317/?format=api",
        "name": "Van Haaren, Harry",
        "email": "harry.van.haaren@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210909125422.31144-2-harry.van.haaren@intel.com/mbox/",
    "series": [
        {
            "id": 18793,
            "url": "https://patches.dpdk.org/api/series/18793/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=18793",
            "date": "2021-09-09T12:54:20",
            "name": "eventdev: add port usage hints",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/18793/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/98428/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/98428/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 EC232A0547;\n\tThu,  9 Sep 2021 14:54:34 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AEA294114F;\n\tThu,  9 Sep 2021 14:54:30 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 936154003E\n for <dev@dpdk.org>; Thu,  9 Sep 2021 14:54:28 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Sep 2021 05:54:28 -0700",
            "from silpixa00401089.ir.intel.com ([10.55.129.12])\n by fmsmga001.fm.intel.com with ESMTP; 09 Sep 2021 05:54:27 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10101\"; a=\"200306295\"",
            "E=Sophos;i=\"5.85,280,1624345200\"; d=\"scan'208\";a=\"200306295\"",
            "E=Sophos;i=\"5.85,280,1624345200\"; d=\"scan'208\";a=\"606824698\""
        ],
        "X-ExtLoop1": "1",
        "From": "Harry van Haaren <harry.van.haaren@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "pravin.pathak@intel.com, timothy.mcdaniel@intel.com,\n Harry van Haaren <harry.van.haaren@intel.com>",
        "Date": "Thu,  9 Sep 2021 12:54:21 +0000",
        "Message-Id": "<20210909125422.31144-2-harry.van.haaren@intel.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210909125422.31144-1-harry.van.haaren@intel.com>",
        "References": "<20210909125422.31144-1-harry.van.haaren@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/2] lib/eventdev: add usage hints to port\n configure API",
        "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": "This commit introduces 3 flags to the port configuration flags.\nThese flags allow the application to indicate what type of work\nis expected to be performed by an eventdev port.\n\nThe three new flags are\n- RTE_EVENT_PORT_CFG_HINT_PRODUCER (mostly RTE_EVENT_OP_NEW events)\n- RTE_EVENT_PORT_CFG_HINT_CONSUMER (mostly RTE_EVENT_OP_RELEASE events)\n- RTE_EVENT_PORT_CFG_HINT_WORKER   (mostly RTE_EVENT_OP_FORWARD events)\n\nThese flags are only hints, and the PMDs must operate under the\nassumption that any port can enqueue an event with any type of op.\n\nSigned-off-by: Harry van Haaren <harry.van.haaren@intel.com>\n---\n lib/eventdev/rte_eventdev.h | 23 +++++++++++++++++++++++\n 1 file changed, 23 insertions(+)",
    "diff": "diff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h\nindex a9c496fb62..159b580938 100644\n--- a/lib/eventdev/rte_eventdev.h\n+++ b/lib/eventdev/rte_eventdev.h\n@@ -709,6 +709,29 @@ rte_event_queue_attr_get(uint8_t dev_id, uint8_t queue_id, uint32_t attr_id,\n  *\n  *  @see rte_event_port_setup(), rte_event_port_link()\n  */\n+#define RTE_EVENT_PORT_CFG_HINT_PRODUCER       (1ULL << 2)\n+/**< Hint that this event port will primarily enqueue events to the system.\n+ * A PMD can optimize its internal workings by assuming that this port is\n+ * primarily going to enqueue NEW events. Note that this flag is only a hint.\n+ *\n+ *  @see rte_event_port_setup()\n+ */\n+#define RTE_EVENT_PORT_CFG_HINT_CONSUMER       (1ULL << 3)\n+/**< Hint that this event port will primarily dequeue events from the system.\n+ * A PMD can optimize its internal workings by assuming that this port is\n+ * primarily going to consume events, and not enqueue FORWARD or RELEASE events.\n+ * Note that this flag is only a hint.\n+ *\n+ *  @see rte_event_port_setup()\n+ */\n+#define RTE_EVENT_PORT_CFG_HINT_WORKER         (1ULL << 4)\n+/**< Hint that this event port will primarily events to the system.\n+ * A PMD can optimize its internal workings by assuming that this port is\n+ * primarily going to FORWARD events, and not enqueue NEW or RELEASE events\n+ * often. Note that this flag is only a hint.\n+ *\n+ *  @see rte_event_port_setup()\n+ */\n \n /** Event port configuration structure */\n struct rte_event_port_conf {\n",
    "prefixes": [
        "1/2"
    ]
}