get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43020,
    "url": "http://patches.dpdk.org/api/patches/43020/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531477505.git.anatoly.burakov@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": "<1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531477505.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531477505.git.anatoly.burakov@intel.com",
    "date": "2018-07-13T10:27:09",
    "name": "[v2,3/9] eal: add support for no-shconf for hugepage info",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "12ffd5980623492b2bc124e5d6770484aed0fbf0",
    "submitter": {
        "id": 4,
        "url": "http://patches.dpdk.org/api/people/4/?format=api",
        "name": "Burakov, Anatoly",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531477505.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 560,
            "url": "http://patches.dpdk.org/api/series/560/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=560",
            "date": "2018-07-13T10:27:06",
            "name": "Support running DPDK without hugetlbfs mountpoint",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/560/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43020/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43020/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 47ABC5F1A;\n\tFri, 13 Jul 2018 12:27:35 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id 7B10B4F90\n\tfor <dev@dpdk.org>; Fri, 13 Jul 2018 12:27:22 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Jul 2018 03:27:20 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga004.jf.intel.com with ESMTP; 13 Jul 2018 03:27:16 -0700",
            "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw6DARG5Y007523; Fri, 13 Jul 2018 11:27:16 +0100",
            "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id w6DARFML028008;\n\tFri, 13 Jul 2018 11:27:15 +0100",
            "(from aburakov@localhost)\n\tby sivswdev01.ir.intel.com with LOCAL id w6DARFow028004;\n\tFri, 13 Jul 2018 11:27:15 +0100"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,347,1526367600\"; d=\"scan'208\";a=\"215716965\"",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>, ray.kinsella@intel.com,\n\tkuralamudhan.ramakrishnan@intel.com, louise.m.daly@intel.com,\n\tferruh.yigit@intel.com, konstantin.ananyev@intel.com, thomas@monjalon.net",
        "Date": "Fri, 13 Jul 2018 11:27:09 +0100",
        "Message-Id": "<1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531477505.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": [
            "<cover.1531477505.git.anatoly.burakov@intel.com>",
            "<cover.1531477505.git.anatoly.burakov@intel.com>"
        ],
        "References": [
            "<cover.1531477505.git.anatoly.burakov@intel.com>",
            "<cover.1527872626.git.anatoly.burakov@intel.com>\n\t<cover.1531477505.git.anatoly.burakov@intel.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v2 3/9] eal: add support for no-shconf for\n\thugepage info",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Do not create any shared hugepage size info files if we were\nasked to not create any shared files.\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n\nNotes:\n    RFC->v1:\n    - Use --no-shconf only\n\n lib/librte_eal/bsdapp/eal/eal_hugepage_info.c   | 4 ++++\n lib/librte_eal/linuxapp/eal/eal_hugepage_info.c | 4 ++++\n 2 files changed, 8 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/bsdapp/eal/eal_hugepage_info.c b/lib/librte_eal/bsdapp/eal/eal_hugepage_info.c\nindex 836feb672..1e8f5df23 100644\n--- a/lib/librte_eal/bsdapp/eal/eal_hugepage_info.c\n+++ b/lib/librte_eal/bsdapp/eal/eal_hugepage_info.c\n@@ -101,6 +101,10 @@ eal_hugepage_info_init(void)\n \thpi->num_pages[0] = num_buffers;\n \thpi->lock_descriptor = fd;\n \n+\t/* for no shared files mode, do not create shared memory config */\n+\tif (internal_config.no_shconf)\n+\t\treturn 0;\n+\n \ttmp_hpi = create_shared_memory(eal_hugepage_info_path(),\n \t\t\tsizeof(internal_config.hugepage_info));\n \tif (tmp_hpi == NULL ) {\ndiff --git a/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c b/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c\nindex 7eca711ba..7f8e2fd9c 100644\n--- a/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c\n+++ b/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c\n@@ -446,6 +446,10 @@ eal_hugepage_info_init(void)\n \tif (hugepage_info_init() < 0)\n \t\treturn -1;\n \n+\t/* for no shared files mode, we're done */\n+\tif (internal_config.no_shconf)\n+\t\treturn 0;\n+\n \thpi = &internal_config.hugepage_info[0];\n \n \ttmp_hpi = create_shared_memory(eal_hugepage_info_path(),\n",
    "prefixes": [
        "v2",
        "3/9"
    ]
}