get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113949,
    "url": "https://patches.dpdk.org/api/patches/113949/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220713152848.160523-1-stephen@networkplumber.org/",
    "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": "<20220713152848.160523-1-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220713152848.160523-1-stephen@networkplumber.org",
    "date": "2022-07-13T15:28:48",
    "name": "app/test-eventdev: remove unnecessary memset",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5450aa0ae47e56ea3e9b9688cd7b23d5bee9dbb0",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20220713152848.160523-1-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 23986,
            "url": "https://patches.dpdk.org/api/series/23986/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23986",
            "date": "2022-07-13T15:28:48",
            "name": "app/test-eventdev: remove unnecessary memset",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/23986/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/113949/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/113949/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 C71E1A0032;\n\tWed, 13 Jul 2022 17:28:57 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7C22D4282D;\n\tWed, 13 Jul 2022 17:28:57 +0200 (CEST)",
            "from mail-pj1-f52.google.com (mail-pj1-f52.google.com\n [209.85.216.52]) by mails.dpdk.org (Postfix) with ESMTP id 446394280D\n for <dev@dpdk.org>; Wed, 13 Jul 2022 17:28:54 +0200 (CEST)",
            "by mail-pj1-f52.google.com with SMTP id\n 89-20020a17090a09e200b001ef7638e536so4218186pjo.3\n for <dev@dpdk.org>; Wed, 13 Jul 2022 08:28:54 -0700 (PDT)",
            "from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199])\n by smtp.gmail.com with ESMTPSA id\n b17-20020a17090ae39100b001efbc3ad105sm1728606pjz.54.2022.07.13.08.28.50\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 13 Jul 2022 08:28:51 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=xd1WjYubtEwByBQmWDuBb25Q4eTtqqF3VxAVfbcKKcU=;\n b=OVWg2Re3I01xq2CwoGsubeTziI1HM/jxzF99mnJbvOlN10xWyZI7JKGAFDR9wcn6PQ\n doCzd+JYpVMk70vkAy13dNuv9dCUEbRpppfpLr2TLxrOYGFSD28kknM7bqcSjX4tz2R9\n Hvoy/AoFdPsDUsSDqzihLR+ketdVMn97RRHTjrZYA6JGJCqSTZhOo39olN+rZwFVRbKl\n P/dp8W4BhVrErCbLkoM3lsGVMYqznrdLsRJpesG3xmGEjMKT4wxSKKlcAx6NsiKZjC3E\n Z4/Vmbju4HgCgW9APENUanpXxSZt8ZyPtgnFhCLUk4vE5LrxMAvRRgQ47ldwTWr8kyOT\n zxJQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=xd1WjYubtEwByBQmWDuBb25Q4eTtqqF3VxAVfbcKKcU=;\n b=H26TMju+TDeiR9VT/xtbfFtMxJOfd6gfsi92YA4L4uUroLmOM/+mcJepqC4M/3sgnD\n Swr3t26Yu8+fAs58gWpoLXp/OYmO1kAfgglFehHu4USVMqjHZsv6+GkoWNARPMUQpOKE\n HRMfLpSQXezkxHySo2jACZ59YG1B2ZCJ/9zlWLvwGLbAQcFX1mg/CA1zfQO6fUT9ClvB\n 3oVrAZBA+X6j7WjakOMLv1T3JhkxyxPAPZK2zOEJdRhEHrXrOqYxtzvMk6gBLcVYi4ky\n sJBl3F2MqzyQ9q0eNP88/Fi5t2EWSu4EaQYecKVJR8gyxat3e8wLTIfHUjqqUzDQOpbb\n nJkw==",
        "X-Gm-Message-State": "AJIora9x2zITfaofWJrSgJRZ6vx6+wxzdZK2o5ER7CAw4U53Us5tm5+Z\n BfNZ4UZyBf7ht8WxMnrunoPpiytkB1/93A==",
        "X-Google-Smtp-Source": "\n AGRyM1v4P+rYcZpJdi0Hr1oh8zDqivO+TvzGqITuURh7EmVIxGYQ3v0DA3ExX9ttQ1Rpy96wNwYBxw==",
        "X-Received": "by 2002:a17:90b:3ec5:b0:1f0:3986:4502 with SMTP id\n rm5-20020a17090b3ec500b001f039864502mr4578465pjb.6.1657726133729;\n Wed, 13 Jul 2022 08:28:53 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Jerin Jacob <jerinj@marvell.com>",
        "Subject": "[PATCH] app/test-eventdev: remove unnecessary memset",
        "Date": "Wed, 13 Jul 2022 08:28:48 -0700",
        "Message-Id": "<20220713152848.160523-1-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.35.1",
        "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": "The function rte_event_dev_info_get already zeros the info structure.\nTherefore the test code doesn't need to do it.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test-eventdev/test_order_common.c | 1 -\n app/test-eventdev/test_perf_atq.c     | 1 -\n app/test-eventdev/test_perf_queue.c   | 1 -\n 3 files changed, 3 deletions(-)",
    "diff": "diff --git a/app/test-eventdev/test_order_common.c b/app/test-eventdev/test_order_common.c\nindex 603e7c9178bc..6f00f2448a24 100644\n--- a/app/test-eventdev/test_order_common.c\n+++ b/app/test-eventdev/test_order_common.c\n@@ -328,7 +328,6 @@ order_event_dev_port_setup(struct evt_test *test, struct evt_options *opt,\n \tstruct test_order *t = evt_test_priv(test);\n \tstruct rte_event_dev_info dev_info;\n \n-\tmemset(&dev_info, 0, sizeof(struct rte_event_dev_info));\n \tret = rte_event_dev_info_get(opt->dev_id, &dev_info);\n \tif (ret) {\n \t\tevt_err(\"failed to get eventdev info %d\", opt->dev_id);\ndiff --git a/app/test-eventdev/test_perf_atq.c b/app/test-eventdev/test_perf_atq.c\nindex 5436a9b06cd8..8326f540459f 100644\n--- a/app/test-eventdev/test_perf_atq.c\n+++ b/app/test-eventdev/test_perf_atq.c\n@@ -212,7 +212,6 @@ perf_atq_eventdev_setup(struct evt_test *test, struct evt_options *opt)\n \n \tnb_queues = atq_nb_event_queues(opt);\n \n-\tmemset(&dev_info, 0, sizeof(struct rte_event_dev_info));\n \tret = rte_event_dev_info_get(opt->dev_id, &dev_info);\n \tif (ret) {\n \t\tevt_err(\"failed to get eventdev info %d\", opt->dev_id);\ndiff --git a/app/test-eventdev/test_perf_queue.c b/app/test-eventdev/test_perf_queue.c\nindex 5ef2e5a3ef9c..814ab9f9bd86 100644\n--- a/app/test-eventdev/test_perf_queue.c\n+++ b/app/test-eventdev/test_perf_queue.c\n@@ -215,7 +215,6 @@ perf_queue_eventdev_setup(struct evt_test *test, struct evt_options *opt)\n \n \tnb_queues = perf_queue_nb_event_queues(opt);\n \n-\tmemset(&dev_info, 0, sizeof(struct rte_event_dev_info));\n \tret = rte_event_dev_info_get(opt->dev_id, &dev_info);\n \tif (ret) {\n \t\tevt_err(\"failed to get eventdev info %d\", opt->dev_id);\n",
    "prefixes": []
}