get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120042,
    "url": "https://patches.dpdk.org/api/patches/120042/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20221122070235.2894618-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": "<20221122070235.2894618-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221122070235.2894618-1-weix.ling@intel.com",
    "date": "2022-11-22T07:02:35",
    "name": "[V4,2/2] tests/vhost_virtio_pmd_interrupt_cbdma: modify the dmas parameter by DPDK changed",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ad5470a80af5f042227e65a7c2e3ce6c0e4f7afc",
    "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/20221122070235.2894618-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 25850,
            "url": "https://patches.dpdk.org/api/series/25850/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=25850",
            "date": "2022-11-22T07:02:08",
            "name": "modify the dmas parameter by DPDK changed",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/25850/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/120042/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/120042/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 71D14A057F;\n\tTue, 22 Nov 2022 08:08:29 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6AC0A42D4B;\n\tTue, 22 Nov 2022 08:08:29 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 816E8427EB\n for <dts@dpdk.org>; Tue, 22 Nov 2022 08:08:27 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Nov 2022 23:08:26 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Nov 2022 23:08:23 -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=1669100907; x=1700636907;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=5Un00uMIFg2WEIdhN2ZzZPadH9RTpxlw6mLqGEoILSI=;\n b=Ap0us5LxldkXRu7pLCogusujhLFmOQ6fMajVbyjAWdkXFCtadQfEqbp+\n R7UMDC031jUlSxylLrZiudDOOoYlf9i+typ4SFq4VNnWn8p809/P4CBJ9\n 4pqtZ7RCenEt58je8gkHnJUS52AmRc5GJTHoUj3rzO5aM0utsfDDFsa52\n XQUvVU75VRlAubJUMiVZNDW/YcboQ10SMbr33kZ5pWyCqRXTB0MzidLsH\n kPUVrnP2cBGmeCaq3zpAn0mbpo5gws+Q7BbxsddMHA8fOiH3f+SQy36J2\n 3ToRMaWA17V3HH4quKTaqtcisWLbPiBjOCdGmGx8vMxyuJa+vHR4FWiiG g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10538\"; a=\"297106770\"",
            "E=Sophos;i=\"5.96,183,1665471600\";\n d=\"scan'208,223\";a=\"297106770\"",
            "E=McAfee;i=\"6500,9779,10538\"; a=\"747231913\"",
            "E=Sophos;i=\"5.96,183,1665471600\";\n d=\"scan'208,223\";a=\"747231913\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V4 2/2] tests/vhost_virtio_pmd_interrupt_cbdma: modify\n the dmas parameter by DPDK changed",
        "Date": "Tue, 22 Nov 2022 15:02:35 +0800",
        "Message-Id": "<20221122070235.2894618-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 testsuite.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...tSuite_vhost_virtio_pmd_interrupt_cbdma.py | 241 ++++++++++--------\n 1 file changed, 134 insertions(+), 107 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt_cbdma.py b/tests/TestSuite_vhost_virtio_pmd_interrupt_cbdma.py\nindex 2d51dbf0..211e68ca 100644\n--- a/tests/TestSuite_vhost_virtio_pmd_interrupt_cbdma.py\n+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt_cbdma.py\n@@ -252,7 +252,7 @@ class TestVhostVirtioPmdInterruptCbdma(TestCase):\n             pci_info = re.search(\"\\s*(0000:\\S*:\\d*.\\d*)\", device)\n             if pci_info is not None:\n                 dev_info = pci_info.group(1)\n-                # the numa id of ioat dev, only add the device which on same socket with nic dev\n+                # the numa id of DMA dev, only add the device which on same socket with NIC dev\n                 bus = int(dev_info[5:7], base=16)\n                 if bus >= 128:\n                     cur_socket = 1\n@@ -293,9 +293,6 @@ class TestVhostVirtioPmdInterruptCbdma(TestCase):\n         if self.vm_dut is not None:\n             vm_dut2 = self.vm_dut.create_session(name=\"vm_dut2\")\n             vm_dut2.send_expect(\"killall %s\" % self.l3fwdpower_name, \"# \", 10)\n-            # self.vm_dut.send_expect(\"killall l3fwd-power\", \"# \", 60, alt_session=True)\n-            self.vm_dut.send_expect(\"cp /tmp/main.c ./examples/l3fwd-power/\", \"#\", 15)\n-            out = self.vm_dut.build_dpdk_apps(\"examples/l3fwd-power\")\n             self.vm.stop()\n             self.dut.close_session(vm_dut2)\n         self.vhost_pmd.quit()\n@@ -305,65 +302,78 @@ class TestVhostVirtioPmdInterruptCbdma(TestCase):\n         Test Case1: Basic virtio0.95 interrupt test with 16 queues and cbdma enable\n         \"\"\"\n         self.get_cbdma_ports_info_and_bind_to_dpdk(cbdma_num=16, allow_diff_socket=True)\n-        lcore_dma = (\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s\"\n+        dmas = (\n+            \"txq0@%s;\"\n+            \"txq1@%s;\"\n+            \"txq2@%s;\"\n+            \"txq3@%s;\"\n+            \"txq4@%s;\"\n+            \"txq5@%s;\"\n+            \"txq6@%s;\"\n+            \"txq7@%s;\"\n+            \"txq8@%s;\"\n+            \"txq9@%s;\"\n+            \"txq10@%s;\"\n+            \"txq11@%s;\"\n+            \"txq12@%s;\"\n+            \"txq13@%s;\"\n+            \"txq14@%s;\"\n+            \"txq15@%s;\"\n+            \"rxq0@%s;\"\n+            \"rxq1@%s;\"\n+            \"rxq2@%s;\"\n+            \"rxq3@%s;\"\n+            \"rxq4@%s;\"\n+            \"rxq5@%s;\"\n+            \"rxq6@%s;\"\n+            \"rxq7@%s;\"\n+            \"rxq8@%s;\"\n+            \"rxq9@%s;\"\n+            \"rxq10@%s;\"\n+            \"rxq11@%s;\"\n+            \"rxq12@%s;\"\n+            \"rxq13@%s;\"\n+            \"rxq14@%s;\"\n+            \"rxq15@%s\"\n             % (\n-                self.vhost_core_list[1],\n                 self.cbdma_list[0],\n-                self.vhost_core_list[2],\n+                self.cbdma_list[1],\n+                self.cbdma_list[2],\n+                self.cbdma_list[3],\n+                self.cbdma_list[4],\n+                self.cbdma_list[5],\n+                self.cbdma_list[6],\n+                self.cbdma_list[7],\n+                self.cbdma_list[8],\n+                self.cbdma_list[9],\n+                self.cbdma_list[10],\n+                self.cbdma_list[11],\n+                self.cbdma_list[12],\n+                self.cbdma_list[13],\n+                self.cbdma_list[14],\n+                self.cbdma_list[15],\n                 self.cbdma_list[0],\n-                self.vhost_core_list[3],\n                 self.cbdma_list[1],\n-                self.vhost_core_list[3],\n                 self.cbdma_list[2],\n-                self.vhost_core_list[4],\n                 self.cbdma_list[3],\n-                self.vhost_core_list[5],\n                 self.cbdma_list[4],\n-                self.vhost_core_list[6],\n                 self.cbdma_list[5],\n-                self.vhost_core_list[7],\n                 self.cbdma_list[6],\n-                self.vhost_core_list[8],\n                 self.cbdma_list[7],\n-                self.vhost_core_list[9],\n                 self.cbdma_list[8],\n-                self.vhost_core_list[10],\n                 self.cbdma_list[9],\n-                self.vhost_core_list[11],\n                 self.cbdma_list[10],\n-                self.vhost_core_list[12],\n                 self.cbdma_list[11],\n-                self.vhost_core_list[13],\n                 self.cbdma_list[12],\n-                self.vhost_core_list[14],\n                 self.cbdma_list[13],\n-                self.vhost_core_list[15],\n                 self.cbdma_list[14],\n-                self.vhost_core_list[16],\n                 self.cbdma_list[15],\n             )\n         )\n-        vhost_param = (\n-            \"--nb-cores=16 --rxq=16 --txq=16 --rss-ip --lcore-dma=[%s]\" % lcore_dma\n+        vhost_param = \"--nb-cores=16 --rxq=16 --txq=16 --rss-ip\"\n+        vhost_eal_param = (\n+            \"--vdev 'eth_vhost0,iface=vhost-net,queues=16,dmas=[%s]'\" % dmas\n         )\n-        vhost_eal_param = \"--vdev 'eth_vhost0,iface=vhost-net,queues=16,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;txq6;txq7;txq8;txq9;txq10;txq11;txq12;txq13;txq14;txq15;rxq0;rxq1;rxq2;rxq3;rxq4;rxq5;rxq6;rxq7;rxq8;rxq9;rxq10;rxq11;rxq12;rxq13;rxq14;rxq15]'\"\n         ports = self.cbdma_list\n         ports.append(self.dut.ports_info[0][\"pci\"])\n         self.vhost_pmd.start_testpmd(\n@@ -386,26 +396,30 @@ class TestVhostVirtioPmdInterruptCbdma(TestCase):\n         Test Case2: Basic virtio-1.0 interrupt test with 4 queues and cbdma enable\n         \"\"\"\n         self.get_cbdma_ports_info_and_bind_to_dpdk(cbdma_num=4)\n-        lcore_dma = (\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n+        dmas = (\n+            \"txq0@%s;\"\n+            \"txq1@%s;\"\n+            \"txq2@%s;\"\n+            \"txq3@%s;\"\n+            \"rxq0@%s;\"\n+            \"rxq1@%s;\"\n+            \"rxq2@%s;\"\n+            \"rxq3@%s\"\n             % (\n-                self.vhost_core_list[1],\n                 self.cbdma_list[0],\n-                self.vhost_core_list[2],\n+                self.cbdma_list[0],\n+                self.cbdma_list[0],\n+                self.cbdma_list[0],\n+                self.cbdma_list[1],\n+                self.cbdma_list[1],\n+                self.cbdma_list[1],\n                 self.cbdma_list[1],\n-                self.vhost_core_list[3],\n-                self.cbdma_list[2],\n-                self.vhost_core_list[4],\n-                self.cbdma_list[3],\n             )\n         )\n-        vhost_param = (\n-            \"--nb-cores=4 --rxq=4 --txq=4 --rss-ip --lcore-dma=[%s]\" % lcore_dma\n+        vhost_param = \"--nb-cores=4 --rxq=4 --txq=4 --rss-ip\"\n+        vhost_eal_param = (\n+            \"--vdev 'net_vhost0,iface=vhost-net,queues=4,dmas=[%s]'\" % dmas\n         )\n-        vhost_eal_param = \"--vdev 'net_vhost0,iface=vhost-net,queues=4,dmas=[txq0;txq1;txq2;txq3;rxq0;rxq1;rxq2;rxq3]'\"\n         ports = self.cbdma_list\n         ports.append(self.dut.ports_info[0][\"pci\"])\n         self.vhost_pmd.start_testpmd(\n@@ -429,66 +443,79 @@ class TestVhostVirtioPmdInterruptCbdma(TestCase):\n         \"\"\"\n         Test Case3: Packed ring virtio interrupt test with 16 queues and cbdma enable\n         \"\"\"\n-        self.get_cbdma_ports_info_and_bind_to_dpdk(cbdma_num=16, allow_diff_socket=True)\n-        lcore_dma = (\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s,\"\n-            \"lcore%s@%s\"\n+        self.get_cbdma_ports_info_and_bind_to_dpdk(cbdma_num=4, allow_diff_socket=True)\n+        dmas = (\n+            \"txq0@%s;\"\n+            \"txq1@%s;\"\n+            \"txq2@%s;\"\n+            \"txq3@%s;\"\n+            \"txq4@%s;\"\n+            \"txq5@%s;\"\n+            \"txq6@%s;\"\n+            \"txq7@%s;\"\n+            \"txq8@%s;\"\n+            \"txq9@%s;\"\n+            \"txq10@%s;\"\n+            \"txq11@%s;\"\n+            \"txq12@%s;\"\n+            \"txq13@%s;\"\n+            \"txq14@%s;\"\n+            \"txq15@%s;\"\n+            \"rxq0@%s;\"\n+            \"rxq1@%s;\"\n+            \"rxq2@%s;\"\n+            \"rxq3@%s;\"\n+            \"rxq4@%s;\"\n+            \"rxq5@%s;\"\n+            \"rxq6@%s;\"\n+            \"rxq7@%s;\"\n+            \"rxq8@%s;\"\n+            \"rxq9@%s;\"\n+            \"rxq10@%s;\"\n+            \"rxq11@%s;\"\n+            \"rxq12@%s;\"\n+            \"rxq13@%s;\"\n+            \"rxq14@%s;\"\n+            \"rxq15@%s\"\n             % (\n-                self.vhost_core_list[1],\n                 self.cbdma_list[0],\n-                self.vhost_core_list[2],\n                 self.cbdma_list[0],\n-                self.vhost_core_list[3],\n+                self.cbdma_list[0],\n+                self.cbdma_list[0],\n+                self.cbdma_list[1],\n+                self.cbdma_list[1],\n                 self.cbdma_list[1],\n-                self.vhost_core_list[3],\n+                self.cbdma_list[1],\n+                self.cbdma_list[2],\n+                self.cbdma_list[2],\n+                self.cbdma_list[2],\n                 self.cbdma_list[2],\n-                self.vhost_core_list[4],\n                 self.cbdma_list[3],\n-                self.vhost_core_list[5],\n-                self.cbdma_list[4],\n-                self.vhost_core_list[6],\n-                self.cbdma_list[5],\n-                self.vhost_core_list[7],\n-                self.cbdma_list[6],\n-                self.vhost_core_list[8],\n-                self.cbdma_list[7],\n-                self.vhost_core_list[9],\n-                self.cbdma_list[8],\n-                self.vhost_core_list[10],\n-                self.cbdma_list[9],\n-                self.vhost_core_list[11],\n-                self.cbdma_list[10],\n-                self.vhost_core_list[12],\n-                self.cbdma_list[11],\n-                self.vhost_core_list[13],\n-                self.cbdma_list[12],\n-                self.vhost_core_list[14],\n-                self.cbdma_list[13],\n-                self.vhost_core_list[15],\n-                self.cbdma_list[14],\n-                self.vhost_core_list[16],\n-                self.cbdma_list[15],\n+                self.cbdma_list[3],\n+                self.cbdma_list[3],\n+                self.cbdma_list[3],\n+                self.cbdma_list[0],\n+                self.cbdma_list[0],\n+                self.cbdma_list[0],\n+                self.cbdma_list[0],\n+                self.cbdma_list[1],\n+                self.cbdma_list[1],\n+                self.cbdma_list[1],\n+                self.cbdma_list[1],\n+                self.cbdma_list[2],\n+                self.cbdma_list[2],\n+                self.cbdma_list[2],\n+                self.cbdma_list[2],\n+                self.cbdma_list[3],\n+                self.cbdma_list[3],\n+                self.cbdma_list[3],\n+                self.cbdma_list[3],\n             )\n         )\n-        vhost_param = (\n-            \"--nb-cores=16 --rxq=16 --txq=16 --rss-ip --lcore-dma=[%s]\" % lcore_dma\n+        vhost_param = \"--nb-cores=16 --rxq=16 --txq=16 --rss-ip\"\n+        vhost_eal_param = (\n+            \"--vdev 'eth_vhost0,iface=vhost-net,queues=16,dmas=[%s]'\" % dmas\n         )\n-        vhost_eal_param = \"--vdev 'eth_vhost0,iface=vhost-net,queues=16,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;txq6;txq7;txq8;txq9;txq10;txq11;txq12;txq13;txq14;txq15;rxq0;rxq1;rxq2;rxq3;rxq4;rxq5;rxq6;rxq7;rxq8;rxq9;rxq10;rxq11;rxq12;rxq13;rxq14;rxq15]'\"\n         ports = self.cbdma_list\n         ports.append(self.dut.ports_info[0][\"pci\"])\n         self.vhost_pmd.start_testpmd(\n",
    "prefixes": [
        "V4",
        "2/2"
    ]
}