Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/114974/?format=api
http://patches.dpdk.org/api/patches/114974/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220815071306.2910599-18-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-18-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220815071306.2910599-18-qi.z.zhang@intel.com", "date": "2022-08-15T07:12:13", "name": "[17/70] net/ice/base: work around missing PTP caps", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "326ee7014fba3b0ac4257061ccbdc3c1f11bbd54", "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-18-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/114974/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/114974/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 C9C79A00C3;\n\tMon, 15 Aug 2022 01:05:05 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5034642BC0;\n\tMon, 15 Aug 2022 01:03:40 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 2BE4342BAF\n for <dev@dpdk.org>; Mon, 15 Aug 2022 01:03:39 +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:03:38 -0700", "from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4])\n by fmsmga005.fm.intel.com with ESMTP; 14 Aug 2022 16:03:37 -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=1660518219; x=1692054219;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=PCUrmwddkl2HdID46+XQ9JFWrB8cfoyCZOQ1zrBEuFo=;\n b=M33nsoGrpYfFuIkrcVFD+D0MmuV0vPLcNXwaZ3G2LkVcoZtNrwmguNGI\n +jLeljkFeceWs3LkKQYoMm0tsSEpyz3RGFLvej2Cu2NunvLdqa81RcGqs\n 3eQwSe7k3Z3xCechAfLrQCQ3tPInhu0REEd3MmRfgiExEW/OxmbWX4zXf\n rf1aTIxI0H/ycHaitFdZNrCiQm0GPnK+3K/qGTKsFszw/05HJLw70emyI\n SQ5VpDDQ+goY5nrH9BekywDGj7vLo6ziU8x9WyxmqL6CeRsmv4D8NM6mx\n XDcMafUOSleHuteh0shknWtg7hp1RFvncRFZOP9EZeLhaZWC5UPkNM8G6 A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10439\"; a=\"289427573\"", "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"289427573\"", "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"934296624\"" ], "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 Sergey Temerkhanov <sergey.temerkhanov@intel.com>", "Subject": "[PATCH 17/70] net/ice/base: work around missing PTP caps", "Date": "Mon, 15 Aug 2022 03:12:13 -0400", "Message-Id": "<20220815071306.2910599-18-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": "Provide a WA for missing PTP caps on Simics, this code shall be\nremoved after cap reporting is fixed\n\nSigned-off-by: Sergey Temerkhanov <sergey.temerkhanov@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_common.c | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex e22600c46d..cedce2dcf5 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -2516,7 +2516,12 @@ ice_parse_1588_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p,\n \t\t\t struct ice_aqc_list_caps_elem *cap)\n {\n \tstruct ice_ts_func_info *info = &func_p->ts_func_info;\n-\tu32 number = LE32_TO_CPU(cap->number);\n+\tu32 number = ICE_TS_FUNC_ENA_M | ICE_TS_SRC_TMR_OWND_M |\n+\t\t ICE_TS_TMR_ENA_M | ICE_TS_TMR_IDX_OWND_M |\n+\t\t ICE_TS_TMR_IDX_ASSOC_M;\n+\tu8 clk_freq;\n+\n+\tice_debug(hw, ICE_DBG_INIT, \"1588 func caps: raw value %x\\n\", number);\n \n \tinfo->ena = ((number & ICE_TS_FUNC_ENA_M) != 0);\n \tfunc_p->common_cap.ieee_1588 = info->ena;\n", "prefixes": [ "17/70" ] }{ "id": 114974, "url": "