get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87614,
    "url": "https://patches.dpdk.org/api/patches/87614/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210202143715.3877934-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": "<20210202143715.3877934-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210202143715.3877934-1-weix.ling@intel.com",
    "date": "2021-02-02T14:37:15",
    "name": "[V1] tests/vhost_user_interrupt:modify execute virtio-user server side testpmd command after client side started",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f36db88431f6183d2575dc68bdc29b86de37cb0f",
    "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/20210202143715.3877934-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 15084,
            "url": "https://patches.dpdk.org/api/series/15084/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=15084",
            "date": "2021-02-02T14:37:15",
            "name": "[V1] tests/vhost_user_interrupt:modify execute virtio-user server side testpmd command after client side started",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/15084/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87614/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/87614/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 8AD08A052A;\n\tTue,  2 Feb 2021 07:44:04 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5B14C24026E;\n\tTue,  2 Feb 2021 07:44:04 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 9B19B24026D\n for <dts@dpdk.org>; Tue,  2 Feb 2021 07:44:02 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Feb 2021 22:44:01 -0800",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Feb 2021 22:43:59 -0800"
        ],
        "IronPort-SDR": [
            "\n rSzAmd6qFNeHb2Bdm5Egr5q7IkY6Wwq4yMTwjw9cv3Q53M58eoxcc9DauLZgrn0DKTrhfYC8Da\n FIC2wPUnVksA==",
            "\n J6tBtcBid8EC/0uTfnsqAyB4S57VjAKuPxbwHOb8JiozHI+TAaXjV0fC2oUIb9hyuUt0eAHwRN\n P/smlaW7ny8w=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9882\"; a=\"180883253\"",
            "E=Sophos;i=\"5.79,394,1602572400\"; d=\"scan'208\";a=\"180883253\"",
            "E=Sophos;i=\"5.79,394,1602572400\"; d=\"scan'208\";a=\"581833703\""
        ],
        "From": "Ling Wei <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Ling Wei <weix.ling@intel.com>",
        "Date": "Tue,  2 Feb 2021 14:37:15 +0000",
        "Message-Id": "<20210202143715.3877934-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1] tests/vhost_user_interrupt:modify execute\n virtio-user server side testpmd command after client side started",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "In DPDK 9af79db20f4cf, when launch virtio-user testpmd as server mode,\nvirtio-user server side testpmd expected character will be\n'wait for client side started...', after client side started,\nit change to 'testpmd>', so dts need modify execute virtio-user\nserver side testpmd command after client side started.\n\nSigned-off-by: Ling Wei <weix.ling@intel.com>\n---\n tests/TestSuite_vhost_user_interrupt.py | 8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py\nindex bc340c4..2a10199 100644\n--- a/tests/TestSuite_vhost_user_interrupt.py\n+++ b/tests/TestSuite_vhost_user_interrupt.py\n@@ -108,8 +108,7 @@ class TestVhostUserInterrupt(TestCase):\n             eal_params += \" --single-file-segments\"\n         para = \" -- -i --rxq=%d --txq=%d --rss-ip\" % (self.queues, self.queues)\n         command_line_client =  self.app_testpmd_path + \" \" + eal_params + para\n-        self.virtio_user.send_expect(command_line_client, \"testpmd> \", 120)\n-        self.virtio_user.send_expect(\"set fwd txonly\", \"testpmd> \", 20)\n+        self.virtio_user.send_expect(command_line_client, \"waiting for client connection...\", 120)\n \n     def get_cbdma_ports_info_and_bind_to_dpdk(self, cbdma_num):\n         \"\"\"\n@@ -231,6 +230,7 @@ class TestVhostUserInterrupt(TestCase):\n         self.get_core_list()\n         self.lanuch_virtio_user()\n         self.lanuch_l3fwd_power()\n+        self.virtio_user.send_expect(\"set fwd txonly\", \"testpmd> \", 20)\n         self.send_and_verify()\n \n     def test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled(self):\n@@ -241,6 +241,7 @@ class TestVhostUserInterrupt(TestCase):\n         self.get_core_list()\n         self.lanuch_virtio_user()\n         self.lanuch_l3fwd_power()\n+        self.virtio_user.send_expect(\"set fwd txonly\", \"testpmd> \", 20)\n         self.send_and_verify()\n \n     def test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample(self):\n@@ -251,6 +252,7 @@ class TestVhostUserInterrupt(TestCase):\n         self.get_core_list()\n         self.lanuch_virtio_user(packed=True)\n         self.lanuch_l3fwd_power()\n+        self.virtio_user.send_expect(\"set fwd txonly\", \"testpmd> \", 20)\n         self.send_and_verify()\n \n     def test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled(self):\n@@ -261,6 +263,7 @@ class TestVhostUserInterrupt(TestCase):\n         self.get_core_list()\n         self.lanuch_virtio_user(packed=True)\n         self.lanuch_l3fwd_power()\n+        self.virtio_user.send_expect(\"set fwd txonly\", \"testpmd> \", 20)\n         self.send_and_verify()\n \n     def test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled_and_cbdma_enabled(self):\n@@ -271,6 +274,7 @@ class TestVhostUserInterrupt(TestCase):\n         self.get_core_list()\n         self.lanuch_virtio_user(cbdma=True)\n         self.lanuch_l3fwd_power(cbdma=True)\n+        self.virtio_user.send_expect(\"set fwd txonly\", \"testpmd> \", 20)\n         self.send_and_verify()\n \n     def tear_down(self):\n",
    "prefixes": [
        "V1"
    ]
}