get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75053,
    "url": "http://patches.dpdk.org/api/patches/75053/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1596138614-17409-3-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": "<1596138614-17409-3-git-send-email-timothy.mcdaniel@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1596138614-17409-3-git-send-email-timothy.mcdaniel@intel.com",
    "date": "2020-07-30T19:49:49",
    "name": "[02/27] eventdev: do not pass disable_implicit_release bit to trace macro",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3f97930b4faf8929fc4aea9432c5cb62cb4ab91d",
    "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/1596138614-17409-3-git-send-email-timothy.mcdaniel@intel.com/mbox/",
    "series": [
        {
            "id": 11425,
            "url": "http://patches.dpdk.org/api/series/11425/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11425",
            "date": "2020-07-30T19:49:47",
            "name": "Add Intel DLM PMD to 20.11",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11425/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75053/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/75053/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 3EEDAA052B;\n\tThu, 30 Jul 2020 21:53:19 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 019E51C00E;\n\tThu, 30 Jul 2020 21:53:07 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by dpdk.org (Postfix) with ESMTP id 50AEAA69\n for <dev@dpdk.org>; Thu, 30 Jul 2020 21:53:05 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Jul 2020 12:53:04 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by orsmga005.jf.intel.com with ESMTP; 30 Jul 2020 12:53:03 -0700"
        ],
        "IronPort-SDR": [
            "\n hbsSpRqMXUqeWDcgoP/fdAOgSdzb6svzF8sDJwm5l0YJFZ0lnaQm4szVs0MJRL4nKhWuUK3bwG\n p5QCyRTyEz4Q==",
            "\n m1DcDnJ+Mk+xx02yn6m4MTh0hL43uzuCoNcmx1QL3H9fUbKFBlO0KUfmLv4/eWbAZxvAbPfpBS\n Qe1TsQCApm1g=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9698\"; a=\"139672283\"",
            "E=Sophos;i=\"5.75,415,1589266800\"; d=\"scan'208\";a=\"139672283\"",
            "E=Sophos;i=\"5.75,415,1589266800\"; d=\"scan'208\";a=\"465378066\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "\"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>",
        "To": "jerinj@marvell.com",
        "Cc": "mattias.ronnblom@ericsson.com, dev@dpdk.org, gage.eads@intel.com,\n harry.van.haaren@intel.com,\n \"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>",
        "Date": "Thu, 30 Jul 2020 14:49:49 -0500",
        "Message-Id": "<1596138614-17409-3-git-send-email-timothy.mcdaniel@intel.com>",
        "X-Mailer": "git-send-email 1.7.10",
        "In-Reply-To": "<1596138614-17409-1-git-send-email-timothy.mcdaniel@intel.com>",
        "References": "<1593232671-5690-0-git-send-email-timothy.mcdaniel@intel.com>\n <1596138614-17409-1-git-send-email-timothy.mcdaniel@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 02/27] eventdev: do not pass\n\tdisable_implicit_release bit to trace macro",
        "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": "From: \"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>\n\nPrevious implementation traced u8 disable_impl_release, which\nis now a bit field contained in the new u32 event_port_cfg\nfield.\n\nSigned-off-by: McDaniel, Timothy <timothy.mcdaniel@intel.com>\n---\n lib/librte_eventdev/rte_event_crypto_adapter.c |    2 +-\n lib/librte_eventdev/rte_event_eth_tx_adapter.c |    5 +++--\n lib/librte_eventdev/rte_eventdev.c             |    3 +--\n lib/librte_eventdev/rte_eventdev_trace.h       |    9 +++++----\n 4 files changed, 10 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/lib/librte_eventdev/rte_event_crypto_adapter.c b/lib/librte_eventdev/rte_event_crypto_adapter.c\nindex 8f25933..2717857 100644\n--- a/lib/librte_eventdev/rte_event_crypto_adapter.c\n+++ b/lib/librte_eventdev/rte_event_crypto_adapter.c\n@@ -269,7 +269,7 @@ struct crypto_queue_pair_info {\n \tevent_crypto_adapter[id] = adapter;\n \n \trte_eventdev_trace_crypto_adapter_create(id, dev_id, adapter, conf_arg,\n-\t\tmode);\n+\t\t\t\t\t\t mode);\n \treturn 0;\n }\n \ndiff --git a/lib/librte_eventdev/rte_event_eth_tx_adapter.c b/lib/librte_eventdev/rte_event_eth_tx_adapter.c\nindex 8a72256..a8a010e 100644\n--- a/lib/librte_eventdev/rte_event_eth_tx_adapter.c\n+++ b/lib/librte_eventdev/rte_event_eth_tx_adapter.c\n@@ -943,8 +943,9 @@ static int txa_service_queue_del(uint8_t id,\n \t\ttxa_dev_id_array[id] = TXA_INVALID_DEV_ID;\n \t\treturn ret;\n \t}\n+\n \trte_eventdev_trace_eth_tx_adapter_create(id, dev_id, NULL, port_conf,\n-\t\tret);\n+\t\t\t\t\t\t ret);\n \ttxa_dev_id_array[id] = dev_id;\n \treturn 0;\n }\n@@ -987,7 +988,7 @@ static int txa_service_queue_del(uint8_t id,\n \t}\n \n \trte_eventdev_trace_eth_tx_adapter_create(id, dev_id, conf_cb, conf_arg,\n-\t\tret);\n+\t\t\t\t\t\t ret);\n \ttxa_dev_id_array[id] = dev_id;\n \treturn 0;\n }\ndiff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c\nindex db2f9b7..550de73 100644\n--- a/lib/librte_eventdev/rte_eventdev.c\n+++ b/lib/librte_eventdev/rte_eventdev.c\n@@ -816,6 +816,7 @@\n \t\tdiag = rte_event_port_unlink(dev_id, port_id, NULL, 0);\n \n \trte_eventdev_trace_port_setup(dev_id, port_id, port_conf, diag);\n+\n \tif (diag < 0)\n \t\treturn diag;\n \n@@ -1425,10 +1426,8 @@ struct rte_eventdev *\n \t\teventdev->data = eventdev_data;\n \n \t\tif (rte_eal_process_type() == RTE_PROC_PRIMARY) {\n-\n \t\t\tstrlcpy(eventdev->data->name, name,\n \t\t\t\tRTE_EVENTDEV_NAME_MAX_LEN);\n-\n \t\t\teventdev->data->dev_id = dev_id;\n \t\t\teventdev->data->socket_id = socket_id;\n \t\t\teventdev->data->dev_started = 0;\ndiff --git a/lib/librte_eventdev/rte_eventdev_trace.h b/lib/librte_eventdev/rte_eventdev_trace.h\nindex 4de6341..5dd72d9 100644\n--- a/lib/librte_eventdev/rte_eventdev_trace.h\n+++ b/lib/librte_eventdev/rte_eventdev_trace.h\n@@ -53,13 +53,14 @@\n RTE_TRACE_POINT(\n \trte_eventdev_trace_port_setup,\n \tRTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,\n-\t\tconst struct rte_event_port_conf *port_conf, int rc),\n+\t\tconst struct rte_event_port_conf *port_conf,\n+\t\tint rc),\n \trte_trace_point_emit_u8(dev_id);\n \trte_trace_point_emit_u8(port_id);\n \trte_trace_point_emit_i32(port_conf->new_event_threshold);\n \trte_trace_point_emit_u16(port_conf->dequeue_depth);\n \trte_trace_point_emit_u16(port_conf->enqueue_depth);\n-\trte_trace_point_emit_u8(port_conf->disable_implicit_release);\n+\trte_trace_point_emit_u32(port_conf->event_port_cfg);\n \trte_trace_point_emit_int(rc);\n )\n \n@@ -165,7 +166,7 @@\n \trte_trace_point_emit_i32(port_conf->new_event_threshold);\n \trte_trace_point_emit_u16(port_conf->dequeue_depth);\n \trte_trace_point_emit_u16(port_conf->enqueue_depth);\n-\trte_trace_point_emit_u8(port_conf->disable_implicit_release);\n+\trte_trace_point_emit_u32(port_conf->event_port_cfg);\n \trte_trace_point_emit_ptr(conf_cb);\n \trte_trace_point_emit_int(rc);\n )\n@@ -257,7 +258,7 @@\n \trte_trace_point_emit_i32(port_conf->new_event_threshold);\n \trte_trace_point_emit_u16(port_conf->dequeue_depth);\n \trte_trace_point_emit_u16(port_conf->enqueue_depth);\n-\trte_trace_point_emit_u8(port_conf->disable_implicit_release);\n+\trte_trace_point_emit_u32(port_conf->event_port_cfg);\n )\n \n RTE_TRACE_POINT(\n",
    "prefixes": [
        "02/27"
    ]
}