Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/82078/?format=api
https://patches.dpdk.org/api/patches/82078/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201025002953.1680999-12-qi.z.zhang@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": "<20201025002953.1680999-12-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201025002953.1680999-12-qi.z.zhang@intel.com", "date": "2020-10-25T00:29:43", "name": "[v2,11/21] net/ice/base: add support for class 5+ modules", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4632459b81b3c90312476788f1a52c1eedb3c320", "submitter": { "id": 504, "url": "https://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@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/20201025002953.1680999-12-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 13297, "url": "https://patches.dpdk.org/api/series/13297/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13297", "date": "2020-10-25T00:29:32", "name": "ice: update base code", "version": 2, "mbox": "https://patches.dpdk.org/series/13297/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/82078/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/82078/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 1982DA04B5;\n\tSun, 25 Oct 2020 02:29:36 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 43CBA2BEA;\n\tSun, 25 Oct 2020 02:26:30 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 4396898\n for <dev@dpdk.org>; Sun, 25 Oct 2020 02:26:14 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Oct 2020 17:26:13 -0700", "from dpdk51.sh.intel.com ([10.67.111.142])\n by FMSMGA003.fm.intel.com with ESMTP; 24 Oct 2020 17:26:11 -0700" ], "IronPort-SDR": [ "\n oOmGDd4+UNaKcxGR0zTdXmwgwPf88D2/V51iP5ZEDLnG7Yc9NY6VbpotwdUDz43MolBvbG8u+D\n jEUSBciG90zQ==", "\n 6qMdumpnknEOqqyO3fjO2nV8lw1VUYpjYJS7pCR0B4rXuTmU6ijSO989sht2f8CIM0DVMEk5Mj\n nMRf7Ay7EXCQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9784\"; a=\"167927039\"", "E=Sophos;i=\"5.77,414,1596524400\"; d=\"scan'208\";a=\"167927039\"", "E=Sophos;i=\"5.77,414,1596524400\"; d=\"scan'208\";a=\"359984068\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "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 Amir Shay <shay.amir@intel.com>", "Date": "Sun, 25 Oct 2020 08:29:43 +0800", "Message-Id": "<20201025002953.1680999-12-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.25.4", "In-Reply-To": "<20201025002953.1680999-1-qi.z.zhang@intel.com>", "References": "<20201025002953.1680999-1-qi.z.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 11/21] net/ice/base: add support for class 5+\n\tmodules", "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": "Currently QSFP/SFP modules up to power class 4 are supported.\n100G modules require higher power in many cases.\nAlso, low power mode requires support of power classes 7 and even 8.\n\nThis change extends \"Get Link Status\" AQ command (0x0607) to\nsupport class 5+ modules.\n\nThe patch also add couple other missing bits for link status.\n\nSigned-off-by: Amir Shay <shay.amir@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_adminq_cmd.h | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h\nindex cadd6df384..3b75cf577a 100644\n--- a/drivers/net/ice/base/ice_adminq_cmd.h\n+++ b/drivers/net/ice/base/ice_adminq_cmd.h\n@@ -1442,6 +1442,10 @@ struct ice_aqc_get_link_status_data {\n #define ICE_AQ_LINK_TOPO_UNSUPP_MEDIA\tBIT(7)\n \tu8 link_cfg_err;\n #define ICE_AQ_LINK_CFG_ERR\t\tBIT(0)\n+#define ICE_AQ_LINK_ACT_PORT_OPT_INVAL\tBIT(2)\n+#define ICE_AQ_LINK_FEAT_ID_OR_CONFIG_ID_INVAL\tBIT(3)\n+#define ICE_AQ_LINK_TOPO_CRITICAL_SDP_ERR\tBIT(4)\n+#define ICE_AQ_LINK_MODULE_POWER_UNSUPPORTED\tBIT(5)\n \tu8 link_info;\n #define ICE_AQ_LINK_UP\t\t\tBIT(0)\t/* Link Status */\n #define ICE_AQ_LINK_FAULT\t\tBIT(1)\n@@ -1489,7 +1493,7 @@ struct ice_aqc_get_link_status_data {\n #define ICE_AQ_CFG_PACING_TYPE_FIXED\tICE_AQ_CFG_PACING_TYPE_M\n \t/* External Device Power Ability */\n \tu8 power_desc;\n-#define ICE_AQ_PWR_CLASS_M\t\t0x3\n+#define ICE_AQ_PWR_CLASS_M\t\t0x3F\n #define ICE_AQ_LINK_PWR_BASET_LOW_HIGH\t0\n #define ICE_AQ_LINK_PWR_BASET_HIGH\t1\n #define ICE_AQ_LINK_PWR_QSFP_CLASS_1\t0\n", "prefixes": [ "v2", "11/21" ] }{ "id": 82078, "url": "