get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 123488,
    "url": "https://patches.dpdk.org/api/patches/123488/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20230209103435.2106-1-hongbox.li@intel.com/",
    "project": {
        "id": 3,
        "url": "https://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": "<20230209103435.2106-1-hongbox.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230209103435.2106-1-hongbox.li@intel.com",
    "date": "2023-02-09T10:34:34",
    "name": "[V1,1/2] test_plans/large_vf: modify script to adapt to changes in dpdk",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "50103c9372b4ec03f3b2b371d457604627b8e679",
    "submitter": {
        "id": 2804,
        "url": "https://patches.dpdk.org/api/people/2804/?format=api",
        "name": "Li, HongboX",
        "email": "hongbox.li@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20230209103435.2106-1-hongbox.li@intel.com/mbox/",
    "series": [
        {
            "id": 26900,
            "url": "https://patches.dpdk.org/api/series/26900/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=26900",
            "date": "2023-02-09T10:34:34",
            "name": "[V1,1/2] test_plans/large_vf: modify script to adapt to changes in dpdk",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/26900/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/123488/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/123488/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 AB11741C45;\n\tThu,  9 Feb 2023 03:15:23 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A036140DDA;\n\tThu,  9 Feb 2023 03:15:23 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 212844067B\n for <dts@dpdk.org>; Thu,  9 Feb 2023 03:15:20 +0100 (CET)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Feb 2023 18:15:08 -0800",
            "from unknown (HELO cvl_100g_103.icx.intel.com) ([10.239.252.93])\n by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Feb 2023 18:15:07 -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=1675908921; x=1707444921;\n h=from:to:cc:subject:date:message-id;\n bh=s9tCSrmmdAJRJaBIdt/mWy8AOnij78wg7Fu2BAgHo5s=;\n b=JkdPfAzs0zO3TrfPzb0nLvfdHXG5X5Aw5Y+29GdvjfILx7C5IAskSUtp\n NweuZSeQ6aZyyZ2r8lZlA56qnSc+j98Zg17QsJUbuYdg0TrjWFKHCNv6J\n KSyWkCnIscFwXV5LpTiAel9ClG+dthB9rwku/tME/5ouwW5mPnKZwiNSg\n sNMY69mTwtoC7LdZbppC7/4IbSBYxKL03Qrb8n3oCGbjylVNWoAAvVuyx\n UTiI19hnaH/kloFxfajJQl6687rssi443EzPTYmGg7cji0qTVpiX/YVVv\n o1o2GjU/6qtYz8gNHR3es0BNdke3Buhe27urrhebrRsuC/erMNGDON4nK g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10615\"; a=\"332111723\"",
            "E=Sophos;i=\"5.97,281,1669104000\"; d=\"scan'208\";a=\"332111723\"",
            "E=McAfee;i=\"6500,9779,10615\"; a=\"669419396\"",
            "E=Sophos;i=\"5.97,281,1669104000\"; d=\"scan'208\";a=\"669419396\""
        ],
        "From": "Hongbo Li <hongbox.li@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Hongbo Li <hongbox.li@intel.com>",
        "Subject": "[dts][PATCH V1 1/2] test_plans/large_vf: modify script to adapt to\n changes in dpdk",
        "Date": "Thu,  9 Feb 2023 18:34:34 +0800",
        "Message-Id": "<20230209103435.2106-1-hongbox.li@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": "1.after dpdk is modified, if all ports fail to start, dpdk still allows testpmd to enter the command line, instead of unconditionally terminating testpmd.\nAccording to dpdk commit 7e40372522c(\"app/testpmd: fix interactive mode with no ports\").\n\n2.after driver is modified, the default RX rings available decreased(now from SW4.2 default number of queues are created according to the single NUMA CPU cores), so modify script to adapt.\n\nSigned-off-by: Hongbo Li <hongbox.li@intel.com>\n---\n test_plans/large_vf_test_plan.rst | 18 +++++++++++-------\n 1 file changed, 11 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/test_plans/large_vf_test_plan.rst b/test_plans/large_vf_test_plan.rst\nindex e043a660..0f2318de 100644\n--- a/test_plans/large_vf_test_plan.rst\n+++ b/test_plans/large_vf_test_plan.rst\n@@ -264,25 +264,29 @@ Subcase 5: PF fdir + large VF fdir co-exist\n \n Start testpmd on VF0 with 256 queues.\n \n-Create 10 rules on PF0, queue from [54~63]::\n+Get RX rings available on DUT ::\n \n-    ethtool -N enp96s0f0 flow-type udp4 dst-ip 192.168.0.21 src-port 22 action 63\n-    ethtool -N enp96s0f0 flow-type udp4 dst-ip 192.168.0.22 src-port 22 action 62\n-    ethtool -N enp96s0f0 flow-type udp4 dst-ip 192.168.0.23 src-port 22 action 61\n+    ethtool -n enp96s0f0\n+\n+Create 10 rules on PF0, and the actions decrease from the maximum value of RX rings available::\n+\n+    ethtool -N enp96s0f0 flow-type udp4 dst-ip 192.168.0.21 src-port 22 action 35\n+    ethtool -N enp96s0f0 flow-type udp4 dst-ip 192.168.0.22 src-port 22 action 34\n+    ethtool -N enp96s0f0 flow-type udp4 dst-ip 192.168.0.23 src-port 22 action 33\n     ...\n-    ethtool -N enp96s0f0 flow-type udp4 dst-ip 192.168.0.30 src-port 22 action 54\n+    ethtool -N enp96s0f0 flow-type udp4 dst-ip 192.168.0.30 src-port 22 action 26\n \n Check rules on PF::\n \n     ethtool -n enp96s0f0\n \n-Send matched patches to PF::\n+Send matched packet to PF::\n \n     pkt1=Ether(dst=\"00:00:00:00:01:00\")/IP(src=RandIP(),dst=\"192.168.0.21\")/UDP(sport=22,dport=23)/Raw('x'*80)\n     ......\n     pkt10=Ether(dst=\"00:00:00:00:01:00\")/IP(src=RandIP(),dst=\"192.168.0.30\")/UDP(sport=22,dport=23)/Raw('x'*80)\n \n-Check PF matched queue [54~63] could receive matched packet::\n+Check PF matched queue could receive matched packet::\n \n     ethtool -S enp96s0f0\n \n",
    "prefixes": [
        "V1",
        "1/2"
    ]
}