Cover Detail
Show a cover letter.
GET /api/covers/93378/?format=api
http://patchwork.dpdk.org/api/covers/93378/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20210524012346.496560-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": "<20210524012346.496560-1-haiyue.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210524012346.496560-1-haiyue.wang@intel.com", "date": "2021-05-24T01:23:42", "name": "[v7,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/20210524012346.496560-1-haiyue.wang@intel.com/mbox/", "series": [ { "id": 17079, "url": "http://patchwork.dpdk.org/api/series/17079/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17079", "date": "2021-05-24T01:23:42", "name": "fix PF reset causes VF memory request failure", "version": 7, "mbox": "http://patchwork.dpdk.org/series/17079/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/93378/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 A7F51A0547;\n\tMon, 24 May 2021 03:44:38 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 18F2B4003E;\n\tMon, 24 May 2021 03:44:38 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id E69CF4003C\n for <dev@dpdk.org>; Mon, 24 May 2021 03:44:35 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 May 2021 18:44:33 -0700", "from npg-dpdk-haiyue-1.sh.intel.com ([10.67.118.220])\n by orsmga008.jf.intel.com with ESMTP; 23 May 2021 18:44:32 -0700" ], "IronPort-SDR": [ "\n uJWn025n4/1RmQSAlcC9R6eNXtOVf628F2PryEC+DCB79A441UsQZhRTxDN860EN3nx2nHlM0h\n DvbdLF85msaA==", "\n 9a71V3rZ4V9FqLA0bvV37v9/kmHujFhp4BMQVj3V+/IlPbooMPFctvNXoiZGuLchpDTfCjB+A8\n E69zTloxNlVQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9993\"; a=\"201573596\"", "E=Sophos;i=\"5.82,319,1613462400\"; d=\"scan'208\";a=\"201573596\"", "E=Sophos;i=\"5.82,319,1613462400\"; d=\"scan'208\";a=\"441824212\"" ], "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": "Mon, 24 May 2021 09:23:42 +0800", "Message-Id": "<20210524012346.496560-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 v7 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": "Trigger 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\nv7: fix the commit message typo, and update some description.\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": 93378, "url": "