get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 125548,
    "url": "http://patches.dpdk.org/api/patches/125548/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230328074058.3796087-2-weix.ling@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": "<20230328074058.3796087-2-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230328074058.3796087-2-weix.ling@intel.com",
    "date": "2023-03-28T07:40:57",
    "name": "[V1,1/2] test_plans/virtio_event_idx_interrupt_cbdma: modify re-run times from 100 to 10",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b924c79cacdbf60c74694358601462bb479d30e3",
    "submitter": {
        "id": 1828,
        "url": "http://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20230328074058.3796087-2-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 27560,
            "url": "http://patches.dpdk.org/api/series/27560/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=27560",
            "date": "2023-03-28T07:40:56",
            "name": "modify re-run times from 100 to 10",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/27560/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/125548/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/125548/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 A21B442855;\n\tTue, 28 Mar 2023 09:44:02 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9983B40EDF;\n\tTue, 28 Mar 2023 09:44:02 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 066D240156\n for <dts@dpdk.org>; Tue, 28 Mar 2023 09:44:00 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Mar 2023 00:44:00 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Mar 2023 00:43:59 -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=1679989441; x=1711525441;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=WYVIlvR5K2fqhjoM6IfL0AwLTOQ9ehhXK1MPepqCD/Q=;\n b=DCkR9QNwPWtYzqNQ1Bl/dHX8epSwQ38DlE1fR82lCzMyiNle7cPM915Q\n +1rXL44P6LU2/EvRJJ3S/AFkaztiv37PpXp2QbGqZxqloGPJe1f/XqEei\n O+KKKLc2IygNLkRZ9wnykn/DHDFLs1+kYZB7vEIZ0p4MJ9sJtDI09ISvY\n AeXbdVdPwWhUJhLNnVLc27R3ZXBzJ7Uf/YhL4YN2FH0Dl3aVk+zNKNmUk\n SRtWVhTQb0ngHDJ2kGFuHCKfvgeUwww3ESJqaE0QnJPp1NG6YJKYaD2ia\n RgOxl1TZJiIe7cJ4jw6s1HMMjdEQWuBKHY7Wy882kDM1STuIjxlJCtYeM A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10662\"; a=\"342905939\"",
            "E=Sophos;i=\"5.98,296,1673942400\"; d=\"scan'208\";a=\"342905939\"",
            "E=McAfee;i=\"6600,9927,10662\"; a=\"753030421\"",
            "E=Sophos;i=\"5.98,296,1673942400\"; d=\"scan'208\";a=\"753030421\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 1/2] test_plans/virtio_event_idx_interrupt_cbdma:\n modify re-run times from 100 to 10",
        "Date": "Tue, 28 Mar 2023 15:40:57 +0800",
        "Message-Id": "<20230328074058.3796087-2-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230328074058.3796087-1-weix.ling@intel.com>",
        "References": "<20230328074058.3796087-1-weix.ling@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": "Modify re-run times from 100 to 10 for reduce run time.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...io_event_idx_interrupt_cbdma_test_plan.rst | 122 +++++++++---------\n 1 file changed, 61 insertions(+), 61 deletions(-)",
    "diff": "diff --git a/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst b/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst\nindex 55008f07..8cf34c0b 100644\n--- a/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst\n+++ b/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst\n@@ -32,24 +32,24 @@ General set up\n --------------\n 1. Compile DPDK::\n \n-    # CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=static <dpdk build dir>\n-    # ninja -C <dpdk build dir> -j 110\n-    For example:\n-    CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=static x86_64-native-linuxapp-gcc\n-    ninja -C x86_64-native-linuxapp-gcc -j 110\n+\t# CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=static <dpdk build dir>\n+\t# ninja -C <dpdk build dir> -j 110\n+\tFor example:\n+\tCC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=static x86_64-native-linuxapp-gcc\n+\tninja -C x86_64-native-linuxapp-gcc -j 110\n \n 2. Get the PCI device ID and DMA device ID of DUT, for example, 0000:18:00.0 is PCI device ID, 0000:00:04.0, 0000:00:04.1 is DMA device ID::\n \n-    <dpdk dir># ./usertools/dpdk-devbind.py -s\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -s\n \n-    Network devices using kernel driver\n-    ===================================\n-    0000:18:00.0 'Device 159b' if=ens785f0 drv=ice unused=vfio-pci\n+\tNetwork devices using kernel driver\n+\t===================================\n+\t0000:18:00.0 'Device 159b' if=ens785f0 drv=ice unused=vfio-pci\n \n-    DMA devices using kernel driver\n-    ===============================\n-    0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n-    0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n+\tDMA devices using kernel driver\n+\t===============================\n+\t0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n+\t0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n \n Test case\n =========\n@@ -62,11 +62,11 @@ operations with CBDMA channels.\n \n 1. Bind one nic port and one cbdma channel to vfio-pci, then launch the vhost sample by below commands::\n \n-    rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \\\n-    --vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n-    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n-    testpmd> start\n+\trm -rf vhost-net*\n+\t./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \\\n+\t--vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n+\t-- -i --nb-cores=1 --txd=1024 --rxd=1024\n+\ttestpmd> start\n \n 2. Launch VM::\n \n@@ -82,21 +82,21 @@ operations with CBDMA channels.\n \n 3. On VM1, set virtio device IP, send 10M packets from packet generator to nic then check virtio device can receive packets::\n \n-    ifconfig [ens3] 1.1.1.2      # [ens3] is the name of virtio-net\n-    tcpdump -i [ens3]\n+\tifconfig [ens3] 1.1.1.2      # [ens3] is the name of virtio-net\n+\ttcpdump -i [ens3]\n \n 4. Reload virtio-net driver by below cmds::\n \n-    ifconfig [ens3] down\n-    ./usertools/dpdk-devbind.py -u [00:03.0]   # [00:03.0] is the pci addr of virtio-net\n-    ./usertools/dpdk-devbind.py -b virtio-pci [00:03.0]\n+\tifconfig [ens3] down\n+\t./usertools/dpdk-devbind.py -u [00:03.0]   # [00:03.0] is the pci addr of virtio-net\n+\t./usertools/dpdk-devbind.py -b virtio-pci [00:03.0]\n \n 5. Check virtio device can receive packets again::\n \n-    ifconfig [ens3] 1.1.1.2\n-    tcpdump -i [ens3]\n+\tifconfig [ens3] 1.1.1.2\n+\ttcpdump -i [ens3]\n \n-6. Rerun step4 and step5 100 times to check event idx workable after driver reload.\n+6. Rerun step4 and step5 10 times to check event idx workable after driver reload.\n \n Test Case 2: Split ring 16 queues virtio-net event idx interrupt mode test with cbdma enable\n --------------------------------------------------------------------------------------------\n@@ -105,11 +105,11 @@ vhost uses the asynchronous operations with CBDMA channels.\n \n 1. Bind one nic port and 4 cbdma channels to vfio-pci, then launch the vhost sample by below commands::\n \n-    rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost \\\n-    --vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.0;txq2@0000:00:04.0;txq3@0000:00:04.0;txq4@0000:00:04.0;txq5@0000:00:04.0;txq6@0000:00:04.0;txq7@0000:00:04.0;txq8@0000:00:04.1;txq9@0000:00:04.1;txq10@0000:00:04.1;txq11@0000:00:04.1;txq12@0000:00:04.1;txq13@0000:00:04.1;txq14@0000:00:04.1;txq15@0000:00:04.1;rxq0@0000:00:04.2;rxq1@0000:00:04.2;rxq2@0000:00:04.2;rxq3@0000:00:04.2;rxq4@0000:00:04.2;rxq5@0000:00:04.2;rxq6@0000:00:04.2;rxq7@0000:00:04.2;rxq8@0000:00:04.3;rxq9@0000:00:04.3;rxq10@0000:00:04.3;rxq11@0000:00:04.3;rxq12@0000:00:04.3;rxq13@0000:00:04.3;rxq14@0000:00:04.3;rxq15@0000:00:04.3]' \\\n-    -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16\n-    testpmd> start\n+\trm -rf vhost-net*\n+\t./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost \\\n+\t--vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.0;txq2@0000:00:04.0;txq3@0000:00:04.0;txq4@0000:00:04.0;txq5@0000:00:04.0;txq6@0000:00:04.0;txq7@0000:00:04.0;txq8@0000:00:04.1;txq9@0000:00:04.1;txq10@0000:00:04.1;txq11@0000:00:04.1;txq12@0000:00:04.1;txq13@0000:00:04.1;txq14@0000:00:04.1;txq15@0000:00:04.1;rxq0@0000:00:04.2;rxq1@0000:00:04.2;rxq2@0000:00:04.2;rxq3@0000:00:04.2;rxq4@0000:00:04.2;rxq5@0000:00:04.2;rxq6@0000:00:04.2;rxq7@0000:00:04.2;rxq8@0000:00:04.3;rxq9@0000:00:04.3;rxq10@0000:00:04.3;rxq11@0000:00:04.3;rxq12@0000:00:04.3;rxq13@0000:00:04.3;rxq14@0000:00:04.3;rxq15@0000:00:04.3]' \\\n+\t-- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16\n+\ttestpmd> start\n \n 2. Launch VM::\n \n@@ -125,18 +125,18 @@ vhost uses the asynchronous operations with CBDMA channels.\n \n 3. On VM1, give virtio device IP and enable vitio-net with 16 quques::\n \n-    ifconfig [ens3] 1.1.1.2           # [ens3] is the name of virtio-net\n-    ethtool -L [ens3] combined 16\n+\tifconfig [ens3] 1.1.1.2           # [ens3] is the name of virtio-net\n+\tethtool -L [ens3] combined 16\n \n 4. Send 10M different IP packets from packet generator to nic, check virtio-net interrupt times by below cmd in VM::\n \n-    cat /proc/interrupts\n+\tcat /proc/interrupts\n \n 5. Stop testpmd, check each queue has new packets coming, then start testpmd and check each queue has new packets coming::\n \n-    testpmd> stop\n-    testpmd> start\n-    testpmd> stop\n+\ttestpmd> stop\n+\ttestpmd> start\n+\ttestpmd> stop\n \n Test Case 3: Packed ring virtio-pci driver reload test with CBDMA enable\n ------------------------------------------------------------------------\n@@ -146,11 +146,11 @@ with CBDMA channels.\n \n 1. Bind one nic port and one cbdma channel to vfio-pci, then launch the vhost sample by below commands::\n \n-    rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \\\n-    --vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n-    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n-    testpmd> start\n+\trm -rf vhost-net*\n+\t./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \\\n+\t--vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n+\t-- -i --nb-cores=1 --txd=1024 --rxd=1024\n+\ttestpmd> start\n \n 2. Launch VM::\n \n@@ -166,21 +166,21 @@ with CBDMA channels.\n \n 3. On VM1, set virtio device IP, send 10M packets from packet generator to nic then check virtio device can receive packets::\n \n-    ifconfig [ens3] 1.1.1.2      # [ens3] is the name of virtio-net\n-    tcpdump -i [ens3]\n+\tifconfig [ens3] 1.1.1.2      # [ens3] is the name of virtio-net\n+\ttcpdump -i [ens3]\n \n 4. Reload virtio-net driver by below cmds::\n \n-    ifconfig [ens3] down\n-    ./usertools/dpdk-devbind.py -u [00:03.0]   # [00:03.0] is the pci addr of virtio-net\n-    ./usertools/dpdk-devbind.py -b virtio-pci [00:03.0]\n+\tifconfig [ens3] down\n+\t./usertools/dpdk-devbind.py -u [00:03.0]   # [00:03.0] is the pci addr of virtio-net\n+\t./usertools/dpdk-devbind.py -b virtio-pci [00:03.0]\n \n 5. Check virtio device can receive packets again::\n \n-    ifconfig [ens3] 1.1.1.2\n-    tcpdump -i [ens3]\n+\tifconfig [ens3] 1.1.1.2\n+\ttcpdump -i [ens3]\n \n-6. Rerun step4 and step5 100 times to check event idx workable after driver reload.\n+6. Rerun step4 and step5 10 times to check event idx workable after driver reload.\n \n Test Case 4: Packed ring 16 queues virtio-net event idx interrupt mode test with cbdma enable\n ---------------------------------------------------------------------------------------------\n@@ -189,11 +189,11 @@ uses the asynchronous operations with CBDMA channels.\n \n 1. Bind one nic port and 4 cbdma channels to vfio-pci, then launch the vhost sample by below commands::\n \n-    rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost \\\n-    --vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.0;txq2@0000:00:04.0;txq3@0000:00:04.0;txq4@0000:00:04.0;txq5@0000:00:04.0;txq6@0000:00:04.0;txq7@0000:00:04.0;txq8@0000:00:04.1;txq9@0000:00:04.1;txq10@0000:00:04.1;txq11@0000:00:04.1;txq12@0000:00:04.1;txq13@0000:00:04.1;txq14@0000:00:04.1;txq15@0000:00:04.1;rxq0@0000:00:04.2;rxq1@0000:00:04.2;rxq2@0000:00:04.2;rxq3@0000:00:04.2;rxq4@0000:00:04.2;rxq5@0000:00:04.2;rxq6@0000:00:04.2;rxq7@0000:00:04.2;rxq8@0000:00:04.3;rxq9@0000:00:04.3;rxq10@0000:00:04.3;rxq11@0000:00:04.3;rxq12@0000:00:04.3;rxq13@0000:00:04.3;rxq14@0000:00:04.3;rxq15@0000:00:04.3]' \\\n-    -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16\n-    testpmd> start\n+\trm -rf vhost-net*\n+\t./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost \\\n+\t--vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.0;txq2@0000:00:04.0;txq3@0000:00:04.0;txq4@0000:00:04.0;txq5@0000:00:04.0;txq6@0000:00:04.0;txq7@0000:00:04.0;txq8@0000:00:04.1;txq9@0000:00:04.1;txq10@0000:00:04.1;txq11@0000:00:04.1;txq12@0000:00:04.1;txq13@0000:00:04.1;txq14@0000:00:04.1;txq15@0000:00:04.1;rxq0@0000:00:04.2;rxq1@0000:00:04.2;rxq2@0000:00:04.2;rxq3@0000:00:04.2;rxq4@0000:00:04.2;rxq5@0000:00:04.2;rxq6@0000:00:04.2;rxq7@0000:00:04.2;rxq8@0000:00:04.3;rxq9@0000:00:04.3;rxq10@0000:00:04.3;rxq11@0000:00:04.3;rxq12@0000:00:04.3;rxq13@0000:00:04.3;rxq14@0000:00:04.3;rxq15@0000:00:04.3]' \\\n+\t-- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16\n+\ttestpmd> start\n \n 2. Launch VM::\n \n@@ -209,15 +209,15 @@ uses the asynchronous operations with CBDMA channels.\n \n 3. On VM1, configure virtio device IP and enable vitio-net with 16 quques::\n \n-    ifconfig [ens3] 1.1.1.2           # [ens3] is the name of virtio-net\n-    ethtool -L [ens3] combined 16\n+\tifconfig [ens3] 1.1.1.2           # [ens3] is the name of virtio-net\n+\tethtool -L [ens3] combined 16\n \n 4. Send 10M different IP packets from packet generator to nic, check virtio-net interrupt times by below cmd in VM::\n \n-    cat /proc/interrupts\n+\tcat /proc/interrupts\n \n 5. Stop testpmd, check each queue has new packets coming, then start testpmd and check each queue has new packets coming::\n \n-    testpmd> stop\n-    testpmd> start\n-    testpmd> stop\n+\ttestpmd> stop\n+\ttestpmd> start\n+\ttestpmd> stop\n",
    "prefixes": [
        "V1",
        "1/2"
    ]
}