get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 116465,
    "url": "http://patches.dpdk.org/api/patches/116465/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220920041907.301814-3-yaqi.tang@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": "<20220920041907.301814-3-yaqi.tang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220920041907.301814-3-yaqi.tang@intel.com",
    "date": "2022-09-20T04:19:06",
    "name": "[V3,2/3] test_plans/ice_rx_timestamp: ice support rx timestamp",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9e161fd8350fe997033f755be24a97403466435e",
    "submitter": {
        "id": 2357,
        "url": "http://patches.dpdk.org/api/people/2357/?format=api",
        "name": "Yaqi Tang",
        "email": "yaqi.tang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220920041907.301814-3-yaqi.tang@intel.com/mbox/",
    "series": [
        {
            "id": 24720,
            "url": "http://patches.dpdk.org/api/series/24720/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=24720",
            "date": "2022-09-20T04:19:04",
            "name": "ice support rx timestamp",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/24720/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/116465/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/116465/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 D6CCAA00C3;\n\tTue, 20 Sep 2022 06:19:17 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D1CF5410D0;\n\tTue, 20 Sep 2022 06:19:17 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id CBC394021D\n for <dts@dpdk.org>; Tue, 20 Sep 2022 06:19:16 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Sep 2022 21:19:16 -0700",
            "from dpdk-yaqi.sh.intel.com ([10.67.119.213])\n by fmsmga004.fm.intel.com with ESMTP; 19 Sep 2022 21:19:15 -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=1663647557; x=1695183557;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=EHXP5QFyerjiPTnkzJ+FohNlgHN/nXkH0HicBu05PKw=;\n b=O7hXonOh2OgTzREjeQ3CS3cWwy6QgREmgCYZ8tEGR2jxIZRAHTW9nT4o\n QnuIlwJH8P0vuBJ4h6Dw/8JHTRRw1VzAB/GwbUvxY5zUOcy5q41FEGg6Y\n 3XNmEO7SyYdydr4IaE/q34xEOvl3PT9j6s2F7KPD+wbfNmcuSxfhAiNGr\n yqm2dN98uCmx7JJIdxDRMjK2TBbZyGXC2rFzoFZ7Fyt0DLvd2uTwk9Udf\n OCnR/BV+og1pwwmSxsx2mw5gv9wRZZWIjltLdJa0lbzEMdgWzXQdHYQW+\n +ZOUYechkRyV7zW9BPp1dF7YJ2SA7wmWKL2kd8+j9WkM1w+Bw3MwWpwPG w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10475\"; a=\"385878581\"",
            "E=Sophos;i=\"5.93,329,1654585200\"; d=\"scan'208\";a=\"385878581\"",
            "E=Sophos;i=\"5.93,329,1654585200\"; d=\"scan'208\";a=\"687245983\""
        ],
        "X-ExtLoop1": "1",
        "From": "Yaqi Tang <yaqi.tang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yaqi Tang <yaqi.tang@intel.com>",
        "Subject": "[dts][PATCH V3 2/3] test_plans/ice_rx_timestamp: ice support rx\n timestamp",
        "Date": "Tue, 20 Sep 2022 04:19:06 +0000",
        "Message-Id": "<20220920041907.301814-3-yaqi.tang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220920041907.301814-1-yaqi.tang@intel.com>",
        "References": "<20220920041907.301814-1-yaqi.tang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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": "The PF driver is able to enable rx timestamp offload.\n\nSigned-off-by: Yaqi Tang <yaqi.tang@intel.com>\n---\n test_plans/ice_rx_timestamp_test_plan.rst | 156 ++++++++++++++++++++++\n 1 file changed, 156 insertions(+)\n create mode 100644 test_plans/ice_rx_timestamp_test_plan.rst",
    "diff": "diff --git a/test_plans/ice_rx_timestamp_test_plan.rst b/test_plans/ice_rx_timestamp_test_plan.rst\nnew file mode 100644\nindex 00000000..3fc48f29\n--- /dev/null\n+++ b/test_plans/ice_rx_timestamp_test_plan.rst\n@@ -0,0 +1,156 @@\n+.. SPDX-License-Identifier: BSD-3-Clause\n+   Copyright(c) 2022 Intel Corporation\n+\n+========================\n+ICE Support Rx Timestamp\n+========================\n+\n+Description\n+===========\n+The PF driver is able to enable rx timestamp offload, the 64 bits timestamp is able\n+to extracted from the flexible Rx descriptor and be stored in mbuf's dynamic field.\n+The received packets have timestamp values, and the timestamp values are incremented.\n+\n+Prerequisites\n+=============\n+\n+Topology\n+--------\n+DUT port 0 <----> Tester port 0\n+\n+Hardware\n+--------\n+Supported NICs: Intel® Ethernet 800 Series E810-XXVDA4/E810-CQ\n+\n+Software\n+--------\n+dpdk: http://dpdk.org/git/dpdk\n+scapy: http://www.secdev.org/projects/scapy/\n+\n+General Set Up\n+--------------\n+1. Compile DPDK::\n+\n+    # CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib --default-library=static <dpdk build dir>\n+    # ninja -C <dpdk build dir> -j 110\n+\n+2. Get the pci device id and interface of DUT and tester.\n+   For example, 0000:3b:00.0 and 0000:3b:00.1 is pci device id,\n+   ens785f0 and ens785f1 is interface::\n+\n+    <dpdk dir># ./usertools/dpdk-devbind.py -s\n+\n+    0000:3b:00.0 'Device 159b' if=ens785f0 drv=ice unused=vfio-pci\n+    0000:3b:00.1 'Device 159b' if=ens785f1 drv=ice unused=vfio-pci\n+\n+3. Bind the DUT port to dpdk::\n+\n+    <dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci <DUT port pci device id>\n+\n+Test Case\n+=========\n+Common Steps\n+------------\n+All the packets in this test plan use below settings:\n+dst mac: 68:05:CA:C1:BA:28\n+ipv4 src: 192.168.0.2\n+ipv4 dst: 192.168.0.3\n+ipv6 src: 2001::2\n+ipv6 dst: 2001::3\n+sport: 1026\n+dport: 1027\n+count: 3\n+\n+1. Set fwd engine::\n+\n+    testpmd> set fwd rxonly\n+\n+2. Set verbose::\n+\n+    testpmd> set verbose 1\n+\n+3. Start testpmd::\n+\n+    testpmd> start\n+\n+4. Send ether packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+5. Send ipv4 packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/IP(src=\"<ipv4 src>\",dst=\"<ipv4 dst>\")/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+6. Send ipv6 packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/IPv6(src=\"<ipv6 src>\",dst=\"<ipv6 dst>\")/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+7. Send ipv4-udp packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/IP(src=\"<ipv4 src>\",dst=\"<ipv4 dst>\")/UDP(sport=<sport>, dport=<dport>)/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+8. Send ipv6-udp packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/IPv6(src=\"<ipv6 src>\",dst=\"<ipv6 dst>\")/UDP(sport=<sport>, dport=<dport>)/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+9. Send ipv4-tcp packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/IP(src=\"<ipv4 src>\",dst=\"<ipv4 dst>\")/TCP(sport=<sport>, dport=<dport>)/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+10. Send ipv6-tcp packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/IPv6(src=\"<ipv6 src>\",dst=\"<ipv6 dst>\")/TCP(sport=<sport>, dport=<dport>)/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+11. Send ipv4-sctp packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/IP(src=\"<ipv4 src>\",dst=\"<ipv4 dst>\")/SCTP(sport=<sport>, dport=<dport>)/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+12. Send ipv6-sctp packets, record the timestamp values and check the timestamp values are incremented::\n+\n+    >>> sendp([Ether(dst=\"<dst mac>\")/IPv6(src=\"<ipv6 src>\",dst=\"<ipv6 dst>\")/SCTP(sport=<sport>, dport=<dport>)/(\"X\"*480)], iface=\"<tester interface>\",count=<count>)\n+\n+Test Case 1: Without timestamp, check no timestamp\n+--------------------------------------------------\n+This case is designed to check no timestamp value while testpmd not enable rx timestamp.\n+\n+Test Steps\n+~~~~~~~~~~\n+1. Start testpmd with different command line::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -a 3b:00.0 -- -i --rxq=16 --txq=16\n+\n+2. Send packets as common steps, check no timestamp value.\n+\n+Test Case 2: Single queue With timestamp, check timestamp\n+---------------------------------------------------------\n+This case is designed to check single queue has timestamp values and the timestamp values are incremented.\n+\n+Test Steps\n+~~~~~~~~~~\n+1. Start testpmd with different command line::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -a 3b:00.0 -- -i --enable-rx-timestamp\n+\n+2. Send packets as common steps, check single queue has timestamp values and the timestamp values are incremented.\n+\n+    testpmd> port 0/queue 0: received 1 packets\n+    src=00:00:00:02:00:00 - dst=68:05:CA:C1:BA:28 - type=0x9000 - length=494 - nb_segs=1 - timestamp 1663643637602717932  - hw ptype: L2_ETHER  - sw ptype: L2_ETHER  - l2_len=14 - Receive queue=0x0\n+    ol_flags: RTE_MBUF_F_RX_L4_CKSUM_UNKNOWN RTE_MBUF_F_RX_IP_CKSUM_UNKNOWN RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN\n+    port 0/queue 0: received 1 packets\n+    src=00:00:00:02:00:00 - dst=68:05:CA:C1:BA:28 - type=0x9000 - length=494 - nb_segs=1 - timestamp 1663643637602871904  - hw ptype: L2_ETHER  - sw ptype: L2_ETHER  - l2_len=14 - Receive queue=0x0\n+    ol_flags: RTE_MBUF_F_RX_L4_CKSUM_UNKNOWN RTE_MBUF_F_RX_IP_CKSUM_UNKNOWN RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN\n+    port 0/queue 0: received 1 packets\n+    src=00:00:00:02:00:00 - dst=68:05:CA:C1:BA:28 - type=0x9000 - length=494 - nb_segs=1 - timestamp 1663643637603018449  - hw ptype: L2_ETHER  - sw ptype: L2_ETHER  - l2_len=14 - Receive queue=0x0\n+    ol_flags: RTE_MBUF_F_RX_L4_CKSUM_UNKNOWN RTE_MBUF_F_RX_IP_CKSUM_UNKNOWN RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+Test Case 3: Multi queues With timestamp, check timestamp\n+---------------------------------------------------------\n+This case is designed to check multi queues have timestamp values and the timestamp values are incremented.\n+\n+Test Steps\n+~~~~~~~~~~\n+1. Start testpmd with different command line::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -a 3b:00.0 -- -i --rxq=16 --txq=16 --enable-rx-timestamp\n+\n+2. Send packets as common steps, check multi queues have timestamp values and the timestamp values are incremented.\n",
    "prefixes": [
        "V3",
        "2/3"
    ]
}