get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 119587,
    "url": "https://patches.dpdk.org/api/patches/119587/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20221109053858.1207024-1-weix.ling@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": "<20221109053858.1207024-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221109053858.1207024-1-weix.ling@intel.com",
    "date": "2022-11-09T05:38:58",
    "name": "[V1,1/2] test_plans/vhost_virtio_user_interrupt_cbdma_test_plan: modify the dmas parameter",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "197b6b865a4a1578d8da00b12f7728cf191db69d",
    "submitter": {
        "id": 1828,
        "url": "https://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20221109053858.1207024-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 25642,
            "url": "https://patches.dpdk.org/api/series/25642/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=25642",
            "date": "2022-11-09T05:38:50",
            "name": "modify the dmas parameter by DPDK changed",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/25642/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/119587/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/119587/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 8576EA0093;\n\tWed,  9 Nov 2022 06:45:25 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7F9334014F;\n\tWed,  9 Nov 2022 06:45:25 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 83931400D4\n for <dts@dpdk.org>; Wed,  9 Nov 2022 06:45:22 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Nov 2022 21:45:21 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Nov 2022 21:45:20 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1667972723; x=1699508723;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=fomL6aE1KBlml385XgsZVHA41M4z2c85kBCDgRS7EGA=;\n b=YHxQ35PLs7xPi5AcyVw+0Plur8Tjdr8W8jpeqX0R280ti13xOhTAX88Q\n /r42MD1SlP4Z6zGRu8sFpKqmgxLQtZFFPHioTxZ+KaeGqizCUHkUkVQNh\n 9SJm50MUqbv3G8fhSMee54KUAMY57mRTJbH8dpJ3GCKLHiv88TWLun07k\n 75NhyWNxx07fYJsbkw8p8ixPPpn3S7wvQtJYtmAMlFI/R0lAmbxltchCB\n KfYRZlzKyNFmtPWSe5K95JcPy5QPjgYUdPUGiANHUZQ/zkoxO8SZGKl7h\n OWFJpnRMplk4swem2rgQOBa3QZi+HsIkLXfcOndirUZPtpU05+/qMyC7m g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10525\"; a=\"312693065\"",
            "E=Sophos;i=\"5.96,149,1665471600\";\n d=\"scan'208,223\";a=\"312693065\"",
            "E=McAfee;i=\"6500,9779,10525\"; a=\"725839786\"",
            "E=Sophos;i=\"5.96,149,1665471600\";\n d=\"scan'208,223\";a=\"725839786\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 1/2]\n test_plans/vhost_virtio_user_interrupt_cbdma_test_plan: modify the dmas\n parameter",
        "Date": "Wed,  9 Nov 2022 13:38:58 +0800",
        "Message-Id": "<20221109053858.1207024-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "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": "From DPDK-22.11, the dmas parameter have changed, so modify the dmas\nparameter in the testplan.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ..._virtio_user_interrupt_cbdma_test_plan.rst | 68 +++++++++++--------\n 1 file changed, 38 insertions(+), 30 deletions(-)",
    "diff": "diff --git a/test_plans/vhost_virtio_user_interrupt_cbdma_test_plan.rst b/test_plans/vhost_virtio_user_interrupt_cbdma_test_plan.rst\nindex 3b74a152..50d875d3 100644\n--- a/test_plans/vhost_virtio_user_interrupt_cbdma_test_plan.rst\n+++ b/test_plans/vhost_virtio_user_interrupt_cbdma_test_plan.rst\n@@ -14,7 +14,6 @@ status after stop sending packets from traffic generator.\n This test plan tests virtio-user Rx interrupt and LSC interrupt with vhost-user as the backend when cbdma enable.\n \n ..Note:\n-\n DPDK local patch that about vhost pmd is needed when testing Vhost asynchronous data path with testpmd.\n \n Prerequisites\n@@ -50,22 +49,25 @@ General set up\n Test case\n =========\n \n-Test Case1: Split ring LSC event between vhost-user and virtio-user with cbdma enable\n--------------------------------------------------------------------------------------\n-This case tests the LSC interrupt of split ring virtio-user with vhost-user as the back-end\n-when vhost uses the asynchronous operations with CBDMA channels.\n+Test Case 1: Split ring LSC event between vhost-user and virtio-user with cbdma enable\n+--------------------------------------------------------------------------------------\n+This case tests the LSC interrupt of split ring virtio-user with vhost-user as the\n+back-end when vhost uses the asynchronous operations with CBDMA channels.\n Flow: Vhost <--> Virtio\n \n-1. Bind 1 CBDMA channel to vfio-pci driver, then start vhost-user side::\n+1. Bind 1 CBDMA port to vfio-pci driver, then start vhost-user side::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3000 -n 4 -a 00:04.0 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0,dmas=[txq0;rxq0]' \\\n-    -- -i --lcore-dma=[lcore13@0000:00:04.0]\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3000 -n 4 -a 0000:00:04.0 --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n+    -- -i\n     testpmd> set fwd mac\n     testpmd> start\n \n 2. Start virtio-user side::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net -- -i --tx-offloads=0x00\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net \\\n+    -- -i --tx-offloads=0x00\n     testpmd> set fwd mac\n     testpmd> start\n \n@@ -79,15 +81,17 @@ Flow: Vhost <--> Virtio\n     testpmd>  show port info 0\n     #it should show \"down\"\n \n-Test Case2: Split ring virtio-user interrupt test with vhost-user as backend and cbdma enable\n----------------------------------------------------------------------------------------------\n-This case tests Rx interrupt of split ring virtio-user with vhost-user as the back-end when vhost uses the asynchronous operations with CBDMA channels.\n+Test Case 2: Split ring virtio-user interrupt test with vhost-user as backend and cbdma enable\n+----------------------------------------------------------------------------------------------\n+This case tests Rx interrupt of split ring virtio-user with vhost-user as the back-end when\n+vhost uses the asynchronous operations with CBDMA channels.\n Flow: TG --> NIC --> Vhost --> Virtio\n \n-1. Bind 1 CBDMA channel and 1 NIC port to vfio-pci, launch testpmd with a virtual vhost device as backend::\n+1. Bind 1 CBDMA port and 1 NIC port to vfio-pci, launch testpmd with a virtual vhost device as backend::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7c -n 4 --vdev 'net_vhost0,iface=vhost-net,queues=1,dmas=[txq0;rxq0]' \\\n-    -- -i  --rxq=1 --txq=1 --lcore-dma=[lcore3@0000:00:04.0,lcore3@0000:00:04.1]\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7c -n 4 -a 0000:af:00.0 -a 0000:00:04.0 \\\n+    --vdev 'net_vhost0,iface=vhost-net,queues=1,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n+    -- -i  --rxq=1 --txq=1\n     testpmd> start\n \n 2. Start l3fwd-power with a virtio-user device::\n@@ -101,22 +105,25 @@ Flow: TG --> NIC --> Vhost --> Virtio\n \n 5. Restart sending packets with packet generator, check virtio-user related core change to wakeup status again.\n \n-Test Case3: Packed ring LSC event between vhost-user and virtio-user with cbdma enable\n---------------------------------------------------------------------------------------\n-This case tests the LSC interrupt of packed ring virtio-user with vhost-user as the back-end\n-when vhost uses the asynchronous operations with CBDMA channels.\n+Test Case 3: Packed ring LSC event between vhost-user and virtio-user with cbdma enable\n+---------------------------------------------------------------------------------------\n+This case tests the LSC interrupt of packed ring virtio-user with vhost-user as the\n+back-end when vhost uses the asynchronous operations with CBDMA channels.\n Flow: Vhost <--> Virtio\n \n-1. Bind one cbdma port to vfio-pci driver, then start vhost-user side::\n+1. Bind 1 CBDMA port to vfio-pci driver, then start vhost-user side::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3000 -n 4 -a 00:04.0 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0,dmas=[txq0;rxq0]' \\\n-    -- -i --lcore-dma=[lcore13@0000:00:04.0,lcore13@0000:00:04.1]\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3000 -n 4 -a 0000:00:04.0 --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n+    -- -i\n     testpmd> set fwd mac\n     testpmd> start\n \n 2. Start virtio-user side::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,packed_vq=1 -- -i --tx-offloads=0x00\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,packed_vq=1 \\\n+    -- -i --tx-offloads=0x00\n     testpmd> set fwd mac\n     testpmd> start\n \n@@ -130,16 +137,18 @@ Flow: Vhost <--> Virtio\n     testpmd>  show port info 0\n     #it should show \"down\"\n \n-Test Case4: Packed ring virtio-user interrupt test with vhost-user as backend and cbdma enable\n-----------------------------------------------------------------------------------------------\n-This case tests Rx interrupt of packed ring virtio-user with vhost-user as the back-end when vhost uses the asynchronous operations with CBDMA channels.\n+Test Case 4: Packed ring virtio-user interrupt test with vhost-user as backend and cbdma enable\n+-----------------------------------------------------------------------------------------------\n+This case tests Rx interrupt of packed ring virtio-user with vhost-user as the back-end when\n+vhost uses the asynchronous operations with CBDMA channels.\n \n flow: TG --> NIC --> Vhost --> Virtio\n \n-1. Bind one cbdma port and one NIC port to vfio-pci, launch testpmd with a virtual vhost device as backend::\n+1. Bind 1 CBDMA port and 1 NIC port to vfio-pci, launch testpmd with a virtual vhost device as backend::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7c -n 4 --vdev 'net_vhost0,iface=vhost-net,queues=1,dmas=[txq0;rxq0]' \\\n-    -- -i  --rxq=1 --txq=1 --lcore-dma=[lcore3@0000:00:04.0]\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7c -n 4 -a 0000:af:00.0 -a 0000:00:04.0 \\\n+    --vdev 'net_vhost0,iface=vhost-net,queues=1,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n+    -- -i  --rxq=1 --txq=1\n     testpmd> start\n \n 2. Start l3fwd-power with a virtio-user device::\n@@ -152,4 +161,3 @@ flow: TG --> NIC --> Vhost --> Virtio\n 4. Stop sending packets with packet generator, check virtio-user related core change to sleep status.\n \n 5. Restart sending packets with packet generator, check virtio-user related core change to wakeup status again.\n-\n",
    "prefixes": [
        "V1",
        "1/2"
    ]
}