Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/127011/?format=api
http://patchwork.dpdk.org/api/patches/127011/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230518151638.1207021-18-qiming.yang@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20230518151638.1207021-18-qiming.yang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230518151638.1207021-18-qiming.yang@intel.com", "date": "2023-05-18T15:16:35", "name": "[v2,17/20] net/ice/base: update 3k-sign DDP support for E825C", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "8e5c9f62e1bb4abcc41039737e7ee4b69d622b05", "submitter": { "id": 522, "url": "http://patchwork.dpdk.org/api/people/522/?format=api", "name": "Qiming Yang", "email": "qiming.yang@intel.com" }, "delegate": { "id": 1540, "url": "http://patchwork.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230518151638.1207021-18-qiming.yang@intel.com/mbox/", "series": [ { "id": 28063, "url": "http://patchwork.dpdk.org/api/series/28063/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28063", "date": "2023-05-18T15:16:18", "name": "net/ice/base: code update", "version": 2, "mbox": "http://patchwork.dpdk.org/series/28063/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/127011/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/127011/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 E8F3042AF1;\n\tThu, 18 May 2023 17:36:28 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A78EC42D62;\n\tThu, 18 May 2023 17:34:47 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id D092E42D86\n for <dev@dpdk.org>; Thu, 18 May 2023 17:34:45 +0200 (CEST)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 May 2023 08:34:45 -0700", "from dpdk-qiming3.sh.intel.com ([10.67.111.4])\n by fmsmga007.fm.intel.com with ESMTP; 18 May 2023 08:34:44 -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=1684424086; x=1715960086;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=x5+kojpkXSbWYl0/P+RkNRMOnI6adVMLI5vCZ/0aMYc=;\n b=nYoZarsxGG6YIfpjHFFYdOW/Q+C5dPgSEMbtpuNba0ida4a8WuOXbdlr\n XCRpYcebVhTRt6eMPNi8nNNnyuTuV+XCm2QKywynEbG70mx5AmxeeCjK1\n tyqSKIQ7baGhVjZoYMK8jS5cjlZvp+c0wONUwDO8bkefgm+KdKDdtIn+o\n 5J/vZ3rtlzDB714aqpyhG2Y3IJqZNtzjzTMOFSBgZ4EipdEVuMJjXy+cE\n BEYYmnRxzyiqEPZpd7Q8yN342Yb+DEDHZJ/hWZjJ874aB0FkrP06thi+T\n /1mOlPQ1D63fnAK+uvYUImHEyZoGqAXhtYcrrVIiU80F22aC+Vt5W4tI0 A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10714\"; a=\"341527783\"", "E=Sophos;i=\"5.99,285,1677571200\"; d=\"scan'208\";a=\"341527783\"", "E=McAfee;i=\"6600,9927,10714\"; a=\"705235236\"", "E=Sophos;i=\"5.99,285,1677571200\"; d=\"scan'208\";a=\"705235236\"" ], "X-ExtLoop1": "1", "From": "Qiming Yang <qiming.yang@intel.com>", "To": "dev@dpdk.org", "Cc": "qi.z.zhang@intel.com, Qiming Yang <qiming.yang@intel.com>,\n Grzegorz Nitka <grzegorz.nitka@intel.com>", "Subject": "[PATCH v2 17/20] net/ice/base: update 3k-sign DDP support for E825C", "Date": "Thu, 18 May 2023 15:16:35 +0000", "Message-Id": "<20230518151638.1207021-18-qiming.yang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230518151638.1207021-1-qiming.yang@intel.com>", "References": "<20230427062001.478032-1-qiming.yang@intel.com>\n <20230518151638.1207021-1-qiming.yang@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": "The original DDP specification has been changed in terms of\nSignature Type ID definition for E825-C.\n\nSigned-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com>\nSigned-off-by: Qiming Yang <qiming.yang@intel.com>\n---\n drivers/net/ice/base/ice_common.c | 3 ++-\n drivers/net/ice/base/ice_ddp.c | 4 ++++\n drivers/net/ice/base/ice_ddp.h | 1 +\n 3 files changed, 7 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex 67203cb932..f253e2f213 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -193,7 +193,8 @@ static enum ice_status ice_set_mac_type(struct ice_hw *hw)\n bool ice_is_generic_mac(struct ice_hw *hw)\n {\n \treturn (hw->mac_type == ICE_MAC_GENERIC ||\n-\t\thw->mac_type == ICE_MAC_GENERIC_3K);\n+\t\thw->mac_type == ICE_MAC_GENERIC_3K ||\n+\t\thw->mac_type == ICE_MAC_GENERIC_3K_E825);\n }\n \n /**\ndiff --git a/drivers/net/ice/base/ice_ddp.c b/drivers/net/ice/base/ice_ddp.c\nindex d88c417faf..ffcd5a9394 100644\n--- a/drivers/net/ice/base/ice_ddp.c\n+++ b/drivers/net/ice/base/ice_ddp.c\n@@ -441,6 +441,7 @@ static u32 ice_get_pkg_segment_id(enum ice_mac_type mac_type)\n \tswitch (mac_type) {\n \tcase ICE_MAC_GENERIC:\n \tcase ICE_MAC_GENERIC_3K:\n+\tcase ICE_MAC_GENERIC_3K_E825:\n \tdefault:\n \t\tseg_id = SEGMENT_TYPE_ICE_E810;\n \t\tbreak;\n@@ -461,6 +462,9 @@ static u32 ice_get_pkg_sign_type(enum ice_mac_type mac_type)\n \tcase ICE_MAC_GENERIC_3K:\n \t\tsign_type = SEGMENT_SIGN_TYPE_RSA3K;\n \t\tbreak;\n+\tcase ICE_MAC_GENERIC_3K_E825:\n+\t\tsign_type = SEGMENT_SIGN_TYPE_RSA3K_E825;\n+\t\tbreak;\n \tcase ICE_MAC_GENERIC:\n \tdefault:\n \t\tsign_type = SEGMENT_SIGN_TYPE_RSA2K;\ndiff --git a/drivers/net/ice/base/ice_ddp.h b/drivers/net/ice/base/ice_ddp.h\nindex 4896e85b91..1e02adf0db 100644\n--- a/drivers/net/ice/base/ice_ddp.h\n+++ b/drivers/net/ice/base/ice_ddp.h\n@@ -99,6 +99,7 @@ struct ice_pkg_hdr {\n #define SEGMENT_SIGN_TYPE_RSA2K\t\t0x00000001\n #define SEGMENT_SIGN_TYPE_RSA3K\t\t0x00000002\n #define SEGMENT_SIGN_TYPE_RSA3K_SBB\t0x00000003 /* Secure Boot Block */\n+#define SEGMENT_SIGN_TYPE_RSA3K_E825\t0x00000005\n \n /* generic segment */\n struct ice_generic_seg_hdr {\n", "prefixes": [ "v2", "17/20" ] }{ "id": 127011, "url": "