From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CBC274404F; Wed, 12 Jun 2024 17:22:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B0DAF43245; Wed, 12 Jun 2024 17:06:38 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id 771BF42FF7 for ; Wed, 12 Jun 2024 17:06:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718204796; x=1749740796; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=h+lKCX3/jrIhsnseh+oxh1QyvE785YzNyGKChLbLSeA=; b=clQdfhc6RJxq9an/gZKzyOH09xxUupRpi8GomGkN+DfnPx9sgPa3vwTh N7k6pJGfHuVdGT/GeisEr0GJPoYpn3bDhBo+clrtukuR96R9XpHreLIjO aksn6tTRJ3SWIGCiAY6t6I83ckBKN6UVgY0DCDddprjoVS+2WrH93QUQi /qWmcp1T8K7ZEEcEMYlyow4WqyiszofiEu94BocNRbop/hAaqoX3JPaMy Ro8h1RV4BGGyLxzISV1DJimB/6PcPBk+Mbaf/5zLQ5GaV26tXN8mQqmCB +J8ie9DR5RkwWm8+qI3jOiSvnfFUMrIU7GUobmGsMnRgTOBVvanPPbrud w==; X-CSE-ConnectionGUID: kuIqKs2GQt6zQQIBvQoBtg== X-CSE-MsgGUID: pBaU20TTRh+R2yHiI8ZLPw== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32460009" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="32460009" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 08:06:35 -0700 X-CSE-ConnectionGUID: HW8848O5SKGVC64PYnRD2g== X-CSE-MsgGUID: qGao0jtpSXO7vKj7e7dXJg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="39925905" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 12 Jun 2024 08:06:34 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: ian.stokes@intel.com, bruce.richardson@intel.com, Sergey Temerkhanov Subject: [PATCH v2 118/148] net/ice/base: support E830 in DDP pkg handling Date: Wed, 12 Jun 2024 16:01:52 +0100 Message-ID: <8ff1a3c8f917607e24ab6420a34db5ab679e7c2e.1718204529.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: <20240430154014.1026-1-ian.stokes@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add support for E830 DDP packages in the DDP package handling code. Signed-off-by: Sergey Temerkhanov Signed-off-by: Anatoly Burakov --- drivers/net/ice/base/ice_ddp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ice/base/ice_ddp.c b/drivers/net/ice/base/ice_ddp.c index f8cc774fea..798abb41c4 100644 --- a/drivers/net/ice/base/ice_ddp.c +++ b/drivers/net/ice/base/ice_ddp.c @@ -424,6 +424,9 @@ static u32 ice_get_pkg_segment_id(enum ice_mac_type mac_type) u32 seg_id; switch (mac_type) { + case ICE_MAC_E830: + seg_id = SEGMENT_TYPE_ICE_E830; + break; case ICE_MAC_GENERIC: case ICE_MAC_GENERIC_3K: case ICE_MAC_GENERIC_3K_E825: @@ -444,6 +447,9 @@ static u32 ice_get_pkg_sign_type(enum ice_mac_type mac_type) u32 sign_type; switch (mac_type) { + case ICE_MAC_E830: + sign_type = SEGMENT_SIGN_TYPE_RSA3K_SBB; + break; case ICE_MAC_GENERIC_3K: sign_type = SEGMENT_SIGN_TYPE_RSA3K; break; -- 2.43.0