get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 98429,
    "url": "https://patches.dpdk.org/api/patches/98429/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210909125422.31144-3-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-3-harry.van.haaren@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210909125422.31144-3-harry.van.haaren@intel.com",
    "date": "2021-09-09T12:54:22",
    "name": "[2/2] examples/eventdev_pipeline: use port config hints",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "48c82621bbdfb5db852b26e1e96f1c9335cbc37f",
    "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-3-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/98429/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/98429/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 3660AA0547;\n\tThu,  9 Sep 2021 14:54:40 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B7E3A4115F;\n\tThu,  9 Sep 2021 14:54:31 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 431AB4114B\n for <dev@dpdk.org>; Thu,  9 Sep 2021 14:54:30 +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:29 -0700",
            "from silpixa00401089.ir.intel.com ([10.55.129.12])\n by fmsmga001.fm.intel.com with ESMTP; 09 Sep 2021 05:54:28 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10101\"; a=\"200306300\"",
            "E=Sophos;i=\"5.85,280,1624345200\"; d=\"scan'208\";a=\"200306300\"",
            "E=Sophos;i=\"5.85,280,1624345200\"; d=\"scan'208\";a=\"606824701\""
        ],
        "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:22 +0000",
        "Message-Id": "<20210909125422.31144-3-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 2/2] examples/eventdev_pipeline: use port config\n hints",
        "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 adds the per-port hints added to the eventdev API, indicating\nwhich eventdev ports will be used for producing, forwarding, or consuming\nevents from the system.\n\nSigned-off-by: Harry van Haaren <harry.van.haaren@intel.com>\n---\n examples/eventdev_pipeline/pipeline_worker_generic.c | 2 ++\n examples/eventdev_pipeline/pipeline_worker_tx.c      | 2 ++\n 2 files changed, 4 insertions(+)",
    "diff": "diff --git a/examples/eventdev_pipeline/pipeline_worker_generic.c b/examples/eventdev_pipeline/pipeline_worker_generic.c\nindex f70ab0cc9e..8f43d1f71e 100644\n--- a/examples/eventdev_pipeline/pipeline_worker_generic.c\n+++ b/examples/eventdev_pipeline/pipeline_worker_generic.c\n@@ -139,6 +139,7 @@ setup_eventdev_generic(struct worker_data *worker_data)\n \t\t\t.dequeue_depth = cdata.worker_cq_depth,\n \t\t\t.enqueue_depth = 64,\n \t\t\t.new_event_threshold = 4096,\n+\t\t\t.event_port_cfg = RTE_EVENT_PORT_CFG_HINT_WORKER,\n \t};\n \tstruct rte_event_queue_conf wkr_q_conf = {\n \t\t\t.schedule_type = cdata.queue_type,\n@@ -419,6 +420,7 @@ init_adapters(uint16_t nb_ports)\n \t\t.dequeue_depth = cdata.worker_cq_depth,\n \t\t.enqueue_depth = 64,\n \t\t.new_event_threshold = 4096,\n+\t\t.event_port_cfg = RTE_EVENT_PORT_CFG_HINT_PRODUCER,\n \t};\n \n \tif (adptr_p_conf.new_event_threshold > dev_info.max_num_events)\ndiff --git a/examples/eventdev_pipeline/pipeline_worker_tx.c b/examples/eventdev_pipeline/pipeline_worker_tx.c\nindex ca6cd200ca..ad17451a04 100644\n--- a/examples/eventdev_pipeline/pipeline_worker_tx.c\n+++ b/examples/eventdev_pipeline/pipeline_worker_tx.c\n@@ -446,6 +446,7 @@ setup_eventdev_worker_tx_enq(struct worker_data *worker_data)\n \t\t\t.dequeue_depth = cdata.worker_cq_depth,\n \t\t\t.enqueue_depth = 64,\n \t\t\t.new_event_threshold = 4096,\n+\t\t\t.event_port_cfg = RTE_EVENT_PORT_CFG_HINT_WORKER,\n \t};\n \tstruct rte_event_queue_conf wkr_q_conf = {\n \t\t\t.schedule_type = cdata.queue_type,\n@@ -747,6 +748,7 @@ init_adapters(uint16_t nb_ports)\n \t\t.dequeue_depth = cdata.worker_cq_depth,\n \t\t.enqueue_depth = 64,\n \t\t.new_event_threshold = 4096,\n+\t\t.event_port_cfg = RTE_EVENT_PORT_CFG_HINT_PRODUCER,\n \t};\n \n \tinit_ports(nb_ports);\n",
    "prefixes": [
        "2/2"
    ]
}