get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 16448,
    "url": "https://patches.dpdk.org/api/patches/16448/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1475856318-24616-9-git-send-email-olivier.matz@6wind.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": "<1475856318-24616-9-git-send-email-olivier.matz@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1475856318-24616-9-git-send-email-olivier.matz@6wind.com",
    "date": "2016-10-07T16:05:18",
    "name": "[dpdk-dev,v5,8/8] app/testpmd: hide segsize when unrelevant in csum engine",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "94a1d89626b356ab4c5ecff6f6b0c6d3281599db",
    "submitter": {
        "id": 8,
        "url": "https://patches.dpdk.org/api/people/8/?format=api",
        "name": "Olivier Matz",
        "email": "olivier.matz@6wind.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/1475856318-24616-9-git-send-email-olivier.matz@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/16448/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/16448/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id BB3BC6CA8;\n\tFri,  7 Oct 2016 18:05:51 +0200 (CEST)",
            "from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com\n\t[62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 8A10D58EC\n\tfor <dev@dpdk.org>; Fri,  7 Oct 2016 18:05:38 +0200 (CEST)",
            "from glumotte.dev.6wind.com (unknown [10.16.0.195])\n\tby proxy.6wind.com (Postfix) with ESMTP id 71C78293CB;\n\tFri,  7 Oct 2016 18:05:38 +0200 (CEST)"
        ],
        "From": "Olivier Matz <olivier.matz@6wind.com>",
        "To": "dev@dpdk.org,\n\tpablo.de.lara.guarch@intel.com",
        "Date": "Fri,  7 Oct 2016 18:05:18 +0200",
        "Message-Id": "<1475856318-24616-9-git-send-email-olivier.matz@6wind.com>",
        "X-Mailer": "git-send-email 2.8.1",
        "In-Reply-To": "<1475856318-24616-1-git-send-email-olivier.matz@6wind.com>",
        "References": "<1473407734-11253-1-git-send-email-olivier.matz@6wind.com>\n\t<1475856318-24616-1-git-send-email-olivier.matz@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v5 8/8] app/testpmd: hide segsize when unrelevant\n\tin csum engine",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When TSO is not asked, hide the segment size.\n\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n app/test-pmd/csumonly.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c\nindex 2057633..d5eb260 100644\n--- a/app/test-pmd/csumonly.c\n+++ b/app/test-pmd/csumonly.c\n@@ -808,7 +808,7 @@ pkt_burst_checksum_forward(struct fwd_stream *fs)\n \t\t\t\t(testpmd_ol_flags & TESTPMD_TX_OFFLOAD_OUTER_IP_CKSUM))\n \t\t\t\tprintf(\"tx: m->outer_l2_len=%d m->outer_l3_len=%d\\n\",\n \t\t\t\t\tm->outer_l2_len, m->outer_l3_len);\n-\t\t\tif (info.tso_segsz != 0)\n+\t\t\tif (info.tso_segsz != 0 && (m->ol_flags & PKT_TX_TCP_SEG))\n \t\t\t\tprintf(\"tx: m->tso_segsz=%d\\n\", m->tso_segsz);\n \t\t\trte_get_tx_ol_flag_list(m->ol_flags, buf, sizeof(buf));\n \t\t\tprintf(\"tx: flags=%s\", buf);\n",
    "prefixes": [
        "dpdk-dev",
        "v5",
        "8/8"
    ]
}