Show a cover letter.

GET /api/covers/95586/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 95586,
    "url": "http://patchwork.dpdk.org/api/covers/95586/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/1625823790-91995-1-git-send-email-jiayu.hu@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": "<1625823790-91995-1-git-send-email-jiayu.hu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1625823790-91995-1-git-send-email-jiayu.hu@intel.com",
    "date": "2021-07-09T09:43:07",
    "name": "[v3,0/3] provide thread unsafe async registration functions",
    "submitter": {
        "id": 539,
        "url": "http://patchwork.dpdk.org/api/people/539/?format=api",
        "name": "Hu, Jiayu",
        "email": "jiayu.hu@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/1625823790-91995-1-git-send-email-jiayu.hu@intel.com/mbox/",
    "series": [
        {
            "id": 17729,
            "url": "http://patchwork.dpdk.org/api/series/17729/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17729",
            "date": "2021-07-09T09:43:07",
            "name": "provide thread unsafe async registration functions",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/17729/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/covers/95586/comments/",
    "headers": {
        "Return-Path": "<dev-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 CA8A4A0A0C;\n\tFri,  9 Jul 2021 05:15:22 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4F4CE4014D;\n\tFri,  9 Jul 2021 05:15:22 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 0B83340143\n for <dev@dpdk.org>; Fri,  9 Jul 2021 05:15:20 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Jul 2021 20:15:20 -0700",
            "from npg_dpdk_virtio_jiayuhu_07.sh.intel.com ([10.67.119.25])\n by orsmga002.jf.intel.com with ESMTP; 08 Jul 2021 20:15:18 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10039\"; a=\"209454925\"",
            "E=Sophos;i=\"5.84,225,1620716400\"; d=\"scan'208\";a=\"209454925\"",
            "E=Sophos;i=\"5.84,225,1620716400\"; d=\"scan'208\";a=\"428606853\""
        ],
        "X-ExtLoop1": "1",
        "From": "Jiayu Hu <jiayu.hu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "maxime.coquelin@redhat.com, chenbo.xia@intel.com, yinan.wang@intel.com,\n Jiayu Hu <jiayu.hu@intel.com>",
        "Date": "Fri,  9 Jul 2021 05:43:07 -0400",
        "Message-Id": "<1625823790-91995-1-git-send-email-jiayu.hu@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1625656687-40604-2-git-send-email-jiayu.hu@intel.com>",
        "References": "<1625656687-40604-2-git-send-email-jiayu.hu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 0/3] provide thread unsafe async registration\n functions",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Lock protection is needed during the vhost notifies the application of\ndevice readiness, so the first patch adds lock protection. In addition,\nthe second patch reworks async feature structure to improve readability.\nAfter performing locking, existed async vhost registration functions will\ncause deadlock, as they acquire lock too. The last patch provides thread\nunsafe registration functions to support calling within vhost callback\nfunctions.\n\nv3:\n* rename and use enum to define async device features\n* change padding fields to 8 bytes\nv2:\n* rework async feature structure\n* fix typo in commit log\n\nJiayu Hu (3):\n  vhost: fix lock on device readiness notification\n  vhost: rework async configuration struct\n  vhost: add thread unsafe async registeration functions\n\n doc/guides/prog_guide/vhost_lib.rst |  31 +++++--\n examples/vhost/main.c               |   8 +-\n lib/vhost/rte_vhost_async.h         |  74 ++++++++++++----\n lib/vhost/version.map               |   4 +\n lib/vhost/vhost.c                   | 165 +++++++++++++++++++++++++++---------\n lib/vhost/vhost_user.c              |   5 +-\n 6 files changed, 213 insertions(+), 74 deletions(-)"
}