get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43048,
    "url": "http://patches.dpdk.org/api/patches/43048/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531485955.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.1531485955.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531485955.git.anatoly.burakov@intel.com",
    "date": "2018-07-13T12:47:59",
    "name": "[v3,3/8] eal: add support for no-shconf for hugepage info",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "12ffd5980623492b2bc124e5d6770484aed0fbf0",
    "submitter": {
        "id": 4,
        "url": "http://patches.dpdk.org/api/people/4/?format=api",
        "name": "Anatoly Burakov",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531485955.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 564,
            "url": "http://patches.dpdk.org/api/series/564/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=564",
            "date": "2018-07-13T12:47:56",
            "name": "Support running DPDK without hugetlbfs mountpoint",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/564/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43048/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43048/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 3973D4C8C;\n\tFri, 13 Jul 2018 14:48:23 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 42C092C2F\n\tfor <dev@dpdk.org>; Fri, 13 Jul 2018 14:48:12 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Jul 2018 05:48:10 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 13 Jul 2018 05:48:05 -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\tw6DCm4RG016836; Fri, 13 Jul 2018 13:48:04 +0100",
            "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id w6DCm41S006250;\n\tFri, 13 Jul 2018 13:48:04 +0100",
            "(from aburakov@localhost)\n\tby sivswdev01.ir.intel.com with LOCAL id w6DCm4Yv006246;\n\tFri, 13 Jul 2018 13:48:04 +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=\"72469314\"",
        "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 13:47:59 +0100",
        "Message-Id": "<1657ee590afbaddc3fb66c3dbcddd767bf45b6e5.1531485955.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": [
            "<cover.1531485955.git.anatoly.burakov@intel.com>",
            "<cover.1531485955.git.anatoly.burakov@intel.com>"
        ],
        "References": [
            "<cover.1531485955.git.anatoly.burakov@intel.com>",
            "<cover.1531477505.git.anatoly.burakov@intel.com>\n\t<cover.1531485955.git.anatoly.burakov@intel.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v3 3/8] 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": [
        "v3",
        "3/8"
    ]
}