get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107332,
    "url": "http://patches.dpdk.org/api/patches/107332/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220211125659.27350-1-zhiminx.huang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20220211125659.27350-1-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220211125659.27350-1-zhiminx.huang@intel.com",
    "date": "2022-02-11T12:56:57",
    "name": "[V1,1/3] test_plans/asan_smoke_test_plan:add asan smoke test plan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "c4f285f27b4a0327968c81af7002ee65dc188d4d",
    "submitter": {
        "id": 1685,
        "url": "http://patches.dpdk.org/api/people/1685/?format=api",
        "name": "Huang, ZhiminX",
        "email": "zhiminx.huang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220211125659.27350-1-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 21621,
            "url": "http://patches.dpdk.org/api/series/21621/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=21621",
            "date": "2022-02-11T12:56:57",
            "name": "[V1,1/3] test_plans/asan_smoke_test_plan:add asan smoke test plan",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/21621/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/107332/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/107332/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 2FCA0A00BE;\n\tFri, 11 Feb 2022 05:30:36 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 04EFC410E5;\n\tFri, 11 Feb 2022 05:30:36 +0100 (CET)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 6928840DF5\n for <dts@dpdk.org>; Fri, 11 Feb 2022 05:30:34 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Feb 2022 20:30:33 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.251.93])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Feb 2022 20:30:31 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1644553834; x=1676089834;\n h=from:to:cc:subject:date:message-id;\n bh=Y4wGEwSs2hAu27Q4r9i018GE7N5u9Z8/YwNtzdp90YI=;\n b=THoviFeV2wqdHKPyXi0iT749B0dbpIaPU3RnGrLOyt+XBjp3p5EXrwy6\n 6EEqAQ+R0zSV5IQ46roRUfkrdxyen5p0rfaJ69BdHoiVh4IsyUL4UiP4E\n G292xjQglWWFRBWiK8iqwDwyaVStJE+dd5GPeBH9Ykm/gamZD37GL7V/W\n NWJi2Yz89rEQJPqbNTb0yTb1eYQvjnQ0WeEnAyEkoluoGYuY8qidJ7n0z\n WegFpzG8WN3Sgz0RqZ8YTed83/iGXuMuzL52QO39MpEag1JWyRUHxmRRd\n yzJ+cx9PdihrtWqU8+S+a34rj3tdFukl/AvD2Jj0jMFGajORAmRjXQaQc A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10254\"; a=\"336079969\"",
            "E=Sophos;i=\"5.88,359,1635231600\"; d=\"scan'208\";a=\"336079969\"",
            "E=Sophos;i=\"5.88,359,1635231600\"; d=\"scan'208\";a=\"526808582\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Subject": "[dts] [PATCH V1 1/3] test_plans/asan_smoke_test_plan:add asan smoke\n test plan",
        "Date": "Fri, 11 Feb 2022 20:56:57 +0800",
        "Message-Id": "<20220211125659.27350-1-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "add asan smoke test plan.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n test_plans/asan_smoke_test_plan.rst | 74 +++++++++++++++++++++++++++++\n 1 file changed, 74 insertions(+)\n create mode 100644 test_plans/asan_smoke_test_plan.rst",
    "diff": "diff --git a/test_plans/asan_smoke_test_plan.rst b/test_plans/asan_smoke_test_plan.rst\nnew file mode 100644\nindex 00000000..e7d05a19\n--- /dev/null\n+++ b/test_plans/asan_smoke_test_plan.rst\n@@ -0,0 +1,74 @@\n+.. Copyright (c) <2022>, Intel Corporation\n+   All rights reserved.\n+\n+   Redistribution and use in source and binary forms, with or without\n+   modification, are permitted provided that the following conditions\n+   are met:\n+\n+   - Redistributions of source code must retain the above copyright\n+     notice, this list of conditions and the following disclaimer.\n+\n+   - Redistributions in binary form must reproduce the above copyright\n+     notice, this list of conditions and the following disclaimer in\n+     the documentation and/or other materials provided with the\n+     distribution.\n+\n+   - Neither the name of Intel Corporation nor the names of its\n+     contributors may be used to endorse or promote products derived\n+     from this software without specific prior written permission.\n+\n+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n+   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n+   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n+   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n+   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n+   OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+===========================\n+AddressSanitizer Smoke Test\n+===========================\n+\n+Description\n+===========\n+\n+AddressSanitizer (ASan) is a fast memory error detector,it is a widely-used debugging tool to detect memory access errors.\n+\n+   - `AddressSanitizer<https://github.com/google/sanitizers/wiki/AddressSanitizer>`\n+   - It finds use-after-free, various kinds of buffer overruns in dpdk, and printing out detailed debug information\n+      whenever an error is detected.\n+   - ASAN is integrated with gcc and clang, and use meson option '-Db_sanitize=address' to enable.\n+\n+Prerequisites\n+=============\n+\n+1. NIC requires:\n+\n+   - Intel ethernet cards: niantic/fortville/columbiaville,etc\n+\n+2. Software::\n+\n+      dpdk: http://dpdk.org/git/dpdk.\n+      scapy: http://www.secdev.org/projects/scapy/\n+\n+Test Case: RX/TX test with ASan enable\n+======================================\n+\n+1. Build dpdk with ASan tool, add \"-Dbuildtype=debug -Db_lundef=false -Db_sanitize=address\"\n+   in meson build system could enable ASan tool, such as below::\n+\n+      CC=gcc meson -Denable_kmods=True -Dlibdir=lib -Dbuildtype=debug -Db_lundef=false -Db_sanitize=address --default-library=static x86_64-native-linuxapp-gcc\n+      ninja -C x86_64-native-linuxapp-gcc -j 70\n+\n+2. Bind NIC port to vfio-pci.\n+\n+3. Setup testpmd, check testpmd could launch successfully and don't have \"heap-buffer-overflow\", \"use-after-free\" memory errors.\n+\n+4. Set mac forward mode.\n+\n+5. Send packet and check testpmd forward packet successfully.\n\\ No newline at end of file\n",
    "prefixes": [
        "V1",
        "1/3"
    ]
}