get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2330,
    "url": "https://patches.dpdk.org/api/patches/2330/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421375468-18083-3-git-send-email-jijiang.liu@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": "<1421375468-18083-3-git-send-email-jijiang.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421375468-18083-3-git-send-email-jijiang.liu@intel.com",
    "date": "2015-01-16T02:31:08",
    "name": "[dpdk-dev,2/2] app/testpmd:csum fwd engine change",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "962f2099eaa887451b8c3f5f6ee93d04945bce1e",
    "submitter": {
        "id": 52,
        "url": "https://patches.dpdk.org/api/people/52/?format=api",
        "name": "Jijiang Liu",
        "email": "jijiang.liu@intel.com"
    },
    "delegate": {
        "id": 24,
        "url": "https://patches.dpdk.org/api/users/24/?format=api",
        "username": "helin_zhang",
        "first_name": "Helin",
        "last_name": "Zhang",
        "email": "helin.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421375468-18083-3-git-send-email-jijiang.liu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2330/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2330/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 0047D5A7F;\n\tFri, 16 Jan 2015 03:31:26 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id CBA375A85\n\tfor <dev@dpdk.org>; Fri, 16 Jan 2015 03:31:20 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga103.fm.intel.com with ESMTP; 15 Jan 2015 18:25:59 -0800",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby FMSMGA003.fm.intel.com with ESMTP; 15 Jan 2015 18:18:20 -0800",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t0G2VGnR018631;\n\tFri, 16 Jan 2015 10:31:16 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t0G2VEM3018133; Fri, 16 Jan 2015 10:31:16 +0800",
            "(from jijiangl@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t0G2VE9P018129; \n\tFri, 16 Jan 2015 10:31:14 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"4.97,862,1389772800\"; d=\"scan'208\";a=\"441199150\"",
        "From": "Jijiang Liu <jijiang.liu@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 16 Jan 2015 10:31:08 +0800",
        "Message-Id": "<1421375468-18083-3-git-send-email-jijiang.liu@intel.com>",
        "X-Mailer": "git-send-email 1.7.12.2",
        "In-Reply-To": "<1421375468-18083-1-git-send-email-jijiang.liu@intel.com>",
        "References": "<1421375468-18083-1-git-send-email-jijiang.liu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 2/2] app/testpmd:csum fwd engine change",
        "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": "change the palce of setting UDP tunneling packet offload flag.\n\nSigned-off-by: Jijiang Liu <jijiang.liu@intel.com>\n---\n app/test-pmd/csumonly.c |    7 ++++---\n 1 files changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c\nindex 41711fd..57afdfc 100644\n--- a/app/test-pmd/csumonly.c\n+++ b/app/test-pmd/csumonly.c\n@@ -256,9 +256,6 @@ process_outer_cksums(void *outer_l3_hdr, uint16_t outer_ethertype,\n \tstruct udp_hdr *udp_hdr;\n \tuint64_t ol_flags = 0;\n \n-\tif (testpmd_ol_flags & TESTPMD_TX_OFFLOAD_VXLAN_CKSUM)\n-\t\tol_flags |= PKT_TX_UDP_TUNNEL_PKT;\n-\n \tif (outer_ethertype == _htons(ETHER_TYPE_IPv4)) {\n \t\tipv4_hdr->hdr_checksum = 0;\n \n@@ -392,6 +389,10 @@ pkt_burst_checksum_forward(struct fwd_stream *fs)\n \t\t\t\ttunnel = 1;\n \n \t\t\tif (tunnel == 1) {\n+\t\t\t\tif (testpmd_ol_flags &\n+\t\t\t\t\tTESTPMD_TX_OFFLOAD_VXLAN_CKSUM)\n+\t\t\t\t\tol_flags |= PKT_TX_UDP_TUNNEL_PKT;\n+\n \t\t\t\touter_ethertype = ethertype;\n \t\t\t\touter_l2_len = l2_len;\n \t\t\t\touter_l3_len = l3_len;\n",
    "prefixes": [
        "dpdk-dev",
        "2/2"
    ]
}