get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96942,
    "url": "http://patches.dpdk.org/api/patches/96942/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210816070943.26807-2-ndabilpuram@marvell.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": "<20210816070943.26807-2-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210816070943.26807-2-ndabilpuram@marvell.com",
    "date": "2021-08-16T07:09:42",
    "name": "[2/2] app/testpmd: fix verbose mode dump for Tx",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e1252821674a229ebe5de10bf00d272dcd688c2e",
    "submitter": {
        "id": 1202,
        "url": "http://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210816070943.26807-2-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 18293,
            "url": "http://patches.dpdk.org/api/series/18293/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=18293",
            "date": "2021-08-16T07:09:41",
            "name": "[1/2] app/testpmd: fix csumonly mode when run without outer chksum",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/18293/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/96942/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/96942/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 B4303A0C46;\n\tMon, 16 Aug 2021 09:09:58 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 212A54113F;\n\tMon, 16 Aug 2021 09:09:55 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 9736D41145;\n Mon, 16 Aug 2021 09:09:53 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id\n 17FMNmus009204;\n Mon, 16 Aug 2021 00:09:52 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 3af0ptj3k2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Mon, 16 Aug 2021 00:09:52 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Mon, 16 Aug 2021 00:09:51 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Mon, 16 Aug 2021 00:09:51 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 533F43F705D;\n Mon, 16 Aug 2021 00:09:49 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-type; s=pfpt0220; bh=kZStKAo36hoBDiqJcTKtWUGa6ecCEqEwRUbFkhUK+6k=;\n b=IlnSnbJfk/Tbxu2y4RfVB5CRSceDCprTrvMo+5G4pQNzZVmNnYmzXXg6/v0vywIxgG09\n LBx6+6qp5IKjO+FTxAC4Ka4fQ6pUmCzCy+bQKdjUKMQGhD0p/p/VsIki2wL5fAqIiCFK\n CKFZyhSRCdFKAt3lIEbhzoFCqrDSA9vwxAhnzh4YM8IRfZHxHbvTQvjZPE3LJgrhU3+N\n LaJZw3Tz8HmmVzZggbjsYAKlmfDMMPZCJNSsdJdKBW7e90pYPkKtdKS66FetFE8EFcRa\n YZ4+4CBAkx5ZYnbYhrmGZ2eX0gsFQ8ykW8ALUuDKwFVvXf1FIplAL6hvE4viXq6xy9Cy lw==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "Xiaoyun Li <xiaoyun.li@intel.com>",
        "CC": "<jerinj@marvell.com>, <dev@dpdk.org>, Nithin Dabilpuram\n <ndabilpuram@marvell.com>, <rasland@mellanox.com>, <stable@dpdk.org>",
        "Date": "Mon, 16 Aug 2021 12:39:42 +0530",
        "Message-ID": "<20210816070943.26807-2-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20210816070943.26807-1-ndabilpuram@marvell.com>",
        "References": "<20210816070943.26807-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "lHTHz54cDssG6R3autgSC4aEVzCGkPmp",
        "X-Proofpoint-ORIG-GUID": "lHTHz54cDssG6R3autgSC4aEVzCGkPmp",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-08-16_02,2021-08-13_02,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH 2/2] app/testpmd: fix verbose mode dump for Tx",
        "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": "Fix verbose mode dump for Tx to dump tx offload flags instead of\nRx offload flags.\n\nFixes: d862c45b5955 (\"app/testpmd: move dumping packets to a separate function\")\nCc: rasland@mellanox.com\nCc: stable@dpdk.org\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n app/test-pmd/util.c | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-pmd/util.c b/app/test-pmd/util.c\nindex 5dd7157..14a9a25 100644\n--- a/app/test-pmd/util.c\n+++ b/app/test-pmd/util.c\n@@ -275,7 +275,11 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[],\n \t\t\t  \" - %s queue=0x%x\", is_rx ? \"Receive\" : \"Send\",\n \t\t\t  (unsigned int) queue);\n \t\tMKDUMPSTR(print_buf, buf_size, cur_len, \"\\n\");\n-\t\trte_get_rx_ol_flag_list(mb->ol_flags, buf, sizeof(buf));\n+\t\tif (is_rx)\n+\t\t\trte_get_rx_ol_flag_list(mb->ol_flags, buf, sizeof(buf));\n+\t\telse\n+\t\t\trte_get_tx_ol_flag_list(mb->ol_flags, buf, sizeof(buf));\n+\n \t\tMKDUMPSTR(print_buf, buf_size, cur_len,\n \t\t\t  \"  ol_flags: %s\\n\", buf);\n \t\tif (rte_mbuf_check(mb, 1, &reason) < 0)\n",
    "prefixes": [
        "2/2"
    ]
}