get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90772,
    "url": "http://patches.dpdk.org/api/patches/90772/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210407154748.823186-2-yinan.wang@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": "<20210407154748.823186-2-yinan.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210407154748.823186-2-yinan.wang@intel.com",
    "date": "2021-04-07T15:47:47",
    "name": "[V2,2/3] test_plans/vhost_virtio_user_interrupt_test_plan.rst",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "acca82c368e9b52852c170540fd6cd25cf12c4e6",
    "submitter": {
        "id": 1081,
        "url": "http://patches.dpdk.org/api/people/1081/?format=api",
        "name": "Wang, Yinan",
        "email": "yinan.wang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210407154748.823186-2-yinan.wang@intel.com/mbox/",
    "series": [
        {
            "id": 16149,
            "url": "http://patches.dpdk.org/api/series/16149/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=16149",
            "date": "2021-04-07T15:47:35",
            "name": "Add cases for cbdma packed ring test",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/16149/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/90772/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/90772/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 7BA6DA0546;\n\tWed,  7 Apr 2021 09:06:15 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7386114100C;\n\tWed,  7 Apr 2021 09:06:15 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 9F2FE4069F\n for <dts@dpdk.org>; Wed,  7 Apr 2021 09:06:13 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Apr 2021 00:06:13 -0700",
            "from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39])\n by orsmga001.jf.intel.com with ESMTP; 07 Apr 2021 00:06:11 -0700"
        ],
        "IronPort-SDR": [
            "\n kPGZaqrScwz2zg15qsBmZbNpXngv1joDIGuA3ho80qzOHZsgfgbW2+gloGyZ2RqD9MsXk6Qes9\n cUry2yMMf26A==",
            "\n TlFlnsJ6VhcgMMEy48uoC3ER2rK9IslekmM5nsCP9dx++s97xYUPVPFCnd7fadfKbeXqREAP8Y\n AZbrYq/334vw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9946\"; a=\"190036758\"",
            "E=Sophos;i=\"5.82,201,1613462400\"; d=\"scan'208\";a=\"190036758\"",
            "E=Sophos;i=\"5.82,201,1613462400\"; d=\"scan'208\";a=\"458235964\""
        ],
        "X-ExtLoop1": "1",
        "From": "Yinan Wang <yinan.wang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yinan Wang <yinan.wang@intel.com>",
        "Date": "Wed,  7 Apr 2021 11:47:47 -0400",
        "Message-Id": "<20210407154748.823186-2-yinan.wang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210407154748.823186-1-yinan.wang@intel.com>",
        "References": "<20210407154748.823186-1-yinan.wang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V2 2/3]\n test_plans/vhost_virtio_user_interrupt_test_plan.rst",
        "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": "Add cases for cbdma packed ring test.\n\nSigned-off-by: Yinan Wang <yinan.wang@intel.com>\n---\n .../vhost_virtio_user_interrupt_test_plan.rst | 48 +++++++++++++++++++\n 1 file changed, 48 insertions(+)",
    "diff": "diff --git a/test_plans/vhost_virtio_user_interrupt_test_plan.rst b/test_plans/vhost_virtio_user_interrupt_test_plan.rst\nindex 07c1d882..4ef4cac4 100644\n--- a/test_plans/vhost_virtio_user_interrupt_test_plan.rst\n+++ b/test_plans/vhost_virtio_user_interrupt_test_plan.rst\n@@ -246,3 +246,51 @@ 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+Test Case9: LSC event between vhost-user and virtio-user with packed ring and cbdma enabled\n+===========================================================================================\n+\n+flow: Vhost <--> Virtio\n+\n+1. Bind one cbdma port to igb_uio driver, then start vhost-user side::\n+\n+    ./testpmd -c 0x3000 -n 4 -w 00:04.0 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0,dmas=[txq0@00:04.0]' -- -i\n+    testpmd>set fwd mac\n+    testpmd>start\n+\n+2. Start virtio-user side::\n+\n+    ./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+    testpmd>set fwd mac\n+    testpmd>start\n+\n+3. Check the virtio-user side link status::\n+\n+    testpmd> show port info 0\n+    #it should show \"up\"\n+\n+4. Quit the vhost-user side with testpmd, then check the virtio-user side link status::\n+\n+    testpmd> show port info 0\n+    #it should show \"down\"\n+\n+Test Case10: Packed ring virtio-user interrupt test with vhost-user as backend and cbdma enabled\n+================================================================================================\n+\n+flow: TG --> NIC --> Vhost --> Virtio\n+\n+1. Bind one cbdma port and one NIC port to igb_uio, launch testpmd with a virtual vhost device as backend::\n+\n+    ./testpmd -c 0x7c -n 4 --vdev 'net_vhost0,iface=vhost-net,queues=1,dmas=[txq0@00:04.0]' -- -i  --rxq=1 --txq=1\n+    testpmd>start\n+\n+2. Start l3fwd-power with a virtio-user device::\n+\n+    ./l3fwd-power -c 0xc000 -n 4 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n+    --vdev=virtio_user0,path=./vhost-net,packed_vq=1 -- -p 1 -P --config=\"(0,0,14)\" --parse-ptype\n+\n+3. Send packets with packet generator, check the virtio-user related core can be wakeup status.\n+\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",
    "prefixes": [
        "V2",
        "2/3"
    ]
}