get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 135060,
    "url": "http://patches.dpdk.org/api/patches/135060/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231212113223.31147-2-bruce.richardson@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": "<20231212113223.31147-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231212113223.31147-2-bruce.richardson@intel.com",
    "date": "2023-12-12T11:32:15",
    "name": "[v3,1/9] eventdev: add capability flags for supported sched types",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "f4afb47966516d35f30bae84120900f525468255",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@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/20231212113223.31147-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 30523,
            "url": "http://patches.dpdk.org/api/series/30523/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30523",
            "date": "2023-12-12T11:32:17",
            "name": "document scheduling types for eventdev drivers",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/30523/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/135060/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/135060/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 71F68436D2;\n\tTue, 12 Dec 2023 12:32:38 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 490E942E1B;\n\tTue, 12 Dec 2023 12:32:38 +0100 (CET)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 252124026E\n for <dev@dpdk.org>; Tue, 12 Dec 2023 12:32:35 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Dec 2023 03:32:35 -0800",
            "from silpixa00401316.ir.intel.com (HELO\n silpixa00401385.ir.intel.com) ([10.237.214.22])\n by orsmga007.jf.intel.com with ESMTP; 12 Dec 2023 03:32:34 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1702380756; x=1733916756;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=XxL+lwTbbj5h3+fPgAZHVUzH/LFKC2Y5KfeSxtqxMhk=;\n b=KMdYwbJFdxh5v3WL81wXFjb1TowDVLdE1kDn5JTnKNKuohNskoskpj5Z\n z+V47jFnvWo274NPbib5SeDUOYnTLYLdEyHMTuSfBJO37F7dSK/KGMua+\n D/j4eLVLKeLU8MbRLg19Xqhccrh8Y62upIdKpre4Q852V/A8N6EX6ef6I\n GjkbA5l5CM7lqmBu/XWG9flFIpiZuevpm7eOr0MkZ7twjG3JStjYPggTt\n d47rFeubnv0dHzpbB09anToU2cxa+cQiATVI3J51JpPQ3NuxOJQFaa9bM\n KUy4R7DguKzB2L5XQJL0weWGn3nrt3W6vWa2VgcgcPfS6RJkAtu6fsFg3 g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10921\"; a=\"398635840\"",
            "E=Sophos;i=\"6.04,270,1695711600\"; d=\"scan'208\";a=\"398635840\"",
            "E=McAfee;i=\"6600,9927,10921\"; a=\"766794685\"",
            "E=Sophos;i=\"6.04,270,1695711600\"; d=\"scan'208\";a=\"766794685\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "jerinj@marvell.com,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH v3 1/9] eventdev: add capability flags for supported sched\n types",
        "Date": "Tue, 12 Dec 2023 11:32:15 +0000",
        "Message-Id": "<20231212113223.31147-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.40.1",
        "In-Reply-To": "<20231212113223.31147-1-bruce.richardson@intel.com>",
        "References": "<20231120172606.505579-1-bruce.richardson@intel.com>\n <20231212113223.31147-1-bruce.richardson@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": "Not all eventdev's support all scheduling types, for example, some may\nonly support atomic scheduling or others only support ordered\nscheduling. There is currently no clear indication for each driver what\nsched types it supports, so add capability flags to be indicated on\nreturn from rte_event_dev_info_get() API.\n\nSimilarly add the possible scheduling types to the capabilities table in\nthe docs.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Jerin Jacob <jerinj@marvell.com>\n---\n doc/guides/eventdevs/features/default.ini |  3 +++\n lib/eventdev/rte_eventdev.h               | 21 +++++++++++++++++++++\n 2 files changed, 24 insertions(+)",
    "diff": "diff --git a/doc/guides/eventdevs/features/default.ini b/doc/guides/eventdevs/features/default.ini\nindex e980ae134a..1cc4303fe5 100644\n--- a/doc/guides/eventdevs/features/default.ini\n+++ b/doc/guides/eventdevs/features/default.ini\n@@ -6,6 +6,9 @@\n ; the features table in the documentation.\n ;\n [Scheduling Features]\n+atomic_scheduling          =\n+ordered_scheduling         =\n+parallel_scheduling        =\n queue_qos                  =\n event_qos                  =\n distributed_sched          =\ndiff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h\nindex ec9b02455d..d48957362c 100644\n--- a/lib/eventdev/rte_eventdev.h\n+++ b/lib/eventdev/rte_eventdev.h\n@@ -326,6 +326,27 @@ struct rte_event;\n  * than one.\n  */\n \n+#define RTE_EVENT_DEV_CAP_ATOMIC  (1ULL << 13)\n+/**< Event device is capable of atomic scheduling.\n+ * When this flag is set, the application can configure queues with scheduling type\n+ * atomic on this event device.\n+ * @see RTE_SCHED_TYPE_ATOMIC\n+ */\n+\n+#define RTE_EVENT_DEV_CAP_ORDERED  (1ULL << 14)\n+/**< Event device is capable of ordered scheduling.\n+ * When this flag is set, the application can configure queues with scheduling type\n+ * ordered on this event device.\n+ * @see RTE_SCHED_TYPE_ORDERED\n+ */\n+\n+#define RTE_EVENT_DEV_CAP_PARALLEL  (1ULL << 15)\n+/**< Event device is capable of parallel scheduling.\n+ * When this flag is set, the application can configure queues with scheduling type\n+ * parallel on this event device.\n+ * @see RTE_SCHED_TYPE_PARALLEL\n+ */\n+\n /* Event device priority levels */\n #define RTE_EVENT_DEV_PRIORITY_HIGHEST   0\n /**< Highest priority expressed across eventdev subsystem\n",
    "prefixes": [
        "v3",
        "1/9"
    ]
}