get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 98172,
    "url": "http://patches.dpdk.org/api/patches/98172/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210907193714.16028-3-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": "<20210907193714.16028-3-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210907193714.16028-3-zhiminx.huang@intel.com",
    "date": "2021-09-07T19:37:12",
    "name": "[V2,2/4] test_plans/stats_checks_test_plan:add case in plan",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "aa199191335f3ae8c393f99c860eef10a99e9eba",
    "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/20210907193714.16028-3-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 18735,
            "url": "http://patches.dpdk.org/api/series/18735/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=18735",
            "date": "2021-09-07T19:37:10",
            "name": "add plan and case",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/18735/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/98172/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/98172/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 4F1B9A0C41;\n\tTue,  7 Sep 2021 13:05:53 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 49D69410ED;\n\tTue,  7 Sep 2021 13:05:53 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id DA290410EC\n for <dts@dpdk.org>; Tue,  7 Sep 2021 13:05:50 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Sep 2021 04:05:50 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Sep 2021 04:05:49 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10099\"; a=\"220194156\"",
            "E=Sophos;i=\"5.85,274,1624345200\"; d=\"scan'208\";a=\"220194156\"",
            "E=Sophos;i=\"5.85,274,1624345200\"; d=\"scan'208\";a=\"469154250\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Date": "Wed,  8 Sep 2021 03:37:12 +0800",
        "Message-Id": "<20210907193714.16028-3-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20210907193714.16028-1-zhiminx.huang@intel.com>",
        "References": "<20210907193714.16028-1-zhiminx.huang@intel.com>",
        "Subject": "[dts] [PATCH V2 2/4] test_plans/stats_checks_test_plan:add case in\n plan",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "add some new test points in plan:\nstats_checks:\n add clear stats test.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n test_plans/stats_checks_test_plan.rst | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)",
    "diff": "diff --git a/test_plans/stats_checks_test_plan.rst b/test_plans/stats_checks_test_plan.rst\nindex 51ec36d..327aaf2 100644\n--- a/test_plans/stats_checks_test_plan.rst\n+++ b/test_plans/stats_checks_test_plan.rst\n@@ -264,6 +264,21 @@ FVL does not support hardware per queue stats,\n so rx_qx_packets and rx_qx_bytes are both 0.\n tx_qx_packets and tx_qx_bytes are both 0 too.\n \n+6. Clear stats::\n+\n+      testpmd> clear port stats all\n+\n+7. Check stats and xstats, verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 0.\n+\n+8. Repeat above 4 and 5 steps.\n+\n+9. Clear xstats::\n+\n+    testpmd> clear port xstats all\n+\n+10. Check stats and xstats, verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 0.\n+\n+\n Test Case: VF xstats Checks\n ============================\n 1. Create one VF port on a kernel PF, then bind the VF to pmd driver::\n",
    "prefixes": [
        "V2",
        "2/4"
    ]
}