get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 91111,
    "url": "http://patches.dpdk.org/api/patches/91111/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210412100645.668395-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": "<20210412100645.668395-2-kda@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210412100645.668395-2-kda@semihalf.com",
    "date": "2021-04-12T10:06:43",
    "name": "[1/3] test: disable no-huge test with PA IOVA",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "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/20210412100645.668395-2-kda@semihalf.com/mbox/",
    "series": [
        {
            "id": 16292,
            "url": "http://patches.dpdk.org/api/series/16292/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16292",
            "date": "2021-04-12T10:06:42",
            "name": "Increase test compatibility with PA IOVA",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/16292/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/91111/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/91111/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 6183FA0C47;\n\tMon, 12 Apr 2021 12:07:04 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E27F614109D;\n\tMon, 12 Apr 2021 12:06:59 +0200 (CEST)",
            "from mail-lf1-f50.google.com (mail-lf1-f50.google.com\n [209.85.167.50])\n by mails.dpdk.org (Postfix) with ESMTP id 24971141086\n for <dev@dpdk.org>; Mon, 12 Apr 2021 12:06:58 +0200 (CEST)",
            "by mail-lf1-f50.google.com with SMTP id w8so11925029lfr.0\n for <dev@dpdk.org>; Mon, 12 Apr 2021 03:06:58 -0700 (PDT)",
            "from toster.semihalf.com (host-193.106.246.139.static.3s.pl.\n [193.106.246.139])\n by smtp.gmail.com with ESMTPSA id u9sm2781326ljj.0.2021.04.12.03.06.57\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 12 Apr 2021 03:06:57 -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=JeSR0IAjH/UqeAAfOKeLhPENhYiIhpWv9/drxp7F4wA=;\n b=GylvM+xvSxvXB4WaxNTXrxo2/SK0VedGBFjzqwEGuuG98vNfEJt9wkpXSwr1rFQmSk\n COzVaTuzXDZv0YI4uOeJnyw3CGi2yzoYn6042oEjApL1yTeAypKExg2Ra7vyl2GBiws1\n G2ORKBC4wMPWXR6SVTsCvuuYm2zZZhA5uU6GU/q4zToNvwpNHZctQuyRMC8J6yuNdfkz\n A5hGq40LQQNyqshMvzVDmvCmnPjq7iTf0ESDYavKhJVPauZ99f2kPVpJuWZnzVqGf8wl\n +8MTJ7dXoOo7bkARZp84tFmQX+kjK7AVK+j5uOtAQNmHkcDsMoQTnwcWF+mgYJ9tpZHw\n 9r/Q==",
        "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=JeSR0IAjH/UqeAAfOKeLhPENhYiIhpWv9/drxp7F4wA=;\n b=QxsTuC+ZfSasA1L4mwg+W8n4R7bAs66BYcoJpM6g+Cjm8MIlM+p5OyEGVfw81zFrP3\n IBCZVlI0BCJWkWRFK6Drt5UcdPpe81jSZ1mpqoA45dnyU5ZpOF+Cyaeqk+ZIha2Q1xGa\n 8Jk0MBbDowx+HRuRvmNmKFQ7wl2CJujeJrK+fEnzqHHplt5LgEYl+Koe0cJVN+LUwMis\n yD/nKwu/hLBjPS6ikSLVtCFN+kTX1YWY8aBiYDB4Ui296rCO87sY5EwQwfXXc4EYBR8r\n CL9GW0ZhDgaYJmcajK2tj/rbUV8tWEVqnIMsGXjCbfTvJhW6G5u/+tBml+oxL+MsLenf\n n/Ww==",
        "X-Gm-Message-State": "AOAM531+g1mPd/5jKMnvHDIx7X+xfQnPafzLFukDx47f5YvlioY4igzn\n FOQgletkjr7BOVkBADw8hfRE7w==",
        "X-Google-Smtp-Source": "\n ABdhPJx+Y3EvND81P5taGebN1bJGbmRPjk5Ru/6VdC9kXgvegMcniOZJX2D1w15LKWbPB/AIfT+MHQ==",
        "X-Received": "by 2002:ac2:515b:: with SMTP id q27mr5969893lfd.584.1618222017728;\n Mon, 12 Apr 2021 03:06:57 -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>,\n\tstable@dpdk.org",
        "Date": "Mon, 12 Apr 2021 12:06:43 +0200",
        "Message-Id": "<20210412100645.668395-2-kda@semihalf.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210412100645.668395-1-kda@semihalf.com>",
        "References": "<20210412100645.668395-1-kda@semihalf.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 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), the IOVA mapping\nwill default to DMA with physical addresses. This implicitly requires\nhugepage support (most prominently for performance reasons).\nTherefore trying to run the eal_flags_no_huge_autotest in such scenario\nis not a valid requirement.\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 available\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>\nCc: stable@dpdk.org\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 932fbe3d0..462dc6384 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": [
        "1/3"
    ]
}