get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103009,
    "url": "https://patches.dpdk.org/api/patches/103009/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20211027115814.29470-2-pingx.zou@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": "<20211027115814.29470-2-pingx.zou@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211027115814.29470-2-pingx.zou@intel.com",
    "date": "2021-10-27T11:58:14",
    "name": "[V2,2/2] test_plans/cvl_switch_filter_pppoe: change ppp port to bytes type",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5fe4f4aeca79fabbe245720564dbc95a792e3632",
    "submitter": {
        "id": 2377,
        "url": "https://patches.dpdk.org/api/people/2377/?format=api",
        "name": "Zou Ping",
        "email": "pingx.zou@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20211027115814.29470-2-pingx.zou@intel.com/mbox/",
    "series": [
        {
            "id": 20030,
            "url": "https://patches.dpdk.org/api/series/20030/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=20030",
            "date": "2021-10-27T11:58:13",
            "name": "[V2,1/2] tests/cvl_switch_filter_pppoe: change ppp port to bytes type",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/20030/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/103009/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/103009/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 64A3DA0547;\n\tWed, 27 Oct 2021 05:28:34 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 594FB410F5;\n\tWed, 27 Oct 2021 05:28:34 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 9E6CB40E0F\n for <dts@dpdk.org>; Wed, 27 Oct 2021 05:28:30 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Oct 2021 20:28:29 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Oct 2021 20:28:28 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10149\"; a=\"230013461\"",
            "E=Sophos;i=\"5.87,184,1631602800\"; d=\"scan'208\";a=\"230013461\"",
            "E=Sophos;i=\"5.87,184,1631602800\"; d=\"scan'208\";a=\"635506495\""
        ],
        "From": "Zou Ping <pingx.zou@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zou Ping <pingx.zou@intel.com>",
        "Date": "Wed, 27 Oct 2021 19:58:14 +0800",
        "Message-Id": "<20211027115814.29470-2-pingx.zou@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20211027115814.29470-1-pingx.zou@intel.com>",
        "References": "<20211027115814.29470-1-pingx.zou@intel.com>",
        "Subject": "[dts] [PATCH V2 2/2] test_plans/cvl_switch_filter_pppoe: change ppp\n port to bytes type",
        "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": "scapy will ignore 00,so scapy send one byte,but dpdk only recognize two bytes. \n\nSigned-off-by: Zou Ping <pingx.zou@intel.com>\n---\n .../cvl_switch_filter_pppoe_test_plan.rst     | 32 +++++++++----------\n 1 file changed, 16 insertions(+), 16 deletions(-)",
    "diff": "diff --git a/test_plans/cvl_switch_filter_pppoe_test_plan.rst b/test_plans/cvl_switch_filter_pppoe_test_plan.rst\nindex 897e8c6c..b2cd993f 100644\n--- a/test_plans/cvl_switch_filter_pppoe_test_plan.rst\n+++ b/test_plans/cvl_switch_filter_pppoe_test_plan.rst\n@@ -774,11 +774,11 @@ MAC_PPPOE_IPV4_UDP + L4 MASK\n \n matched packets::\n \n-  sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=2304,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=2304,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n mismatched packets::\n \n-  sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=2244,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=2244,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n queue index\n ...........\n@@ -791,11 +791,11 @@ MAC_PPPOE_IPV4_TCP + L4 MASK\n \n matched packets::\n \n-  sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=2304,dport=23)/Raw(\"x\" * 80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=2304,dport=23)/Raw(\"x\" * 80)],iface=\"ens260f0\",count=1)\n \n mismatched packets::\n \n-  sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=2244,dport=23)/Raw(\"x\" * 80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=2244,dport=23)/Raw(\"x\" * 80)],iface=\"ens260f0\",count=1)\n \n queue index\n ...........\n@@ -807,11 +807,11 @@ MAC_PPPOE_IPV6_UDP + L4 MASK\n \n matched packets::\n \n-  sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=1282)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=1282)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n mismatched packets::\n \n-  sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=1040)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=1040)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n rss queues\n ..........             \n@@ -822,11 +822,11 @@ MAC_PPPOE_IPV6_TCP + L4 MASK\n \n matched packets::\n \n-  sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=1282)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=1282)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n mismatched packets::\n \n-  sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=1040)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=1040)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n drop\n ....    \n@@ -840,11 +840,11 @@ MAC_VLAN_PPPOE_IPV4_UDP + L4 MASK\n ---------------------------------\n matched packets::\n \n-  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=50,dport=1024)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=50,dport=1024)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n mismatched packets::\n \n-  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=50,dport=1281)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=50,dport=1281)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n         \n queue index\n ...........\n@@ -854,11 +854,11 @@ MAC_VLAN_PPPOE_IPV4_TCP + L4 MASK\n ---------------------------------\n matched packets::\n \n-  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=50,dport=1024)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=50,dport=1024)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n mismatched packets::\n \n-  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=50,dport=1281)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=50,dport=1281)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n rss queues\n ..........\n@@ -871,11 +871,11 @@ MAC_VLAN_PPPOE_IPV6_UDP + L4 MASK\n \n matched packets::\n \n-  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=16,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=16,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n mismatched packets::\n \n-  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=17,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=17,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n drop\n ....\n@@ -886,11 +886,11 @@ MAC_VLAN_PPPOE_IPV6_TCP + L4 MASK\n \n matched packets::\n \n-  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(dport=16)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(dport=16)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n mismatched packets::\n \n-  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(dport=17)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+  sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(dport=17)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n \n queue index\n ...........\n",
    "prefixes": [
        "V2",
        "2/2"
    ]
}