get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83001,
    "url": "https://patches.dpdk.org/api/patches/83001/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1604082458-15368-12-git-send-email-timothy.mcdaniel@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": "<1604082458-15368-12-git-send-email-timothy.mcdaniel@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1604082458-15368-12-git-send-email-timothy.mcdaniel@intel.com",
    "date": "2020-10-30T18:27:26",
    "name": "[v10,11/23] event/dlb: add queue and port default conf",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c04bb31a0398195702951979b100956957a26cbd",
    "submitter": {
        "id": 826,
        "url": "https://patches.dpdk.org/api/people/826/?format=api",
        "name": "Timothy McDaniel",
        "email": "timothy.mcdaniel@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/1604082458-15368-12-git-send-email-timothy.mcdaniel@intel.com/mbox/",
    "series": [
        {
            "id": 13508,
            "url": "https://patches.dpdk.org/api/series/13508/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13508",
            "date": "2020-10-30T18:27:15",
            "name": "Add DLB PMD",
            "version": 10,
            "mbox": "https://patches.dpdk.org/series/13508/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/83001/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/83001/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 1962CA04E6;\n\tFri, 30 Oct 2020 19:29:24 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D3F7A66DB;\n\tFri, 30 Oct 2020 19:26:24 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by dpdk.org (Postfix) with ESMTP id C700054AE\n for <dev@dpdk.org>; Fri, 30 Oct 2020 19:26:02 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Oct 2020 11:26:00 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by FMSMGA003.fm.intel.com with ESMTP; 30 Oct 2020 11:26:00 -0700"
        ],
        "IronPort-SDR": [
            "\n KnMWFM4NiAt74gNqqar3Qu0zdlsAEw0wjfl/jq/pXCrnutmbTushLZXpdZOGEkIJQlYM6TD6sS\n /r0Z0TYR6+JA==",
            "\n HbDjysKcLCYXuPqzIBj/QLbvViqbSuCVJpcNeLPprNDvU68XOBnHBq78csEbVvC/HIuMYT4lLb\n O/CK4GdBtEAg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9790\"; a=\"155624177\"",
            "E=Sophos;i=\"5.77,434,1596524400\"; d=\"scan'208\";a=\"155624177\"",
            "E=Sophos;i=\"5.77,434,1596524400\"; d=\"scan'208\";a=\"361926420\""
        ],
        "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, thomas@monjalon.net",
        "Date": "Fri, 30 Oct 2020 13:27:26 -0500",
        "Message-Id": "<1604082458-15368-12-git-send-email-timothy.mcdaniel@intel.com>",
        "X-Mailer": "git-send-email 1.7.10",
        "In-Reply-To": "<1604082458-15368-1-git-send-email-timothy.mcdaniel@intel.com>",
        "References": "<20200612212434.6852-2-timothy.mcdaniel@intel.com>\n <1604082458-15368-1-git-send-email-timothy.mcdaniel@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v10 11/23] event/dlb: add queue and port default\n\tconf",
        "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": "Add support for getting the queue and port default configuration.\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\nReviewed-by: Gage Eads <gage.eads@intel.com>\n---\n drivers/event/dlb/dlb.c | 29 +++++++++++++++++++++++++++++\n 1 file changed, 29 insertions(+)",
    "diff": "diff --git a/drivers/event/dlb/dlb.c b/drivers/event/dlb/dlb.c\nindex c038794..e98a438 100644\n--- a/drivers/event/dlb/dlb.c\n+++ b/drivers/event/dlb/dlb.c\n@@ -630,6 +630,33 @@ dlb_eventdev_configure(const struct rte_eventdev *dev)\n \treturn 0;\n }\n \n+static void\n+dlb_eventdev_port_default_conf_get(struct rte_eventdev *dev,\n+\t\t\t\t   uint8_t port_id,\n+\t\t\t\t   struct rte_event_port_conf *port_conf)\n+{\n+\tRTE_SET_USED(port_id);\n+\tstruct dlb_eventdev *dlb = dlb_pmd_priv(dev);\n+\n+\tport_conf->new_event_threshold = dlb->new_event_limit;\n+\tport_conf->dequeue_depth = 32;\n+\tport_conf->enqueue_depth = DLB_MAX_ENQUEUE_DEPTH;\n+\tport_conf->event_port_cfg = 0;\n+}\n+\n+static void\n+dlb_eventdev_queue_default_conf_get(struct rte_eventdev *dev,\n+\t\t\t\t    uint8_t queue_id,\n+\t\t\t\t    struct rte_event_queue_conf *queue_conf)\n+{\n+\tRTE_SET_USED(dev);\n+\tRTE_SET_USED(queue_id);\n+\tqueue_conf->nb_atomic_flows = 1024;\n+\tqueue_conf->nb_atomic_order_sequences = 32;\n+\tqueue_conf->event_queue_cfg = 0;\n+\tqueue_conf->priority = 0;\n+}\n+\n static int\n set_dev_id(const char *key __rte_unused,\n \t   const char *value,\n@@ -706,6 +733,8 @@ dlb_entry_points_init(struct rte_eventdev *dev)\n \tstatic struct rte_eventdev_ops dlb_eventdev_entry_ops = {\n \t\t.dev_infos_get    = dlb_eventdev_info_get,\n \t\t.dev_configure    = dlb_eventdev_configure,\n+\t\t.queue_def_conf   = dlb_eventdev_queue_default_conf_get,\n+\t\t.port_def_conf    = dlb_eventdev_port_default_conf_get,\n \t\t.dump             = dlb_eventdev_dump,\n \t\t.xstats_get       = dlb_eventdev_xstats_get,\n \t\t.xstats_get_names = dlb_eventdev_xstats_get_names,\n",
    "prefixes": [
        "v10",
        "11/23"
    ]
}