get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56409,
    "url": "http://patches.dpdk.org/api/patches/56409/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/493e71dafcaac5b4a9388e3139a2b7fec465b06d.1562942880.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": "<493e71dafcaac5b4a9388e3139a2b7fec465b06d.1562942880.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/493e71dafcaac5b4a9388e3139a2b7fec465b06d.1562942880.git.anatoly.burakov@intel.com",
    "date": "2019-07-12T14:48:08",
    "name": "eal/bsd: fix config creation",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "89e14902923762d88d26dc4a6a152cc2dce3ad4d",
    "submitter": {
        "id": 4,
        "url": "http://patches.dpdk.org/api/people/4/?format=api",
        "name": "Anatoly Burakov",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/493e71dafcaac5b4a9388e3139a2b7fec465b06d.1562942880.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 5478,
            "url": "http://patches.dpdk.org/api/series/5478/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5478",
            "date": "2019-07-12T14:48:08",
            "name": "eal/bsd: fix config creation",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/5478/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/56409/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/56409/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 DE8D41BDE6;\n\tFri, 12 Jul 2019 16:48:12 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id CB96F1BD66\n\tfor <dev@dpdk.org>; Fri, 12 Jul 2019 16:48:11 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t12 Jul 2019 07:48:10 -0700",
            "from silpixa00399498.ir.intel.com (HELO\n\tsilpixa00399498.ger.corp.intel.com) ([10.237.223.125])\n\tby orsmga008.jf.intel.com with ESMTP; 12 Jul 2019 07:48:09 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,482,1557212400\"; d=\"scan'208\";a=\"160411182\"",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Date": "Fri, 12 Jul 2019 15:48:08 +0100",
        "Message-Id": "<493e71dafcaac5b4a9388e3139a2b7fec465b06d.1562942880.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] eal/bsd: fix config creation",
        "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": "The config create function did not store the mem config address in\nthe shared memconfig structure, so the secondary processes couldn't\nmap it at the requred address.\n\nFixes: b149a7064261 (\"eal/freebsd: add config reattach in secondary process\")\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n lib/librte_eal/freebsd/eal/eal.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/freebsd/eal/eal.c b/lib/librte_eal/freebsd/eal/eal.c\nindex 13ca1202c..d53f0fe69 100644\n--- a/lib/librte_eal/freebsd/eal/eal.c\n+++ b/lib/librte_eal/freebsd/eal/eal.c\n@@ -266,6 +266,11 @@ rte_eal_config_create(void)\n \tmemcpy(rte_mem_cfg_addr, &early_mem_config, sizeof(early_mem_config));\n \trte_config.mem_config = rte_mem_cfg_addr;\n \n+\t/* store address of the config in the config itself so that secondary\n+\t * processes could later map the config into this exact location\n+\t */\n+\trte_config.mem_config->mem_cfg_addr = (uintptr_t) rte_mem_cfg_addr;\n+\n \treturn 0;\n }\n \n",
    "prefixes": []
}