get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114157,
    "url": "https://patches.dpdk.org/api/patches/114157/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220725190133.258768-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": "<20220725190133.258768-3-yaqi.tang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220725190133.258768-3-yaqi.tang@intel.com",
    "date": "2022-07-25T19:01:32",
    "name": "[V2,2/3] test_plans/ice_iavf_rx_timestamp: ice iavf support rx timestamp",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "472df9972c8c60a635cca7b19ae7e2a6e9fcf387",
    "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/20220725190133.258768-3-yaqi.tang@intel.com/mbox/",
    "series": [
        {
            "id": 24067,
            "url": "https://patches.dpdk.org/api/series/24067/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=24067",
            "date": "2022-07-25T19:01:30",
            "name": "ice iavf support rx timestamp",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/24067/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/114157/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/114157/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 22138A00C4;\n\tMon, 25 Jul 2022 13:03:34 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1BA654280D;\n\tMon, 25 Jul 2022 13:03:34 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 935AB4067C\n for <dts@dpdk.org>; Mon, 25 Jul 2022 13:03:32 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Jul 2022 04:03:32 -0700",
            "from dpdk-yaqi.sh.intel.com ([10.67.119.99])\n by orsmga008.jf.intel.com with ESMTP; 25 Jul 2022 04:03:31 -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=1658747012; x=1690283012;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Cn3KnnLqFm/sVJ2CUF2X4iXsG6N1Iq7bN0JM436kYF8=;\n b=KLFdfT9w09GLsVfr80U12eyWZmH0OC0YyVaB3SMcnBQyYk7y33YAQAzU\n a49r6VGinW3bcKXKWbjUZsopamYZYimztDfndNNFG3t2xS7ImKkwXSP8t\n H/YS+NdCNWKwZKdB7ymb/BZwNbo31MyKZgAGPtATr4ytW20ZZvqOz77VV\n sAZhnd0HoEi/QQuUaag0mc2FKAcdrFr06PdiDHqXPv/X5le92dXJgXxgf\n LYnBInMl/ECM+NQgeiPaNcM82Hamw25jF0lF3fiNn1ll4Ao6tXA3M823M\n F/vLF2tXTffyV+KwYu3ouZZd3Km+9vWwK401lFthWMBLfFO7eWyRVvvGR A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10418\"; a=\"287683143\"",
            "E=Sophos;i=\"5.93,192,1654585200\"; d=\"scan'208\";a=\"287683143\"",
            "E=Sophos;i=\"5.93,192,1654585200\"; d=\"scan'208\";a=\"627409270\""
        ],
        "X-ExtLoop1": "1",
        "From": "Yaqi Tang <yaqi.tang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yaqi Tang <yaqi.tang@intel.com>",
        "Subject": "[dts][PATCH V2 2/3] test_plans/ice_iavf_rx_timestamp: ice iavf\n support rx timestamp",
        "Date": "Mon, 25 Jul 2022 19:01:32 +0000",
        "Message-Id": "<20220725190133.258768-3-yaqi.tang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220725190133.258768-1-yaqi.tang@intel.com>",
        "References": "<20220725190133.258768-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       | 156 ++++++++++++++++++\n 1 file changed, 156 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..a2e6e59b\n--- /dev/null\n+++ b/test_plans/ice_iavf_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 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+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": [
        "V2",
        "2/3"
    ]
}