get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 121611,
    "url": "https://patches.dpdk.org/api/patches/121611/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230105122853.144440-1-megha.ajmera@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": "<20230105122853.144440-1-megha.ajmera@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230105122853.144440-1-megha.ajmera@intel.com",
    "date": "2023-01-05T12:28:53",
    "name": "sched: fix for demo failure in debug mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8e1b36b6beae3c73fd1606ab056e1efbae9f7b8d",
    "submitter": {
        "id": 2494,
        "url": "https://patches.dpdk.org/api/people/2494/?format=api",
        "name": "Ajmera, Megha",
        "email": "megha.ajmera@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230105122853.144440-1-megha.ajmera@intel.com/mbox/",
    "series": [
        {
            "id": 26397,
            "url": "https://patches.dpdk.org/api/series/26397/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26397",
            "date": "2023-01-05T12:28:53",
            "name": "sched: fix for demo failure in debug mode",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/26397/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/121611/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/121611/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 B6DC6A00C2;\n\tThu,  5 Jan 2023 13:33:34 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A58EB400D4;\n\tThu,  5 Jan 2023 13:33:34 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 85AA740041;\n Thu,  5 Jan 2023 13:33:33 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 Jan 2023 04:33:32 -0800",
            "from unknown (HELO localhost.localdomain) ([10.190.213.60])\n by orsmga003.jf.intel.com with ESMTP; 05 Jan 2023 04:33:30 -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=1672922013; x=1704458013;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=AGKpBhSdS+7vlBJppqT1ixFCjAixSQW79j9GB1flJ4s=;\n b=F6cytPbNZm6efzh7mvcXFE2N9vSzivJXFAr3lo5rVt00+p0X3zVizdtI\n tcdNygcj5Yg/rMFC6kxp+Lv9bF3lCz25ElscpA3XciYf8cLeY9H3ilqSS\n QCfG2YhNWpwxhumByVyR1OJ4D3Jupmsp1+dUOIodFesPUrpfMuENIbAuX\n 94y4KXAKOuuf6sGWxzyrpWnJQhKe/QMUr9wr3NSo6GjGz6HFhptsU5as+\n 9fpCrRxBecM3CcUxVp89KOVBrKyxJ8TCX/mm1f5TToeypNptVU0mJuNs1\n a6kNLnfI2sHD8lCirwmTLVmy7t++BahtC8y2UGUbjQYprBI7oGvVZWVt+ w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10580\"; a=\"319898805\"",
            "E=Sophos;i=\"5.96,302,1665471600\"; d=\"scan'208\";a=\"319898805\"",
            "E=McAfee;i=\"6500,9779,10580\"; a=\"605532321\"",
            "E=Sophos;i=\"5.96,302,1665471600\"; d=\"scan'208\";a=\"605532321\""
        ],
        "X-ExtLoop1": "1",
        "From": "Megha Ajmera <megha.ajmera@intel.com>",
        "To": "dev@dpdk.org,\n\tjasvinder.singh@intel.com,\n\tcristian.dumitrescu@intel.com",
        "Cc": "stable@dpdk.org",
        "Subject": "[PATCH] sched: fix for demo failure in debug mode",
        "Date": "Thu,  5 Jan 2023 12:28:53 +0000",
        "Message-Id": "<20230105122853.144440-1-megha.ajmera@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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": "This issue is happening due to non-initialization of some\nfields in “rte_eth_rxconf” structure in our application.\nDoing a memset to zero before initialization in HQoS application.\n\nSigned-off-by: Megha Ajmera <megha.ajmera@intel.com>\n---\n examples/qos_sched/init.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/examples/qos_sched/init.c b/examples/qos_sched/init.c\nindex 0709aec10c..d28350e14a 100644\n--- a/examples/qos_sched/init.c\n+++ b/examples/qos_sched/init.c\n@@ -79,6 +79,7 @@ app_init_port(uint16_t portid, struct rte_mempool *mp)\n \tif (app_inited_port_mask & (1u << portid))\n \t\treturn 0;\n \n+\tmemset(&rx_conf, 0, sizeof(struct rte_eth_rxconf));\n \trx_conf.rx_thresh.pthresh = rx_thresh.pthresh;\n \trx_conf.rx_thresh.hthresh = rx_thresh.hthresh;\n \trx_conf.rx_thresh.wthresh = rx_thresh.wthresh;\n@@ -86,6 +87,7 @@ app_init_port(uint16_t portid, struct rte_mempool *mp)\n \trx_conf.rx_drop_en = 0;\n \trx_conf.rx_deferred_start = 0;\n \n+\tmemset(&tx_conf, 0, sizeof(struct rte_eth_txconf));\n \ttx_conf.tx_thresh.pthresh = tx_thresh.pthresh;\n \ttx_conf.tx_thresh.hthresh = tx_thresh.hthresh;\n \ttx_conf.tx_thresh.wthresh = tx_thresh.wthresh;\n",
    "prefixes": []
}