get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7901,
    "url": "https://patches.dpdk.org/api/patches/7901/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1445522584-24294-3-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": "<1445522584-24294-3-git-send-email-jasvinder.singh@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1445522584-24294-3-git-send-email-jasvinder.singh@intel.com",
    "date": "2015-10-22T14:03:03",
    "name": "[dpdk-dev,v4,2/2] librte_cfgfile(rte_cfgfile.h): modify the macros values",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "83fa5380b14d1d9708b0774b99435abdf3768741",
    "submitter": {
        "id": 285,
        "url": "https://patches.dpdk.org/api/people/285/?format=api",
        "name": "Jasvinder Singh",
        "email": "jasvinder.singh@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1445522584-24294-3-git-send-email-jasvinder.singh@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7901/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7901/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 AD549C314;\n\tThu, 22 Oct 2015 16:03:13 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 5803CC30A\n\tfor <dev@dpdk.org>; Thu, 22 Oct 2015 16:03:12 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga103.jf.intel.com with ESMTP; 22 Oct 2015 07:03:06 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 22 Oct 2015 07:03:05 -0700",
            "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt9ME34YE024865; Thu, 22 Oct 2015 15:03:04 +0100",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t9ME34Gg024343;\n\tThu, 22 Oct 2015 15:03:04 +0100",
            "(from jasvinde@localhost)\n\tby sivswdev02.ir.intel.com with  id t9ME34Xk024339;\n\tThu, 22 Oct 2015 15:03:04 +0100"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,182,1444719600\"; d=\"scan'208\";a=\"800207064\"",
        "From": "Jasvinder Singh <jasvinder.singh@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 22 Oct 2015 15:03:03 +0100",
        "Message-Id": "<1445522584-24294-3-git-send-email-jasvinder.singh@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1445522584-24294-1-git-send-email-jasvinder.singh@intel.com>",
        "References": "<1441364325-4965-1-git-send-email-jasvinder.singh@intel.com>\n\t<1445522584-24294-1-git-send-email-jasvinder.singh@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 2/2] librte_cfgfile(rte_cfgfile.h): modify the\n\tmacros values",
        "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 refers to the ABI change proposed for\nlibrte_cfgfile(rte_cfgfile.h). In order to allow\nfor longer names and values, the values of macro\nCFG_NAME_LEN and CFG_VAL_LEN is increased.\n\nSigned-off-by: Jasvinder Singh <jasvinder.singh@intel.com>\n---\n doc/guides/rel_notes/deprecation.rst | 4 ----\n doc/guides/rel_notes/release_2_2.rst | 6 +++++-\n lib/librte_cfgfile/Makefile          | 2 +-\n lib/librte_cfgfile/rte_cfgfile.h     | 9 +++++++--\n 4 files changed, 13 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex 018a119..a391ff0 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -41,10 +41,6 @@ Deprecation Notices\n * The scheduler statistics structure will change to allow keeping track of\n   RED actions.\n \n-* librte_cfgfile: In order to allow for longer names and values,\n-  the value of macros CFG_NAME_LEN and CFG_NAME_VAL will be increased.\n-  Most likely, the new values will be 64 and 256, respectively.\n-\n * librte_table: New functions for table entry bulk add/delete will be added\n   to the table operations structure.\n \ndiff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst\nindex 4f75cff..3c85c92 100644\n--- a/doc/guides/rel_notes/release_2_2.rst\n+++ b/doc/guides/rel_notes/release_2_2.rst\n@@ -117,6 +117,10 @@ ABI Changes\n * librte_port: Macros to access the packet meta-data stored within the packet\n   buffer has been adjusted to cover the packet mbuf structure.\n \n+* librte_cfgfile: In order to allow for longer names and values,\n+  the value of macros CFG_NAME_LEN and CFG_VALUE_LEN is increased,\n+  the new values are 64 and 256, respectively.\n+\n \n Shared Library Versions\n -----------------------\n@@ -127,7 +131,7 @@ The libraries prepended with a plus sign were incremented in this version.\n \n    + libethdev.so.2\n    + librte_acl.so.2\n-     librte_cfgfile.so.1\n+     librte_cfgfile.so.2\n      librte_cmdline.so.1\n      librte_distributor.so.1\n    + librte_eal.so.2\ndiff --git a/lib/librte_cfgfile/Makefile b/lib/librte_cfgfile/Makefile\nindex 032c240..616aef0 100644\n--- a/lib/librte_cfgfile/Makefile\n+++ b/lib/librte_cfgfile/Makefile\n@@ -41,7 +41,7 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_cfgfile_version.map\n \n-LIBABIVER := 1\n+LIBABIVER := 2\n \n #\n # all source are stored in SRCS-y\ndiff --git a/lib/librte_cfgfile/rte_cfgfile.h b/lib/librte_cfgfile/rte_cfgfile.h\nindex 7c9fc91..d443782 100644\n--- a/lib/librte_cfgfile/rte_cfgfile.h\n+++ b/lib/librte_cfgfile/rte_cfgfile.h\n@@ -47,8 +47,13 @@ extern \"C\" {\n *\n ***/\n \n-#define CFG_NAME_LEN 32\n-#define CFG_VALUE_LEN 64\n+#ifndef CFG_NAME_LEN\n+#define CFG_NAME_LEN 64\n+#endif\n+\n+#ifndef CFG_VALUE_LEN\n+#define CFG_VALUE_LEN 256\n+#endif\n \n /** Configuration file */\n struct rte_cfgfile;\n",
    "prefixes": [
        "dpdk-dev",
        "v4",
        "2/2"
    ]
}