get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 620,
    "url": "http://patches.dpdk.org/api/patches/620/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/DF2A19295B96364286FEB7F3DDA27A4601060A94@SHSMSX101.ccr.corp.intel.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": "<DF2A19295B96364286FEB7F3DDA27A4601060A94@SHSMSX101.ccr.corp.intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/DF2A19295B96364286FEB7F3DDA27A4601060A94@SHSMSX101.ccr.corp.intel.com",
    "date": "2014-09-29T02:51:20",
    "name": "[dpdk-dev,v2,4/5] i40e: set crc stripping in rx queue configuration",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "fe7b2874f856f8536c0015f2528e53957e11365e",
    "submitter": {
        "id": 82,
        "url": "http://patches.dpdk.org/api/people/82/?format=api",
        "name": "Xu, HuilongX",
        "email": "huilongx.xu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/DF2A19295B96364286FEB7F3DDA27A4601060A94@SHSMSX101.ccr.corp.intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/620/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/620/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 2E7725902;\n\tMon, 29 Sep 2014 04:44:52 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 927EF11F5\n\tfor <dev@dpdk.org>; Mon, 29 Sep 2014 04:44:50 +0200 (CEST)",
            "from azsmga001.ch.intel.com ([10.2.17.19])\n\tby orsmga101.jf.intel.com with ESMTP; 28 Sep 2014 19:51:23 -0700",
            "from fmsmsx103.amr.corp.intel.com ([10.18.124.201])\n\tby azsmga001.ch.intel.com with ESMTP; 28 Sep 2014 19:51:22 -0700",
            "from FMSMSX110.amr.corp.intel.com (10.18.116.10) by\n\tFMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP\n\tServer (TLS) id 14.3.195.1; Sun, 28 Sep 2014 19:51:22 -0700",
            "from shsmsx102.ccr.corp.intel.com (10.239.4.154) by\n\tfmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP\n\tServer (TLS) id 14.3.195.1; Sun, 28 Sep 2014 19:51:21 -0700",
            "from shsmsx101.ccr.corp.intel.com ([169.254.1.203]) by\n\tshsmsx102.ccr.corp.intel.com ([169.254.2.192]) with mapi id\n\t14.03.0195.001; Mon, 29 Sep 2014 10:51:20 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.04,617,1406617200\"; d=\"scan'208\";a=\"480627993\"",
        "From": "\"Xu, HuilongX\" <huilongx.xu@intel.com>",
        "To": "\"Zhang, Helin\" <helin.zhang@intel.com>, \"dev@dpdk.org\" <dev@dpdk.org>",
        "Thread-Topic": "[dpdk-dev] [PATCH v2 4/5] i40e: set crc stripping in rx queue\n\tconfiguration",
        "Thread-Index": "AQHP0CsYjXaO8GPs/kKiWa46IuURtJwXeg2A",
        "Date": "Mon, 29 Sep 2014 02:51:20 +0000",
        "Message-ID": "<DF2A19295B96364286FEB7F3DDA27A4601060A94@SHSMSX101.ccr.corp.intel.com>",
        "References": "<1410706109-30448-1-git-send-email-helin.zhang@intel.com>\n\t<1410706109-30448-5-git-send-email-helin.zhang@intel.com>",
        "In-Reply-To": "<1410706109-30448-5-git-send-email-helin.zhang@intel.com>",
        "Accept-Language": "en-US",
        "Content-Language": "en-US",
        "X-MS-Has-Attach": "",
        "X-MS-TNEF-Correlator": "",
        "x-originating-ip": "[10.239.127.40]",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "quoted-printable",
        "MIME-Version": "1.0",
        "Subject": "Re: [dpdk-dev] [PATCH v2 4/5] i40e: set crc stripping in rx\n\tqueue\tconfiguration",
        "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": "Tested-by: HuilongX xu <huilongx.xu@intel.com>\n\nThis patch has been verified on FC20 with eagle fountain:4*10G fortville, spirit falls 1*40G fortville and 2*40G fortville.\nThe VF is greater by SRIOV, and testpmd should be run on host to support  VF work on VM.\n\nCRC stripping function works well in the testpmd app in VM and host.\n\nTest environment information detail information as the following:\nHOST environment:\nCPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz\nOS: Linux 3.11.10-301.fc20.x86_64    \nGCC: 4.8.3\nNIC: Eagle Fountain:4*10G fortville, Spirit Falls 1*40G fortville and 2*40G fortville.\n\nVM environment generated by KVM:\nCPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz\nOS: Linux 3.11.10-301.fc20.x86_64\nGCC: 4.8.2\nNIC: VF generated through SRIOV   \n\n-----Original Message-----\nFrom: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Helin Zhang\nSent: Sunday, September 14, 2014 10:48 PM\nTo: dev@dpdk.org\nSubject: [dpdk-dev] [PATCH v2 4/5] i40e: set crc stripping in rx queue configuration\n\nIt enables/disables the crc stripping in the rx queue contexts,\naccording to the extra configuration carried from VF.\n\nv2 changes:\n* Put setting the crc stripping into a single patch.\n\nSigned-off-by: Helin Zhang <helin.zhang@intel.com>\nReviewed-by: Jingjing Wu <jingjing.wu@intel.com>\nReviewed-by: Jing Chen <jing.d.chen@intel.com>\n---\n lib/librte_pmd_i40e/i40e_pf.c | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_pmd_i40e/i40e_pf.c b/lib/librte_pmd_i40e/i40e_pf.c\nindex bc9bfcb..2910fd5 100644\n--- a/lib/librte_pmd_i40e/i40e_pf.c\n+++ b/lib/librte_pmd_i40e/i40e_pf.c\n@@ -357,7 +357,10 @@ i40e_pf_host_hmc_config_rxq(struct i40e_hw *hw,\n \trx_ctx.tphdata_ena = 1;\n \trx_ctx.tphhead_ena = 1;\n \trx_ctx.lrxqthresh = 2;\n-\trx_ctx.crcstrip = 1;\n+\tif (qpei) /* For DPDK PF host */\n+\t\trx_ctx.crcstrip = qpei->crcstrip ? 1 : 0;\n+\telse /* For Linux PF host */\n+\t\trx_ctx.crcstrip = 1;\n \trx_ctx.l2tsel = 1;\n \trx_ctx.prefena = 1;\n \n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "4/5"
    ]
}