Show a cover letter.

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

{
    "id": 44510,
    "url": "http://patches.dpdk.org/api/covers/44510/?format=api",
    "web_url": "http://patches.dpdk.org/cover/44510/",
    "project": {
        "id": 1,
        "url": "http://patches.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"
    },
    "msgid": "<20180910134633.6087-1-qi.z.zhang@intel.com>",
    "date": "2018-09-10T13:46:33",
    "name": "[RFC,v2,0/2] ethdev: claim device reset as async",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Zhang, Qi Z",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/cover/44510/mbox/",
    "series": [
        {
            "id": 1249,
            "url": "http://patches.dpdk.org/api/series/1249/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1249",
            "date": "2018-09-10T13:46:33",
            "name": "ethdev: claim device reset as async",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/1249/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/44510/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,355,1531810800\"; d=\"scan'208\";a=\"231644332\"",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-ExtLoop1": "1",
        "Delivered-To": "patchwork@dpdk.org",
        "Message-Id": "<20180910134633.6087-1-qi.z.zhang@intel.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A61AC4C94;\n\tMon, 10 Sep 2018 15:45:44 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id F132C11A4\n\tfor <dev@dpdk.org>; Mon, 10 Sep 2018 15:45:42 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Sep 2018 06:45:42 -0700",
            "from dpdk51.sh.intel.com ([10.67.110.190])\n\tby orsmga004.jf.intel.com with ESMTP; 10 Sep 2018 06:45:36 -0700"
        ],
        "X-Mailer": "git-send-email 2.13.6",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Subject": "[dpdk-dev] [RFC v2 0/2] ethdev: claim device reset as async",
        "Precedence": "list",
        "Date": "Mon, 10 Sep 2018 21:46:33 +0800",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Amp-File-Uploaded": "False",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Cc": "dev@dpdk.org, benjamin.h.shelton@intel.com, narender.vangati@intel.com, \n\tbeilei.xing@intel.com, wenzhuo.lu@intel.com,\n\tQi Zhang <qi.z.zhang@intel.com>",
        "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>",
        "To": "thomas@monjalon.net, konstantin.ananyev@intel.com,\n\tdeclan.doherty@intel.com, ferruh.yigit@intel.com",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Device reset may have the dependency, for example, a VF reset expects\nPF ready, or a NIC function as a part of a SOC need to wait for other\nparts of the system be ready, these are time-consuming tasks and will\nblock current thread.\n\nSo we claimed rte_eth_dev_reset as an async API, that makes things\neasy for an application that what to reset the device from the interrupt\nthread since typically a RTE_ETH_EVENT_INTR_RESET handler is invoked\nin interrupt thread.\n\nrte_eth_dev_reset will spawn a new thread to call ops->dev_reset, once\nit is finished, it will raise the RTE_ETH_EVENT_RESET_COMPLETE event to\nnotify the application.\n\nApplication should not assume device reset is finished after\nrte_eth_dev_reset return, it should always wait for a\nRTE_ETH_EVENT_RESET_COMPLETE event and check the reset result.\n\nv2:\n- rte_eth_dev_reset will spawn a thread.\n \nQi Zhang (2):\n  ethdev: claim device reset as async\n  testpmd: enable async device reset\n\n app/test-pmd/testpmd.c         | 50 +++++++++++++++++++++++++++++++++++++++++-\n lib/librte_ethdev/rte_ethdev.c | 48 ++++++++++++++++++++++++++++++++++++++--\n lib/librte_ethdev/rte_ethdev.h | 48 ++++++++++++++++++++++++----------------\n 3 files changed, 124 insertions(+), 22 deletions(-)"
}