get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48370,
    "url": "http://patchwork.dpdk.org/api/patches/48370/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20181128094607.106173-1-xiao.w.wang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20181128094607.106173-1-xiao.w.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20181128094607.106173-1-xiao.w.wang@intel.com",
    "date": "2018-11-28T09:45:58",
    "name": "[0/9] support SW assisted VDPA live migration",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 281,
        "url": "http://patchwork.dpdk.org/api/people/281/?format=api",
        "name": "Xiao Wang",
        "email": "xiao.w.wang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20181128094607.106173-1-xiao.w.wang@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/48370/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/48370/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 372071B3C0;\n\tWed, 28 Nov 2018 10:55:44 +0100 (CET)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id A32C81B395\n\tfor <dev@dpdk.org>; Wed, 28 Nov 2018 10:55:42 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Nov 2018 01:55:41 -0800",
            "from dpdk-xiao-1.sh.intel.com ([10.67.111.106])\n\tby orsmga001.jf.intel.com with ESMTP; 28 Nov 2018 01:55:40 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.56,290,1539673200\"; d=\"scan'208\";a=\"112891104\"",
        "From": "Xiao Wang <xiao.w.wang@intel.com>",
        "To": "tiwei.bie@intel.com,\n\tmaxime.coquelin@redhat.com",
        "Cc": "dev@dpdk.org, zhihong.wang@intel.com, xiaolong.ye@intel.com,\n\tXiao Wang <xiao.w.wang@intel.com>",
        "Date": "Wed, 28 Nov 2018 17:45:58 +0800",
        "Message-Id": "<20181128094607.106173-1-xiao.w.wang@intel.com>",
        "X-Mailer": "git-send-email 2.15.1",
        "Subject": "[dpdk-dev] [PATCH 0/9] support SW assisted VDPA live migration",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "In the previous VDPA implementation we have enabled live migration support\nby HW accelerator doing all the stuff, including dirty page logging and\ndevice status report/restore. In this mode VDPA sample daemon and device\ndriver just takes care of the control path and does not involve in data\npath, so there's almost 0 CPU resource usage. This mode requires device\nto have dirty page logging capability.\n\nThis patch series adds live migration support for devices without logging\ncapability. VDPA driver could set up a relay thread standing between the\nguest and device when live migration happens, this relay intervenes into\nthe communication between guest virtio driver and physical virtio\naccelerator, it helps device to do a vring relay and passingly log dirty\npages. Thus some CPU resource will be consumed in this scenario, percentage\ndepending on the network throughput.\n\nSome new helpers are added into vhost lib for this VDPA SW fallback:\n- rte_vhost_host_notifier_ctrl, to enable/disable the VDPA direct-IO\n  datapath.\n- rte_vdpa_relay_avail_ring, to relay the available ring from guest vring\n  to mediate vring.\n- rte_vdpa_relay_used_ring, to relay the used ring from mediate vring to\n  guest vring.\n\nSome existing helpers are also leveraged for SW fallback setup, like VFIO\ninterrupt configuration, IOMMU table programming, etc.\n\nThis patch enables this SW assisted VDPA live migration in ifc driver.\nSince ifcvf also supports HW dirty page logging, we add a new devarg\nfor user to select if the SW mode is used or not.\n\nXiao Wang (9):\n  vhost: provide helper for host notifier ctrl\n  vhost: provide helpers for virtio ring relay\n  net/ifc: dump debug message for error\n  net/ifc: store only registered device instance\n  net/ifc: detect if VDPA mode is specified\n  net/ifc: add devarg for LM mode\n  net/ifc: use lib API for used ring logging\n  net/ifc: support SW assisted VDPA live migration\n  doc: update ifc NIC document\n\n doc/guides/nics/ifc.rst                |   7 +\n drivers/net/ifc/base/ifcvf.h           |   1 +\n drivers/net/ifc/ifcvf_vdpa.c           | 463 ++++++++++++++++++++++++++++++---\n lib/librte_vhost/rte_vdpa.h            |  56 ++++\n lib/librte_vhost/rte_vhost_version.map |   3 +\n lib/librte_vhost/vdpa.c                | 173 ++++++++++++\n lib/librte_vhost/vhost.c               |   3 +-\n lib/librte_vhost/vhost.h               |  40 +++\n lib/librte_vhost/vhost_user.c          |   7 +-\n lib/librte_vhost/virtio_net.c          |  39 ---\n 10 files changed, 714 insertions(+), 78 deletions(-)",
    "diff": null,
    "prefixes": [
        "0/9"
    ]
}