Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/81577/?format=api
http://patches.dpdk.org/api/patches/81577/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201020100248.761693-3-conor.walsh@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": "<20201020100248.761693-3-conor.walsh@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201020100248.761693-3-conor.walsh@intel.com", "date": "2020-10-20T10:02:48", "name": "[v2,2/2] net/ixgbe: remove rte_panic", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "fbc5764cc232f323af0eac1a21ac84ea1c714202", "submitter": { "id": 1935, "url": "http://patches.dpdk.org/api/people/1935/?format=api", "name": "Conor Walsh", "email": "conor.walsh@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/20201020100248.761693-3-conor.walsh@intel.com/mbox/", "series": [ { "id": 13140, "url": "http://patches.dpdk.org/api/series/13140/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13140", "date": "2020-10-20T10:02:46", "name": "net/ixgbe fix unchecked return value and rte_panic", "version": 2, "mbox": "http://patches.dpdk.org/series/13140/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/81577/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/81577/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1C62DA04DD;\n\tTue, 20 Oct 2020 12:03:43 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A6677C938;\n\tTue, 20 Oct 2020 12:03:09 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by dpdk.org (Postfix) with ESMTP id 7F2C2BCA2;\n Tue, 20 Oct 2020 12:03:03 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Oct 2020 03:03:02 -0700", "from silpixa00400466.ir.intel.com ([10.237.213.98])\n by fmsmga004.fm.intel.com with ESMTP; 20 Oct 2020 03:03:01 -0700" ], "IronPort-SDR": [ "\n c0hNeT82rzRYBIBTE/7VjLsRvbfImDtaARQvCWHNYQIAveM2H+YOV3t+FBRbZiIZ24B70faf/M\n l2Mru/GkG5sQ==", "\n F11jsM0KSX3dZk6sCCke1hTPQ9Tn1E7mr9QFSM5UG+KIrh2NlWk4H6GEervpIo03vSI6kDaGTO\n rekyHENjJmxg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9779\"; a=\"154127043\"", "E=Sophos;i=\"5.77,396,1596524400\"; d=\"scan'208\";a=\"154127043\"", "E=Sophos;i=\"5.77,396,1596524400\"; d=\"scan'208\";a=\"347806815\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Conor Walsh <conor.walsh@intel.com>", "To": "jia.guo@intel.com, haiyue.wang@intel.com, ferruh.yigit@intel.com,\n mohammad.abdul.awal@intel.com, declan.doherty@intel.com, stable@dpdk.org", "Cc": "dev@dpdk.org,\n\tConor Walsh <conor.walsh@intel.com>", "Date": "Tue, 20 Oct 2020 10:02:48 +0000", "Message-Id": "<20201020100248.761693-3-conor.walsh@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20201020100248.761693-1-conor.walsh@intel.com>", "References": "<20201019122620.749625-1-conor.walsh@intel.com>\n <20201020100248.761693-1-conor.walsh@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 2/2] net/ixgbe: remove rte_panic", "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 <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": "Remove the usage of rte_panic() within ixgbe_pf_host_init()\n\nSigned-off-by: Conor Walsh <conor.walsh@intel.com>\n---\n drivers/net/ixgbe/ixgbe_pf.c | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c\nindex 4e25b1e72e..833863af5a 100644\n--- a/drivers/net/ixgbe/ixgbe_pf.c\n+++ b/drivers/net/ixgbe/ixgbe_pf.c\n@@ -88,8 +88,11 @@ int ixgbe_pf_host_init(struct rte_eth_dev *eth_dev)\n \t\treturn ret;\n \n \t*vfinfo = rte_zmalloc(\"vf_info\", sizeof(struct ixgbe_vf_info) * vf_num, 0);\n-\tif (*vfinfo == NULL)\n-\t\trte_panic(\"Cannot allocate memory for private VF data\\n\");\n+\tif (*vfinfo == NULL) {\n+\t\tPMD_INIT_LOG(ERR,\n+\t\t\t\"Cannot allocate memory for private VF data\");\n+\t\treturn -ENOMEM;\n+\t}\n \n \tret = rte_eth_switch_domain_alloc(&(*vfinfo)->switch_domain_id);\n \tif (ret) {\n", "prefixes": [ "v2", "2/2" ] }{ "id": 81577, "url": "