Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/110664/?format=api
http://patches.dpdk.org/api/patches/110664/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220505153932.401749-1-peng1x.zhang@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": "<20220505153932.401749-1-peng1x.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220505153932.401749-1-peng1x.zhang@intel.com", "date": "2022-05-05T15:39:32", "name": "net/ice: Modify DCF state checking mechanism and error code", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "064e3ffa6cc12bd655b2a8e3b82f5e9cb49ca157", "submitter": { "id": 2475, "url": "http://patches.dpdk.org/api/people/2475/?format=api", "name": "Zhang, Peng1X", "email": "peng1x.zhang@intel.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220505153932.401749-1-peng1x.zhang@intel.com/mbox/", "series": [ { "id": 22788, "url": "http://patches.dpdk.org/api/series/22788/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22788", "date": "2022-05-05T15:39:32", "name": "net/ice: Modify DCF state checking mechanism and error code", "version": 1, "mbox": "http://patches.dpdk.org/series/22788/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/110664/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/110664/checks/", "tags": {}, "related": [], "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 D6E9CA00C4;\n\tThu, 5 May 2022 09:45:41 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C2D814281D;\n\tThu, 5 May 2022 09:45:41 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 2205F40042;\n Thu, 5 May 2022 09:45:39 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 May 2022 00:45:38 -0700", "from unknown (HELO localhost.localdomain) ([10.239.251.253])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 May 2022 00:45:35 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1651736740; x=1683272740;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=uyFRV/Kjz2NAkXlQ48EwIlYnmXRIEyiczzEt0iBMMJQ=;\n b=njmkjcsUpEO4dCkdO2Lt8urv2aJLgnF7PKoHJ29FY8QYoN6fLl3YplQ8\n MBO3g/fy6XjVUM5RivdpR9RxUQ4t+OMH682L3oB9uT+ZpcFszOVBqPj6c\n qS6dJ5GQr+NgFsVGkuB9a6y/R6DrSub8sY5LCdFcBoN2ECWgdDuYUGtJB\n fcoLJtNG1Wkwx3OYEluu4QXwLNNu29JWHkYjQVrbBIBp4ZxQ2PwB3aE1u\n C9Raxdl94MPTncbiR7Ufn4zKXUM+99Flb39uHLgKmd4yxxqZKurIJL5fk\n hStGJafgKn71HkBAgOIRLUuO1HnvjiO1Sx2S28M10jMfwc31/OzoIZjgY g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10337\"; a=\"248567751\"", "E=Sophos;i=\"5.91,200,1647327600\"; d=\"scan'208\";a=\"248567751\"", "E=Sophos;i=\"5.91,200,1647327600\"; d=\"scan'208\";a=\"563121431\"" ], "From": "peng1x.zhang@intel.com", "To": "qiming.yang@intel.com, qi.z.zhang@intel.com, yidingx.zhou@intel.com,\n dev@dpdk.org", "Cc": "Peng Zhang <peng1x.zhang@intel.com>,\n\tstable@dpdk.org", "Subject": "[PATCH] net/ice: Modify DCF state checking mechanism and error code", "Date": "Thu, 5 May 2022 15:39:32 +0000", "Message-Id": "<20220505153932.401749-1-peng1x.zhang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "From: Peng Zhang <peng1x.zhang@intel.com>\n\nAdd DCF state checking mechanism which will conduct whether reset is\ndone.And modify error code to avoid misleading.\n\nFixes: b71573ec2fc2 (\"net/ice: retry getting VF VSI map after failure\")\nCc: stable@dpdk.org\n\nSigned-off-by: Peng Zhang <peng1x.zhang@intel.com>\n---\n drivers/net/ice/ice_dcf.c | 3 ++-\n drivers/net/ice/ice_switch_filter.c | 2 +-\n 2 files changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c\nindex 7f0c074b01..3808272ea3 100644\n--- a/drivers/net/ice/ice_dcf.c\n+++ b/drivers/net/ice/ice_dcf.c\n@@ -544,7 +544,8 @@ ice_dcf_handle_vsi_update_event(struct ice_dcf_hw *hw)\n \n \tfor (;;) {\n \t\tif (ice_dcf_get_vf_resource(hw) == 0 &&\n-\t\t ice_dcf_get_vf_vsi_map(hw) >= 0) {\n+\t\t ice_dcf_get_vf_vsi_map(hw) >= 0 &&\n+\t\t ice_dcf_check_reset_done(hw) == 0) {\n \t\t\terr = 0;\n \t\t\tbreak;\n \t\t}\ndiff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex 36c9bffb73..199a981018 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -434,7 +434,7 @@ ice_switch_create(struct ice_adapter *ad,\n \t\tflow->rule = filter_conf_ptr;\n \t} else {\n \t\tif (ice_dcf_adminq_need_retry(ad))\n-\t\t\tret = -EAGAIN;\n+\t\t\tret = -EBUSY;\n \t\telse\n \t\t\tret = -EINVAL;\n \n", "prefixes": [] }{ "id": 110664, "url": "