get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 93876,
    "url": "http://patches.dpdk.org/api/patches/93876/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210604141601.275430-2-kda@semihalf.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": "<20210604141601.275430-2-kda@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210604141601.275430-2-kda@semihalf.com",
    "date": "2021-06-04T14:15:59",
    "name": "[v2,1/3] test: disable no-huge test with PA IOVA",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "fa57c9743ae0eb6357877d751493750fe145a8f0",
    "submitter": {
        "id": 2179,
        "url": "http://patches.dpdk.org/api/people/2179/?format=api",
        "name": "Stanislaw Kardach",
        "email": "kda@semihalf.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210604141601.275430-2-kda@semihalf.com/mbox/",
    "series": [
        {
            "id": 17237,
            "url": "http://patches.dpdk.org/api/series/17237/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=17237",
            "date": "2021-06-04T14:15:58",
            "name": "Increase test compatibility with PA IOVA",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/17237/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/93876/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/93876/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 19E10A0A0F;\n\tFri,  4 Jun 2021 16:16:36 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2050F410E8;\n\tFri,  4 Jun 2021 16:16:31 +0200 (CEST)",
            "from mail-lj1-f178.google.com (mail-lj1-f178.google.com\n [209.85.208.178])\n by mails.dpdk.org (Postfix) with ESMTP id 9BF6740147\n for <dev@dpdk.org>; Fri,  4 Jun 2021 16:16:28 +0200 (CEST)",
            "by mail-lj1-f178.google.com with SMTP id a4so11736775ljq.9\n for <dev@dpdk.org>; Fri, 04 Jun 2021 07:16:28 -0700 (PDT)",
            "from localhost.localdomain (89-73-146-138.dynamic.chello.pl.\n [89.73.146.138])\n by smtp.gmail.com with ESMTPSA id h13sm706377lji.101.2021.06.04.07.16.27\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 04 Jun 2021 07:16:28 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=semihalf-com.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=nWM65qHNUPWHZsTGjbMZydesPi2LEU7qwReJC3lKwQ0=;\n b=vMuBoIxfcisbcKo0aXGkb6MAb+hsVrGfBSWZYqvYBnT5+cXclsRv8UCVMMq1NPaESX\n wfvjbk5/cT+p353e6bLGMND7ShiSM/EQkWdQsvQtd4VLiolLwZFEDEfnms8MmcD1Yl47\n 6MXuJo6fcPadR8meVv8c6DfA9xtBDpnvY0xfWs848DdMXYo0kfYcSHvtk9SEkYrne1fo\n uXtX2lv4x0zsXuP2qcjG9HUDLrqMmkjV4GvA/5q3D5O9aIeW9lET5e0H6VvDLwfoJUDq\n K+Rq5in+1tB9DnkVw+chWVbHfyp8r6y7RLbst3T8C1saAkrZs60dl4TAlmNeHhd5AjS1\n sM7g==",
        "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:mime-version:content-transfer-encoding;\n bh=nWM65qHNUPWHZsTGjbMZydesPi2LEU7qwReJC3lKwQ0=;\n b=VSY+U7TuOcI5tWqBa+E4DuaDg1mXQpIRmwi2jjS/YmHP+ab3TMXtxSgOLGlhyXviJD\n MeVnqipG6sG5tkA76BUmVhO+MaeOt+V51HquFoxTCsNSq4zerzfJlNugSXOTK7cU82wN\n PnRnOrEp3Zp3QJEhwRA2qhZi/6NfXIhFhOTq2SSpUOTHSF3NxopLlpRZIuUaxSZVTLwT\n IrKCze+Z3PclIl3gzAAvd2SpovrTrsQZWcaoqj0ov+AexxZgDfY8NogGTcbkHobBFQQw\n XZ6aeZldcYwgeicOVY+4awWLTIOCAXyZT5mwB06r2gjSvoa5Fv7er3pN2YIQsWx6m1w5\n HlTg==",
        "X-Gm-Message-State": "AOAM53080Wk363aMaVKR6fpCnJC6WhYBFRD3G3Xmdhs6ldWEtdlwFBKN\n WqCptOvgZX3dvlVhbyAkFCvOWoGImxe8Dw==",
        "X-Google-Smtp-Source": "\n ABdhPJzAKhqNsaImofwN/TukiHurJ7BOh1VEDPrAwRpCQhEcnppbToYavhQdjtfqOCqiOClC2VxT8w==",
        "X-Received": "by 2002:a2e:8ed1:: with SMTP id e17mr3498145ljl.503.1622816188209;\n Fri, 04 Jun 2021 07:16:28 -0700 (PDT)",
        "From": "Stanislaw Kardach <kda@semihalf.com>",
        "To": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "Cc": "dev@dpdk.org,\n\tStanislaw Kardach <kda@semihalf.com>",
        "Date": "Fri,  4 Jun 2021 16:15:59 +0200",
        "Message-Id": "<20210604141601.275430-2-kda@semihalf.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210604141601.275430-1-kda@semihalf.com>",
        "References": "<20210604141601.275430-1-kda@semihalf.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 1/3] test: disable no-huge test with PA IOVA",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "On Linux systems without IOMMU support available (be it lack of\nsupported IOMMU or lack of IOMMU support in kernel or explicit --no-huge\nEAL parameter), the IOVA mapping will default to DMA with physical\naddresses. This implicitly requires hugepage support to work (checked in\nrte_eal_using_phys_addrs).\nTherefore trying to run the eal_flags_no_huge_autotest in such scenario\nis not a valid requirement. This issue was discovered on RISC-V arch.\n\nTo verify this even on x86 do (output from i5-10210U):\n\n$ ./app/test/dpdk-test -m 18 --iova-mode=pa --no-huge\nEAL: Detected 8 lcore(s)\nEAL: Detected 1 NUMA nodes\nEAL: Detected static linkage of DPDK\nEAL: Multi-process socket /var/run/dpdk/rte/mp_socket\nEAL: FATAL: Cannot use IOVA as 'PA' since physical addresses are not ...\nEAL: Cannot use IOVA as 'PA' since physical addresses are not available\n\nWhile doing:\n\n$ sudo ./app/test/dpdk-test --iova-mode=pa\nEAL: Detected 8 lcore(s)\nEAL: Detected 1 NUMA nodes\nEAL: Detected static linkage of DPDK\nEAL: Multi-process socket /var/run/dpdk/rte/mp_socket\nEAL: Selected IOVA mode 'PA'\nEAL: No available 1048576 kB hugepages reported\nEAL: Probing VFIO support...\nEAL: VFIO support initialized\nTELEMETRY: No legacy callbacks, legacy socket not created\nAPP: HPET is not enabled, using TSC as default timer\nRTE>>\n\nThis commit finishes the above test early with SKIP status to signify\nthat no-huge support is simply not available.\n\nSigned-off-by: Stanislaw Kardach <kda@semihalf.com>\n---\n app/test/test_eal_flags.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c\nindex 932fbe3d08..462dc63842 100644\n--- a/app/test/test_eal_flags.c\n+++ b/app/test/test_eal_flags.c\n@@ -756,6 +756,15 @@ test_no_huge_flag(void)\n #else\n \tconst char * prefix = \"--file-prefix=nohuge\";\n #endif\n+#ifdef RTE_EXEC_ENV_LINUX\n+\t/* EAL requires hugepages for RTE_IOVA_PA operation on linux.\n+\t * The test application is run with RTE_IOVA_DC, so if at this point we\n+\t * get RTE_IOVA_PA, it means that newly spawned process will also get\n+\t * it.\n+\t */\n+\tif (rte_eal_iova_mode() == RTE_IOVA_PA)\n+\t\treturn TEST_SKIPPED;\n+#endif\n \n \t/* With --no-huge */\n \tconst char *argv1[] = {prgname, prefix, no_huge};\n",
    "prefixes": [
        "v2",
        "1/3"
    ]
}