Show a cover letter.

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

{
    "id": 42707,
    "url": "http://patches.dpdk.org/api/covers/42707/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/1531227098-29564-1-git-send-email-jia.guo@intel.com/",
    "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",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1531227098-29564-1-git-send-email-jia.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1531227098-29564-1-git-send-email-jia.guo@intel.com",
    "date": "2018-07-10T12:51:34",
    "name": "[v4,0/4] Enable eal hotplug event handler in ethdev",
    "submitter": {
        "id": 507,
        "url": "http://patches.dpdk.org/api/people/507/?format=api",
        "name": "Guo, Jia",
        "email": "jia.guo@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/1531227098-29564-1-git-send-email-jia.guo@intel.com/mbox/",
    "series": [
        {
            "id": 494,
            "url": "http://patches.dpdk.org/api/series/494/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=494",
            "date": "2018-07-10T12:51:34",
            "name": "Enable eal hotplug event handler in ethdev",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/494/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/42707/comments/",
    "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 9563E1B3AC;\n\tTue, 10 Jul 2018 14:53:55 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 3E74A1B3AC\n\tfor <dev@dpdk.org>; Tue, 10 Jul 2018 14:53:54 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Jul 2018 05:53:53 -0700",
            "from jeffguo-z170x-ud5.sh.intel.com (HELO localhost.localdomain)\n\t([10.67.104.10])\n\tby fmsmga004.fm.intel.com with ESMTP; 10 Jul 2018 05:53:50 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,334,1526367600\"; d=\"scan'208\";a=\"70159573\"",
        "From": "Jeff Guo <jia.guo@intel.com>",
        "To": "stephen@networkplumber.org, bruce.richardson@intel.com,\n\tferruh.yigit@intel.com, konstantin.ananyev@intel.com,\n\tgaetan.rivet@6wind.com, jingjing.wu@intel.com, thomas@monjalon.net,\n\tmotih@mellanox.com, matan@mellanox.com, harry.van.haaren@intel.com,\n\tqi.z.zhang@intel.com, shaopeng.he@intel.com,\n\tbernard.iremonger@intel.com, arybchenko@solarflare.com",
        "Cc": "jblunck@infradead.org, shreyansh.jain@nxp.com, dev@dpdk.org,\n\tjia.guo@intel.com, helin.zhang@intel.com",
        "Date": "Tue, 10 Jul 2018 20:51:34 +0800",
        "Message-Id": "<1531227098-29564-1-git-send-email-jia.guo@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1530787185-5915-1-git-send-email-jia.guo@intel.com>",
        "References": "<1530787185-5915-1-git-send-email-jia.guo@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 0/4] Enable eal hotplug event handler in ethdev",
        "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": "As we may know, we have eal event for rte device hotplug and ethdev event\nfor ethdev hotplug. Some ethdev need to use eal event to detect hotplug\nbehaviors, the privors way is register eal event callback in app, but seems\nthat it will have some race between these 2 event processes. In oder to fix\nthe it, it might be better to find a way to combind these 2 events detect.\n\nThis patch set introduce a way to combind these 2 event, by register the\nethdev eal event callback in ether dev and trigger the ethdev hotplug event\nin the callback. That will let the ethdev device can easy process hotplug\nby a common way.\n\nHere let i40e/ixgbe pmd driver for example, other driver which support\nhotplug feature could be use this way to detect and process hotplug.\n\npatch history:\nv4->v3:\nchange to use device event handler install api\n\nv3->v2:\nremove the callback from driver to ethdev for common.\n\nv2->v1:\nadd ixgbe hotplug detect case.\nrefine some doc.\n\n\nJeff Guo (4):\n  ethdev: Add eal device event callback\n  net/ixgbe: install ethdev hotplug handler in ixgbe\n  net/i40e: install hotplug handler in i40e\n  testpmd: remove the dev event callback register\n\n app/test-pmd/testpmd.c                 | 76 ----------------------------------\n doc/guides/rel_notes/release_18_08.rst | 12 ++++++\n drivers/net/i40e/i40e_ethdev.c         |  8 +++-\n drivers/net/ixgbe/ixgbe_ethdev.c       |  8 +++-\n lib/librte_ethdev/rte_ethdev.c         | 59 ++++++++++++++++++++++++++\n lib/librte_ethdev/rte_ethdev_driver.h  | 32 ++++++++++++++\n 6 files changed, 117 insertions(+), 78 deletions(-)"
}