get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 62971,
    "url": "https://patches.dpdk.org/api/patches/62971/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191113214346.33749-1-yasufum.o@gmail.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": "<20191113214346.33749-1-yasufum.o@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191113214346.33749-1-yasufum.o@gmail.com",
    "date": "2019-11-13T21:43:45",
    "name": "[v7,0/1] fbarray: fix duplicated fbarray file in secondary",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1356,
        "url": "https://patches.dpdk.org/api/people/1356/?format=api",
        "name": "Yasufumi Ogawa",
        "email": "yasufum.o@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191113214346.33749-1-yasufum.o@gmail.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/62971/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/62971/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 15E9CA04C4;\n\tWed, 13 Nov 2019 22:43:59 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 84ACD2B86;\n\tWed, 13 Nov 2019 22:43:58 +0100 (CET)",
            "from mail-pf1-f194.google.com (mail-pf1-f194.google.com\n [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 217D02AB;\n Wed, 13 Nov 2019 22:43:57 +0100 (CET)",
            "by mail-pf1-f194.google.com with SMTP id s5so2535379pfh.9;\n Wed, 13 Nov 2019 13:43:57 -0800 (PST)",
            "from localhost.localdomain ([192.47.164.146])\n by smtp.gmail.com with ESMTPSA id r68sm3789538pfr.78.2019.11.13.13.43.53\n (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n Wed, 13 Nov 2019 13:43:54 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references;\n bh=MrBS3u+P5PBFi2sC39HmhfSEPC8/fuAxhULPJPXbvVA=;\n b=oVWNnHXUW0EU0vyGbZrNHEkKkSX/NoIfMxO2mTt7buMt/sEAXgq8fYYZcHm1NELR6D\n 8zilKjLtFcIGg55guDpQtPz49fPT3w1gfLQodUcZvrztS5wkEvo5rdFm2RFDRGDAKToG\n 00lUOsu0CDQ5fTmhiYmC9L+UG6Fp1YF6PehPwlynU/L4VVkJlKJhZRSrVCKASzuxF66j\n OwnMYObvqNpzgNSa3FjoVCoOcwRgxkqwnXuwawuVFAaV1gHcXkddcUUlI/bMRvL7iEgl\n /yJZrQTsDEtT3j4Xd/hyh+3tXtOVL1y1umTnBs7Om2hhqspKg7al7ZfJX3grfFhZoJRW\n YS5g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references;\n bh=MrBS3u+P5PBFi2sC39HmhfSEPC8/fuAxhULPJPXbvVA=;\n b=QlktSycHEJjLNbuRekBh2IYTF703LS5CZ2mlIqKfCawf7ZMxmYHCrPI1yy7J6DY8Fh\n rx32WJOacOocK+rCJ9r7LfComDWQW1+x1tIm8THKklWhTtSg1CXkLF+CCqMM1POhxTSI\n vVXIg1+t5naTjKKPOBHGCRzNCScPgDKTMK/sR7pWkUgwHwWvs7m58aXzBDViQNKKWm+E\n +/jS36L8XbMi2XivuJBIvbV6eLOfswJkRSPfu3JXBr7nxX13JwPU5MnMCe18EtLH+y3O\n 33R4gNbE1b6QmVTGA3E7vAWDWJiPiioMvVIjCnKjq/q6KzH9A+mxiI3oa4f359WBO4Su\n xm0w==",
        "X-Gm-Message-State": "APjAAAUJog51QG+4ret7JPNjoxr8fgLt1y+CNUigNo9q57HpYvk8ZA6i\n 6ugaVlG50HXQ4udRHYGLbak=",
        "X-Google-Smtp-Source": "\n APXvYqy0vpb8ep/7LM5C3ekeI6fKSdmoyOrecyENRL8f0/98pjsVZa55Ajn4anXXcnKEeLoATHii7w==",
        "X-Received": "by 2002:a17:90a:22a6:: with SMTP id\n s35mr7655554pjc.3.1573681435929;\n Wed, 13 Nov 2019 13:43:55 -0800 (PST)",
        "From": "yasufum.o@gmail.com",
        "To": "anatoly.burakov@intel.com, david.marchand@redhat.com,\n konstantin.ananyev@intel.com",
        "Cc": "dev@dpdk.org,\n\tstable@dpdk.org,\n\tyasufum.o@gmail.com",
        "Date": "Thu, 14 Nov 2019 06:43:45 +0900",
        "Message-Id": "<20191113214346.33749-1-yasufum.o@gmail.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190724082031.45546-1-yasufum.o@gmail.com>",
        "References": "<20190724082031.45546-1-yasufum.o@gmail.com>",
        "Subject": "[dpdk-dev] [PATCH v7 0/1] fbarray: fix duplicated fbarray file in\n\tsecondary",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Yasufumi Ogawa <yasufum.o@gmail.com>\n\nIn secondary_msl_create_walk(), it creates a file for fbarrays with its\nPID for reserving unique name among secondary processes. However, it\ndoes not work if several secondaries run as app containers because each\nof containerized secondary has PID 1, and failed to reserve unique name\nother than first one. To reserve unique name in each of containers, use\nhostname in addition to PID.\n\n---\nv2:\n  * fix typo in commit message\nv3:\n  * add fclose() after if getting hostname with fscan() is failed\nv4:\n  * Increase the size of proc_id to 33 and add boundary in calling\n    fscan()\nv5:\n  * revise title to reflect the issue\n  * use gethostname() instead of getting from `etc/hostname`\n  * use HOST_NAME_MAX for size of string for hostname\nv6:\n  * change to use hostname and pid to cover both of host and container\n    cases\n  * change RTE_FBARRAY_NAME_LEN to NAME_MAX to reserve enough size for\n    filename\nv7:\n  * discard changing RTE_FBARRAY_NAME_LEN to NAME_MAX to avoid breaking\n    ABI\n  * introduce int fbarray_sec_name_len instead of RTE_FBARRAY_NAME_LEN\n    to define long filename only for secondary process\n  * replace the order of postfixes of pid and hostname\n---\n\nYasufumi Ogawa (1):\n  fbarray: fix duplicated fbarray file in secondary\n\n lib/librte_eal/linux/eal/eal_memalloc.c | 16 +++++++++++++---\n 1 file changed, 13 insertions(+), 3 deletions(-)",
    "diff": null,
    "prefixes": [
        "v7",
        "0/1"
    ]
}