get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 102868,
    "url": "http://patches.dpdk.org/api/patches/102868/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20211026161928.18726-1-pingx.zou@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": "<20211026161928.18726-1-pingx.zou@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211026161928.18726-1-pingx.zou@intel.com",
    "date": "2021-10-26T16:19:27",
    "name": "[V2,1/2] tests/TestSuite_cvl_switch_filter_pppoe: change ppp port to bytes type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "30ddbe2c6fdc34cc04e7b54794d31328c98e394e",
    "submitter": {
        "id": 2377,
        "url": "http://patches.dpdk.org/api/people/2377/?format=api",
        "name": "Zou Ping",
        "email": "pingx.zou@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20211026161928.18726-1-pingx.zou@intel.com/mbox/",
    "series": [
        {
            "id": 19981,
            "url": "http://patches.dpdk.org/api/series/19981/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=19981",
            "date": "2021-10-26T16:19:27",
            "name": "[V2,1/2] tests/TestSuite_cvl_switch_filter_pppoe: change ppp port to bytes type",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/19981/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/102868/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/102868/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 ACCC1A0C47;\n\tTue, 26 Oct 2021 09:49:39 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8DAF740A4B;\n\tTue, 26 Oct 2021 09:49:39 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 780574003E\n for <dts@dpdk.org>; Tue, 26 Oct 2021 09:49:37 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Oct 2021 00:49:35 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Oct 2021 00:49:34 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10148\"; a=\"227300145\"",
            "E=Sophos;i=\"5.87,182,1631602800\"; d=\"scan'208\";a=\"227300145\"",
            "E=Sophos;i=\"5.87,182,1631602800\"; d=\"scan'208\";a=\"497176812\""
        ],
        "From": "Zou Ping <pingx.zou@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zou Ping <pingx.zou@intel.com>",
        "Date": "Wed, 27 Oct 2021 00:19:27 +0800",
        "Message-Id": "<20211026161928.18726-1-pingx.zou@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V2 1/2] tests/TestSuite_cvl_switch_filter_pppoe:\n change ppp 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 tests/TestSuite_cvl_switch_filter_pppoe.py | 32 +++++++++++-----------\n 1 file changed, 16 insertions(+), 16 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_cvl_switch_filter_pppoe.py b/tests/TestSuite_cvl_switch_filter_pppoe.py\nindex a8058f94..9a032b10 100644\n--- a/tests/TestSuite_cvl_switch_filter_pppoe.py\n+++ b/tests/TestSuite_cvl_switch_filter_pppoe.py\n@@ -112,9 +112,9 @@ tvs_ethertype_filter_pppoes = [\n #ipv4/ipv6 + udp/tcp pipeline mode\n mac_pppoes_ipv4_udp_l4_mask_scapy_str = {\n     \"matched\": [\n-        '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)'],\n+        '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)'],\n     \"mismatched\": [\n-        '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)'\n+        '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)'\n     ]\n }\n \n@@ -136,9 +136,9 @@ tv_mac_pppoes_ipv4_udp_l4_mask_in_queue_01 = {\n \n mac_pppoes_ipv4_tcp_l4_mask_scapy_str = {\n     \"matched\": [\n-        '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)'],\n+        '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)'],\n     \"mismatched\": [\n-        '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)'\n+        '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)'\n     ]\n }\n \n@@ -160,9 +160,9 @@ tv_mac_pppoes_ipv4_tcp_l4_mask_in_queue_02 = {\n \n mac_pppoes_ipv6_udp_l4_mask_scapy_str = {\n     \"matched\":[\n-        '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)'],\n+        '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)'],\n     \"mismatched\": [\n-        '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)'\n+        '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)'\n     ]\n }\n \n@@ -184,9 +184,9 @@ tv_mac_pppoes_ipv6_udp_l4_mask_queue_region_03 = {\n \n mac_pppoes_ipv6_tcp_l4_mask_scapy_str = {\n     \"matched\":[\n-        '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)'],\n+        '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)'],\n     \"mismatched\": [\n-        '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)'\n+        '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)'\n     ]\n }\n \n@@ -217,9 +217,9 @@ tvs_mac_pppoes_l4_mask = [\n \n mac_vlan_pppoes_ipv4_udp_l4_mask_scapy_str = {\n     \"matched\": [\n-        '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)'],\n+        '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)'],\n     \"mismatched\": [\n-        '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)'\n+        '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)'\n     ]\n }\n \n@@ -241,9 +241,9 @@ tv_mac_vlan_pppoes_ipv4_udp_l4_mask_in_queue_01 = {\n \n mac_vlan_pppoes_ipv4_tcp_l4_mask_scapy_str = {\n     \"matched\": [\n-        '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)'],\n+        '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)'],\n     \"mismatched\": [\n-        '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)'\n+        '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)'\n     ]\n }\n \n@@ -266,9 +266,9 @@ tv_mac_vlan_pppoes_ipv4_tcp_l4_mask_queue_region_02 = {\n #vlan pipeline mode\n mac_vlan_pppoes_ipv6_udp_l4_mask_scapy_str = {\n     \"matched\":[\n-        '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)'],\n+        '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)'],\n     \"mismatched\": [\n-        '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)'\n+        '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)'\n     ]\n }\n \n@@ -290,9 +290,9 @@ tv_mac_vlan_pppoes_ipv6_udp_l4_mask_drop_03 = {\n \n mac_vlan_pppoes_ipv6_tcp_l4_mask_scapy_str = {\n     \"matched\": [\n-        '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)'],\n+        '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)'],\n     \"mismatched\": [\n-        '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)'\n+        '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)'\n     ]\n }\n \n",
    "prefixes": [
        "V2",
        "1/2"
    ]
}