Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/114997/?format=api
http://patches.dpdk.org/api/patches/114997/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220815071306.2910599-41-qi.z.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": "<20220815071306.2910599-41-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220815071306.2910599-41-qi.z.zhang@intel.com", "date": "2022-08-15T07:12:36", "name": "[40/70] net/ice/base: add helper function to check if device is E823", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2bc467464bcc381d5b02534a4ab31180de6ccfc7", "submitter": { "id": 504, "url": "http://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.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/20220815071306.2910599-41-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 24307, "url": "http://patches.dpdk.org/api/series/24307/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24307", "date": "2022-08-15T07:11:56", "name": "ice base code update", "version": 1, "mbox": "http://patches.dpdk.org/series/24307/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/114997/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/114997/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 DB804A00C3;\n\tMon, 15 Aug 2022 01:07:14 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 91D1D42829;\n\tMon, 15 Aug 2022 01:04:16 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 50BD242C5F\n for <dev@dpdk.org>; Mon, 15 Aug 2022 01:04:14 +0200 (CEST)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Aug 2022 16:04:14 -0700", "from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4])\n by fmsmga005.fm.intel.com with ESMTP; 14 Aug 2022 16:04:12 -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=1660518254; x=1692054254;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=MN7qlOXrclGkB9V/lrsPVUlXb4/WoGTSsaGp+ZWGg0I=;\n b=D4RGBObd+0lX+yZZT4UlF89+AUOQ22KEFiyIpfqYAKWda44KEIfGiUuJ\n ceuC3aha3IsVchi806qRrms4c2gVKMc4lcfvc/rx9cKHxIb0wKkdtlEA+\n pj5zU3UVpqBkfE2EpCwZTp8fTTZ4dfll01YTP04CT3USEVJtxeF7mVR2s\n l2JJN+LvFetrwxdIGiBWARgAoripWU6YBHPDBRqyFx+bG18EPZJaf+FUh\n 8i/WerScgcGpaQ69hBKaSreUTwR4U7rQX/u21emlNx5NaE8nKogQFU8HJ\n tNwTp/acAdthsjacmB1JO3Cx68Oa9ApPVlShRWnY2bIx2YObL6kP9uOHH g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10439\"; a=\"289427619\"", "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"289427619\"", "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"934296777\"" ], "X-ExtLoop1": "1", "From": "Qi Zhang <qi.z.zhang@intel.com>", "To": "qiming.yang@intel.com", "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>,\n Karol Kolacinski <karol.kolacinski@intel.com>", "Subject": "[PATCH 40/70] net/ice/base: add helper function to check if device is\n E823", "Date": "Mon, 15 Aug 2022 03:12:36 -0400", "Message-Id": "<20220815071306.2910599-41-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<20220815071306.2910599-1-qi.z.zhang@intel.com>", "References": "<20220815071306.2910599-1-qi.z.zhang@intel.com>", "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": "Add a simple function checking if the device is E823-L or E823-C\nbased.\n\nSigned-off-by: Karol Kolacinski <karol.kolacinski@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_common.c | 25 +++++++++++++++++++++++++\n drivers/net/ice/base/ice_common.h | 1 +\n 2 files changed, 26 insertions(+)", "diff": "diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex f8a3017df8..c90ae20c43 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -231,6 +231,31 @@ bool ice_is_e810t(struct ice_hw *hw)\n \treturn false;\n }\n \n+/**\n+ * ice_is_e823\n+ * @hw: pointer to the hardware structure\n+ *\n+ * returns true if the device is E823-L or E823-C based, false if not.\n+ */\n+bool ice_is_e823(struct ice_hw *hw)\n+{\n+\tswitch (hw->device_id) {\n+\tcase ICE_DEV_ID_E823L_BACKPLANE:\n+\tcase ICE_DEV_ID_E823L_SFP:\n+\tcase ICE_DEV_ID_E823L_10G_BASE_T:\n+\tcase ICE_DEV_ID_E823L_1GBE:\n+\tcase ICE_DEV_ID_E823L_QSFP:\n+\tcase ICE_DEV_ID_E823C_BACKPLANE:\n+\tcase ICE_DEV_ID_E823C_QSFP:\n+\tcase ICE_DEV_ID_E823C_SFP:\n+\tcase ICE_DEV_ID_E823C_10G_BASE_T:\n+\tcase ICE_DEV_ID_E823C_SGMII:\n+\t\treturn true;\n+\tdefault:\n+\t\treturn false;\n+\t}\n+}\n+\n /**\n * ice_clear_pf_cfg - Clear PF configuration\n * @hw: pointer to the hardware structure\ndiff --git a/drivers/net/ice/base/ice_common.h b/drivers/net/ice/base/ice_common.h\nindex 1051cc1176..b15cf240f9 100644\n--- a/drivers/net/ice/base/ice_common.h\n+++ b/drivers/net/ice/base/ice_common.h\n@@ -259,6 +259,7 @@ void ice_print_rollback_msg(struct ice_hw *hw);\n bool ice_is_generic_mac(struct ice_hw *hw);\n bool ice_is_e810(struct ice_hw *hw);\n bool ice_is_e810t(struct ice_hw *hw);\n+bool ice_is_e823(struct ice_hw *hw);\n enum ice_status\n ice_sched_query_elem(struct ice_hw *hw, u32 node_teid,\n \t\t struct ice_aqc_txsched_elem_data *buf);\n", "prefixes": [ "40/70" ] }{ "id": 114997, "url": "