get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126418,
    "url": "https://patches.dpdk.org/api/patches/126418/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20230423031145.13722-1-dukaix.yuan@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": "<20230423031145.13722-1-dukaix.yuan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230423031145.13722-1-dukaix.yuan@intel.com",
    "date": "2023-04-23T03:11:45",
    "name": "[V2] tests/vhost_async_robust_cbdma: Optimize calling virtio_common API method",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "d3a436264cde24c0fa4d2197c11dfb271ffc4395",
    "submitter": {
        "id": 2823,
        "url": "https://patches.dpdk.org/api/people/2823/?format=api",
        "name": "Yuan, DukaiX",
        "email": "dukaix.yuan@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20230423031145.13722-1-dukaix.yuan@intel.com/mbox/",
    "series": [
        {
            "id": 27824,
            "url": "https://patches.dpdk.org/api/series/27824/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=27824",
            "date": "2023-04-23T03:11:45",
            "name": "[V2] tests/vhost_async_robust_cbdma: Optimize calling virtio_common API method",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/27824/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/126418/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/126418/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 CC64942955;\n\tSun, 23 Apr 2023 05:17:23 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 994334021D;\n\tSun, 23 Apr 2023 05:17:23 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id C23FB40156\n for <dts@dpdk.org>; Sun, 23 Apr 2023 05:17:22 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Apr 2023 20:17:21 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.15])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Apr 2023 20:17:20 -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=1682219842; x=1713755842;\n h=from:to:cc:subject:date:message-id;\n bh=nUiTyMw6/TeI+Kqu0sZoR2sgYZNnnsH2OecCQqE3mYw=;\n b=NQnKL7B/aqyJMjprAONlZ6/Vs8elk4LalUJn/qkGB4AfgAWD/3YdRvkO\n nf/JoUGomF6KWDkUVA3ClVsLgRKVllvYmU5dh4HWc5t1ayFC38ZkDBWLt\n C8be2Vh72PwDHMI/hFo3Nd44WcR+0kJlMLZmMpAgZ3xMkr8A99BQWuWOn\n n04781w8CK6iW5bjxoTsU0ai6mjGtWtd+lGjiCXlVaeoRlMGKeQcncSr+\n Xg+SLZEbFXwLg62guTMQfRBmJ+/E291diA1RXEEkUI7SwtKY8pSw0Eqm6\n LiSG84jkRLu6pMYtIQtPPuX+VEdzbbtaJRWk5hf+UVkQMVdosT+1TNAhJ Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10688\"; a=\"330439637\"",
            "E=Sophos;i=\"5.99,219,1677571200\"; d=\"scan'208\";a=\"330439637\"",
            "E=McAfee;i=\"6600,9927,10688\"; a=\"757294862\"",
            "E=Sophos;i=\"5.99,219,1677571200\"; d=\"scan'208\";a=\"757294862\""
        ],
        "X-ExtLoop1": "1",
        "From": "Dukai Yuan <dukaix.yuan@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Dukai Yuan <dukaix.yuan@intel.com>",
        "Subject": "[dts][PATCH V2] tests/vhost_async_robust_cbdma: Optimize calling\n virtio_common API method",
        "Date": "Sun, 23 Apr 2023 11:11:45 +0800",
        "Message-Id": "<20230423031145.13722-1-dukaix.yuan@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "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 tests/virtio_common.py have been optimized, so modify this suite\nwhich calls the virtio_common API in cbdma_common() class.\n\nSigned-off-by: Dukai Yuan <dukaix.yuan@intel.com>\n---\n tests/TestSuite_vhost_async_robust_cbdma.py | 28 ++++++++++-----------\n 1 file changed, 14 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vhost_async_robust_cbdma.py b/tests/TestSuite_vhost_async_robust_cbdma.py\nindex fda7cdfe..cd163fd8 100644\n--- a/tests/TestSuite_vhost_async_robust_cbdma.py\n+++ b/tests/TestSuite_vhost_async_robust_cbdma.py\n@@ -58,7 +58,7 @@ class TestVhostAsyncRobustCbdma(TestCase):\n         self.dut.send_expect(\"rm -rf ./vhost-net*\", \"#\")\n         self.dut.send_expect(\"killall -s INT %s\" % self.testpmd_name, \"#\")\n         self.dut.send_expect(\"killall -s INT qemu-system-x86_64\", \"#\")\n-        self.CC.bind_all_cbdma_to_kernel()\n+        self.CC.bind_cbdma_to_kernel_driver()\n \n     @property\n     def check_2M_env(self):\n@@ -359,8 +359,8 @@ class TestVhostAsyncRobustCbdma(TestCase):\n         \"\"\"\n         Test Case 1: PVP virtio-user quit test\n         \"\"\"\n-        cdbmas = self.CC.bind_cbdma_to_dpdk(\n-            cbdma_number=1, driver_name=\"vfio-pci\", socket=self.ports_socket\n+        cdbmas = self.CC.bind_cbdma_to_dpdk_driver(\n+            cbdma_num=1, driver_name=\"vfio-pci\", socket=self.ports_socket\n         )\n         dmas = \"txq0@%s;rxq0@%s\" % (cdbmas[0], cdbmas[0])\n         vhost_eal_param = (\n@@ -397,8 +397,8 @@ class TestVhostAsyncRobustCbdma(TestCase):\n         \"\"\"\n         Test Case 2: PVP vhost-user quit test\n         \"\"\"\n-        cdbmas = self.CC.bind_cbdma_to_dpdk(\n-            cbdma_number=1, driver_name=\"vfio-pci\", socket=self.ports_socket\n+        cdbmas = self.CC.bind_cbdma_to_dpdk_driver(\n+            cbdma_num=1, driver_name=\"vfio-pci\", socket=self.ports_socket\n         )\n         dmas = \"txq0@%s;rxq0@%s\" % (cdbmas[0], cdbmas[0])\n         vhost_eal_param = (\n@@ -437,8 +437,8 @@ class TestVhostAsyncRobustCbdma(TestCase):\n         \"\"\"\n         Test Case 3: PVP vhost async test with redundant device parameters\n         \"\"\"\n-        cdbmas = self.CC.bind_cbdma_to_dpdk(\n-            cbdma_number=4, driver_name=\"vfio-pci\", socket=self.ports_socket\n+        cdbmas = self.CC.bind_cbdma_to_dpdk_driver(\n+            cbdma_num=4, driver_name=\"vfio-pci\", socket=self.ports_socket\n         )\n         dmas = \"txq0@%s;rxq0@%s\" % (cdbmas[1], cdbmas[1])\n         vhost_eal_param = (\n@@ -472,8 +472,8 @@ class TestVhostAsyncRobustCbdma(TestCase):\n         \"\"\"\n         Test Case 4: Loopback vhost async test with each queue using 2 DMA devices\n         \"\"\"\n-        cdbmas = self.CC.bind_cbdma_to_dpdk(\n-            cbdma_number=3, driver_name=\"vfio-pci\", socket=self.ports_socket\n+        cdbmas = self.CC.bind_cbdma_to_dpdk_driver(\n+            cbdma_num=3, driver_name=\"vfio-pci\", socket=self.ports_socket\n         )\n         dmas = \"txq0@%s;txq0@%s;rxq0@%s;rxq0@%s\" % (\n             cdbmas[0],\n@@ -510,8 +510,8 @@ class TestVhostAsyncRobustCbdma(TestCase):\n         \"\"\"\n         Test Case 5: Loopback vhost async test with dmas parameters out of order\n         \"\"\"\n-        cdbmas = self.CC.bind_cbdma_to_dpdk(\n-            cbdma_number=2, driver_name=\"vfio-pci\", socket=self.ports_socket\n+        cdbmas = self.CC.bind_cbdma_to_dpdk_driver(\n+            cbdma_num=2, driver_name=\"vfio-pci\", socket=self.ports_socket\n         )\n         dmas = \"rxq3@%s;txq0@%s;rxq1@%s;txq2@%s\" % (\n             cdbmas[1],\n@@ -550,8 +550,8 @@ class TestVhostAsyncRobustCbdma(TestCase):\n         \"\"\"\n         Test Case 6: VM2VM split and packed ring mergeable path with cbdma enable and server mode\n         \"\"\"\n-        cdbmas = self.CC.bind_cbdma_to_dpdk(\n-            cbdma_number=16, driver_name=\"vfio-pci\", socket=-1\n+        cdbmas = self.CC.bind_cbdma_to_dpdk_driver(\n+            cbdma_num=16, driver_name=\"vfio-pci\", socket=-1\n         )\n         dmas1 = (\n             \"txq0@%s;\"\n@@ -690,7 +690,7 @@ class TestVhostAsyncRobustCbdma(TestCase):\n     def tear_down(self):\n         self.dut.send_expect(\"killall -s INT %s\" % self.testpmd_name, \"#\")\n         self.dut.send_expect(\"killall -s INT qemu-system-x86_64\", \"#\")\n-        self.CC.bind_all_cbdma_to_kernel()\n+        self.CC.bind_cbdma_to_kernel_driver()\n \n     def tear_down_all(self):\n         self.close_all_session()\n",
    "prefixes": [
        "V2"
    ]
}