get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126171,
    "url": "http://patches.dpdk.org/api/patches/126171/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230417174155.146540-4-songx.jiale@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": "<20230417174155.146540-4-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230417174155.146540-4-songx.jiale@intel.com",
    "date": "2023-04-17T17:41:54",
    "name": "[V1,3/4] test_plans/dual_vlan: add a case to test vlan priority value",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7139d1a455b9da44a8a5e4fca8700a951082b8ad",
    "submitter": {
        "id": 2352,
        "url": "http://patches.dpdk.org/api/people/2352/?format=api",
        "name": "Jiale, SongX",
        "email": "songx.jiale@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20230417174155.146540-4-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 27736,
            "url": "http://patches.dpdk.org/api/series/27736/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=27736",
            "date": "2023-04-17T17:41:51",
            "name": "add case to test vlan priority value",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/27736/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/126171/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/126171/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 53B174296B;\n\tMon, 17 Apr 2023 11:24:27 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4E698410E4;\n\tMon, 17 Apr 2023 11:24:27 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 0054140144\n for <dts@dpdk.org>; Mon, 17 Apr 2023 11:24:24 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Apr 2023 02:24:24 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.96])\n by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Apr 2023 02:24:23 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1681723465; x=1713259465;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=fx0oVAZjz7MypWS/Yd2TvS0vos/udtKhko88esSBF5I=;\n b=ajs0Zs1U+eQWG+F/0RmrU7vAZarnrAArOy3uDOAn/PoOUUP7ARhqqbYM\n 5gikYyXtM0Pbx9TGZx+3KVQbX9B5IddRfbHlZ3PhW75enpwmiTMxKbTXG\n vsrtlA6w/AOkuvMKD9XYY+SoJwAz5pfjc3IPTn9oCofrJFRsTsUVeaFJ2\n 22/DgT4WHqzQ/MfmNyQT6uOrHywSFn8jgDO49rJp8yps0fDPCVfOwxsAn\n u+s+kRgIZMYE1+elctczocfzwUPbSNcduV3GpQSNIXDU59PEL+ccnG8SY\n 30uo0+ZHwMtvLghIXvcCd74QBFzhrMYlDnq/vZ3Mm6soAlRQZHTk/mBbB w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10682\"; a=\"333642304\"",
            "E=Sophos;i=\"5.99,203,1677571200\"; d=\"scan'208\";a=\"333642304\"",
            "E=McAfee;i=\"6600,9927,10682\"; a=\"640897829\"",
            "E=Sophos;i=\"5.99,203,1677571200\"; d=\"scan'208\";a=\"640897829\""
        ],
        "X-ExtLoop1": "1",
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1 3/4] test_plans/dual_vlan: add a case to test vlan\n priority value",
        "Date": "Mon, 17 Apr 2023 17:41:54 +0000",
        "Message-Id": "<20230417174155.146540-4-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230417174155.146540-1-songx.jiale@intel.com>",
        "References": "<20230417174155.146540-1-songx.jiale@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Signed-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/dual_vlan_test_plan.rst | 37 ++++++++++++++++++++++++++++++\n 1 file changed, 37 insertions(+)",
    "diff": "diff --git a/test_plans/dual_vlan_test_plan.rst b/test_plans/dual_vlan_test_plan.rst\nindex 11dfa332..e8e54eac 100644\n--- a/test_plans/dual_vlan_test_plan.rst\n+++ b/test_plans/dual_vlan_test_plan.rst\n@@ -445,3 +445,40 @@ Choose the above table's item randomly 30 times and verify that the result is ri\n At last, stop packet forwarding and quit the application::\n     testpmd> stop\n     testpmd> quit\n+\n+Test Case: dual vlan priority rx/tx test\n+========================================\n+\n+#. blind port to vfio-pci::\n+\n+    ./usertools/dpdk-devbind.py -b vfio-pci {pf0_pci} {pf1_pci}\n+\n+#. launch testpmd with NICs::\n+\n+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -a {pf0_pci} -a {pf1_pci} -n 4 -- -i\n+\n+#. set testpmd::\n+\n+    testpmd> set verbose 1\n+    testpmd> set fwd mac\n+    testpmd> start\n+\n+#. start tcpdump with tester rx port::\n+\n+    tcpdump -ei {rx_iface}\n+\n+#. send dual vlan packet with tester tx port::\n+\n+    sendp(Ether(dst=\"FE:EF:65:4C:2C:D0\",type=0x8100)/Dot1Q(vlan=1,type=0x8100,prio=1)/Dot1Q(vlan=2,type=0x0800,prio=2)/IP(src=\"196.222.232.221\")/(\"X\"*480),iface=\"{tx_iface}\",count=1,inter=0,verbose=False)\n+\n+#. check the pkts can be received::\n+\n+    testpmd> port 0/queue 0: received 1 packets\n+    src=00:00:00:00:00:00 - dst=FE:EF:65:4C:2C:D0 - type=0x8100 - length=522 - nb_segs=1 - hw ptype: L2_ETHER  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN  - l2_len=18 - inner_l2_len=4 - Receive queue=0x0\n+    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+#. check the tcpdump packet::\n+\n+    check the pkts can be received by PF and fwd to tester with inner and outer correct vlan ID and priority value.\n+    16:50:38.807217 FE:EF:65:4C:2C:D0 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 1, ethertype 802.1Q, vlan 2, p 2, ethertype 0x0800,\n+\n",
    "prefixes": [
        "V1",
        "3/4"
    ]
}