get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114332,
    "url": "https://patches.dpdk.org/api/patches/114332/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220728160900.310528-3-yaqi.tang@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": "<20220728160900.310528-3-yaqi.tang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220728160900.310528-3-yaqi.tang@intel.com",
    "date": "2022-07-28T16:08:59",
    "name": "[V3,2/3] test_plans/ice_iavf_rx_timestamp: ice iavf support rx timestamp",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "075ef15928e5dcc287f09bf5e99d21f52a61532e",
    "submitter": {
        "id": 2357,
        "url": "https://patches.dpdk.org/api/people/2357/?format=api",
        "name": "Yaqi Tang",
        "email": "yaqi.tang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20220728160900.310528-3-yaqi.tang@intel.com/mbox/",
    "series": [
        {
            "id": 24109,
            "url": "https://patches.dpdk.org/api/series/24109/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=24109",
            "date": "2022-07-28T16:08:57",
            "name": "ice iavf support rx timestamp",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/24109/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/114332/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/114332/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 E4489A00C4;\n\tThu, 28 Jul 2022 10:10:59 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E766C42B6D;\n\tThu, 28 Jul 2022 10:10:59 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 14CD040E25\n for <dts@dpdk.org>; Thu, 28 Jul 2022 10:10:57 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Jul 2022 01:10:57 -0700",
            "from dpdk-yaqi.sh.intel.com ([10.67.119.99])\n by orsmga003.jf.intel.com with ESMTP; 28 Jul 2022 01:10:56 -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=1658995858; x=1690531858;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=VarLiAXDYJKowFBzU8S9yhKIoLlkAQhObipALzoQZmQ=;\n b=MpzwXPze6SXabFytKxK+Cg0yv1q2MxgHUPF6bFnEaKtnY7K8v0I4jn02\n IJ/Y5RVgDvLHN15umqxJPBJEbY4gwIrn+M4AIaZ1kxJNNQnqPXE66SEPf\n rjhs7ceNylvNgu/VW+EK6qppl2WgJcAlDdwcCpu58J8DPNtIPiIYl5ORw\n GXtZX2iiOc1FBGYmiBuGC9uAK8tHP6goHgzOOmJZWRgp69nHlOD2GQlln\n iRKZ/JXjLy/tTRYq5vPvbTmaJCk7fLyBSJ5t5Llo0584Qyb5d1zRd3/t7\n h/n0WfhpFM4X1wIF/WbzFNoVk6QeRgKIpr+SjvQaILP/LNSe10taOOhM9 A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10421\"; a=\"287206515\"",
            "E=Sophos;i=\"5.93,196,1654585200\"; d=\"scan'208\";a=\"287206515\"",
            "E=Sophos;i=\"5.93,196,1654585200\"; d=\"scan'208\";a=\"551202799\""
        ],
        "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_iavf_rx_timestamp: ice iavf\n support rx timestamp",
        "Date": "Thu, 28 Jul 2022 16:08:59 +0000",
        "Message-Id": "<20220728160900.310528-3-yaqi.tang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220728160900.310528-1-yaqi.tang@intel.com>",
        "References": "<20220728160900.310528-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 IAVF driver is able to enable rx timestamp offload.\n\nSigned-off-by: Yaqi Tang <yaqi.tang@intel.com>\n---\n .../ice_iavf_rx_timestamp_test_plan.rst       | 158 ++++++++++++++++++\n 1 file changed, 158 insertions(+)\n create mode 100644 test_plans/ice_iavf_rx_timestamp_test_plan.rst",
    "diff": "diff --git a/test_plans/ice_iavf_rx_timestamp_test_plan.rst b/test_plans/ice_iavf_rx_timestamp_test_plan.rst\nnew file mode 100644\nindex 00000000..89f1bd8b\n--- /dev/null\n+++ b/test_plans/ice_iavf_rx_timestamp_test_plan.rst\n@@ -0,0 +1,158 @@\n+.. SPDX-License-Identifier: BSD-3-Clause\n+   Copyright(c) 2022 Intel Corporation\n+\n+=============================\n+ICE IAVF Support Rx Timestamp\n+=============================\n+\n+Description\n+===========\n+The VF 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+NOTE: Require kernel support rx timestamp offload function in VF.\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. Generate 1 VF on PF0, set mac address for this VF::\n+\n+    # echo 1 > /sys/bus/pci/devices/0000:3b:00.0/sriov_numvfs\n+    # ip link set ens785f0 vf 0 mac 00:11:22:33:44:55\n+\n+\n+4. 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. Check driver is IAVF::\n+\n+    testpmd> show port info all\n+\n+2. Set fwd engine::\n+\n+    testpmd> set fwd rxonly\n+\n+3. Set verbose::\n+\n+    testpmd> set verbose 1\n+\n+4. Start testpmd::\n+\n+    testpmd> start\n+\n+5. 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+6. 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+7. 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+8. 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+9. 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+10. 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+11. 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+12. 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+13. 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:01.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:01.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+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:01.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"
    ]
}