get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 17105,
    "url": "https://patches.dpdk.org/api/patches/17105/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1479735457-147785-1-git-send-email-jasvinder.singh@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": "<1479735457-147785-1-git-send-email-jasvinder.singh@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1479735457-147785-1-git-send-email-jasvinder.singh@intel.com",
    "date": "2016-11-21T13:37:37",
    "name": "[dpdk-dev] examples/ip_pipeline: fix load balancing function in pass-through pipeline",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "caa8c2dcd648e6ba3d925fdfcaadcd33aea0a4de",
    "submitter": {
        "id": 285,
        "url": "https://patches.dpdk.org/api/people/285/?format=api",
        "name": "Jasvinder Singh",
        "email": "jasvinder.singh@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/1479735457-147785-1-git-send-email-jasvinder.singh@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/17105/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/17105/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 3171B2BB0;\n\tMon, 21 Nov 2016 14:30:06 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id D02AC2A5D\n\tfor <dev@dpdk.org>; Mon, 21 Nov 2016 14:30:03 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby orsmga105.jf.intel.com with ESMTP; 21 Nov 2016 05:30:02 -0800",
            "from sie-lab-212-251.ir.intel.com (HELO\n\tsilpixa00381635.ir.intel.com) ([10.237.212.251])\n\tby FMSMGA003.fm.intel.com with ESMTP; 21 Nov 2016 05:30:01 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.31,675,1473145200\"; d=\"scan'208\";a=\"789065786\"",
        "From": "Jasvinder Singh <jasvinder.singh@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "cristian.dumitrescu@intel.com",
        "Date": "Mon, 21 Nov 2016 13:37:37 +0000",
        "Message-Id": "<1479735457-147785-1-git-send-email-jasvinder.singh@intel.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "Subject": "[dpdk-dev] [PATCH] examples/ip_pipeline: fix load balancing\n\tfunction in pass-through pipeline",
        "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": "This patch fixes the configuration file parsing error when load balancing\nfunction is enabled in pass-through pipeline.\n\nerror log:\npipeline> [APP] Initializing PIPELINE1 ...\n[PIPELINE1] Pass-through\nParse error in section \"PIPELINE1\": entry \"lb\" has invalid value (\"hash\")\n\nFixes: cbe82f6cfb0a (\"examples/ip_pipeline: add swap action in pass-through\")\n\nSigned-off-by: Jasvinder Singh <jasvinder.singh@intel.com>\n---\n examples/ip_pipeline/pipeline/pipeline_passthrough_be.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c b/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c\nindex 8b71a7d..7ab0afe 100644\n--- a/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c\n+++ b/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c\n@@ -589,7 +589,7 @@ pipeline_passthrough_parse_args(struct pipeline_passthrough_params *p,\n \t\t\t\tparams->name, arg_name);\n \t\t\tdma_hash_lb_present = 1;\n \n-\t\t\tif (strcmp(arg_value, \"hash\") ||\n+\t\t\tif (strcmp(arg_value, \"hash\") &&\n \t\t\t\tstrcmp(arg_value, \"HASH\"))\n \n \t\t\t\tPIPELINE_PARSE_ERR_INV_VAL(0,\n",
    "prefixes": [
        "dpdk-dev"
    ]
}