Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/44508/?format=api
https://patches.dpdk.org/api/patches/44508/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180910110531.138449-1-xiao.w.wang@intel.com/", "project": { "id": 1, "url": "https://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": "<20180910110531.138449-1-xiao.w.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180910110531.138449-1-xiao.w.wang@intel.com", "date": "2018-09-10T11:05:31", "name": "net/ifc: do not notify before HW ready", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "faf80f9d35b4cf360822eab0a25c097a4e4d2922", "submitter": { "id": 281, "url": "https://patches.dpdk.org/api/people/281/?format=api", "name": "Xiao Wang", "email": "xiao.w.wang@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180910110531.138449-1-xiao.w.wang@intel.com/mbox/", "series": [ { "id": 1247, "url": "https://patches.dpdk.org/api/series/1247/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1247", "date": "2018-09-10T11:05:31", "name": "net/ifc: do not notify before HW ready", "version": 1, "mbox": "https://patches.dpdk.org/series/1247/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/44508/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/44508/checks/", "tags": {}, "related": [], "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 22DED378B;\n\tMon, 10 Sep 2018 13:12:18 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 79F4E1B19\n\tfor <dev@dpdk.org>; Mon, 10 Sep 2018 13:12:16 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Sep 2018 04:12:15 -0700", "from dpdk-xiao-1.sh.intel.com ([10.67.111.123])\n\tby orsmga008.jf.intel.com with ESMTP; 10 Sep 2018 04:12:14 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.53,355,1531810800\"; d=\"scan'208\";a=\"71992034\"", "From": "Xiao Wang <xiao.w.wang@intel.com>", "To": "tiwei.bie@intel.com", "Cc": "dev@dpdk.org, xiaolong.ye@intel.com, Xiao Wang <xiao.w.wang@intel.com>", "Date": "Mon, 10 Sep 2018 19:05:31 +0800", "Message-Id": "<20180910110531.138449-1-xiao.w.wang@intel.com>", "X-Mailer": "git-send-email 2.15.1", "Subject": "[dpdk-dev] [PATCH] net/ifc: do not notify before HW ready", "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": "Fixes: a3f8150eac6d (\"net/ifcvf: add ifcvf vDPA driver\")\n\nSigned-off-by: Xiao Wang <xiao.w.wang@intel.com>\n---\n drivers/net/ifc/ifcvf_vdpa.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/ifc/ifcvf_vdpa.c b/drivers/net/ifc/ifcvf_vdpa.c\nindex 3c5430dc0..7d3085d8d 100644\n--- a/drivers/net/ifc/ifcvf_vdpa.c\n+++ b/drivers/net/ifc/ifcvf_vdpa.c\n@@ -503,11 +503,11 @@ update_datapath(struct ifcvf_internal *internal)\n \t\tif (ret)\n \t\t\tgoto err;\n \n-\t\tret = setup_notify_relay(internal);\n+\t\tret = vdpa_ifcvf_start(internal);\n \t\tif (ret)\n \t\t\tgoto err;\n \n-\t\tret = vdpa_ifcvf_start(internal);\n+\t\tret = setup_notify_relay(internal);\n \t\tif (ret)\n \t\t\tgoto err;\n \n@@ -515,12 +515,12 @@ update_datapath(struct ifcvf_internal *internal)\n \t} else if (rte_atomic32_read(&internal->running) &&\n \t\t (!rte_atomic32_read(&internal->started) ||\n \t\t !rte_atomic32_read(&internal->dev_attached))) {\n-\t\tvdpa_ifcvf_stop(internal);\n-\n \t\tret = unset_notify_relay(internal);\n \t\tif (ret)\n \t\t\tgoto err;\n \n+\t\tvdpa_ifcvf_stop(internal);\n+\n \t\tret = vdpa_disable_vfio_intr(internal);\n \t\tif (ret)\n \t\t\tgoto err;\n", "prefixes": [] }{ "id": 44508, "url": "