Cover Detail
Show a cover letter.
GET /api/covers/93374/?format=api
http://patchwork.dpdk.org/api/covers/93374/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20210523114609.448092-1-haiyue.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": "<20210523114609.448092-1-haiyue.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210523114609.448092-1-haiyue.wang@intel.com", "date": "2021-05-23T11:46:05", "name": "[v6,0/3] fix PF reset causes VF memory request failure", "submitter": { "id": 1044, "url": "http://patchwork.dpdk.org/api/people/1044/?format=api", "name": "Wang, Haiyue", "email": "haiyue.wang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20210523114609.448092-1-haiyue.wang@intel.com/mbox/", "series": [ { "id": 17078, "url": "http://patchwork.dpdk.org/api/series/17078/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17078", "date": "2021-05-23T11:46:05", "name": "fix PF reset causes VF memory request failure", "version": 6, "mbox": "http://patchwork.dpdk.org/series/17078/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/93374/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 6BC48A0547;\n\tSun, 23 May 2021 14:07:00 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C4D6B40685;\n\tSun, 23 May 2021 14:06:59 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 325954003C\n for <dev@dpdk.org>; Sun, 23 May 2021 14:06:58 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 May 2021 05:06:53 -0700", "from npg-dpdk-haiyue-1.sh.intel.com ([10.67.118.220])\n by orsmga001.jf.intel.com with ESMTP; 23 May 2021 05:06:50 -0700" ], "IronPort-SDR": [ "\n khfzdH8akYcLo9bJuDQQP57JiaUaj6iXrT/qKfkhIdjIHpGGvY0tDhDqbbCZJPxFd8dKH0hYdy\n BcaQpUJ0SY8w==", "\n VqSZmYGp2p5KMgGLEYX5nUujYfCdaQm32E/AaVZ6UWhTS+DjYRNsaxVTLiX4USufGzIx3/++IP\n ENxkrzzm82vw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9992\"; a=\"199847485\"", "E=Sophos;i=\"5.82,319,1613462400\"; d=\"scan'208\";a=\"199847485\"", "E=Sophos;i=\"5.82,319,1613462400\"; d=\"scan'208\";a=\"475390067\"" ], "X-ExtLoop1": "1", "From": "Haiyue Wang <haiyue.wang@intel.com>", "To": "dev@dpdk.org", "Cc": "qi.z.zhang@intel.com, liang-min.wang@intel.com, david.marchand@redhat.com,\n Haiyue Wang <haiyue.wang@intel.com>", "Date": "Sun, 23 May 2021 19:46:05 +0800", "Message-Id": "<20210523114609.448092-1-haiyue.wang@intel.com>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<20210421050243.130585-1-haiyue.wang@intel.com>", "References": "<20210421050243.130585-1-haiyue.wang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v6 0/3] fix PF reset causes VF memory request\n failure", "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": "By triggerring the VF reset from PF reset,\n\n echo 1 > /sys/bus/pci/devices/PF-BDF/reset\n\nthe PCI bus master bit will cleared on VF, so the VF needs to enable\nthis bit before restart.\n\nThis patch set adds the API to enable PCI bus master.\n\nv6: update the annotate symbol version, and add some comments in source code\nv5: error handling if bus master enable failed\nv4: change the API to set type, so can enable or disable\nv3: added the missed annotate symbol add time\nv2: rebase to new librte directory path\n\nHaiyue Wang (3):\n bus/pci: set PCI master in command register\n net/iavf: enable PCI bus master after reset\n net/i40e: enable PCI bus master after reset\n\n drivers/bus/pci/pci_common.c | 28 ++++++++++++++++++++++++++++\n drivers/bus/pci/rte_bus_pci.h | 14 ++++++++++++++\n drivers/bus/pci/version.map | 3 +++\n drivers/net/i40e/i40e_ethdev_vf.c | 13 ++++++++++++-\n drivers/net/iavf/iavf_ethdev.c | 10 +++++++++-\n lib/pci/rte_pci.h | 4 ++++\n 6 files changed, 70 insertions(+), 2 deletions(-)" }{ "id": 93374, "url": "