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 D3F7D4404F; Wed, 12 Jun 2024 17:28:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DE6943371; Wed, 12 Jun 2024 17:07:33 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id 8417443322 for ; Wed, 12 Jun 2024 17:07:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718204843; x=1749740843; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0qT2Y5dNm+4kDZNmOkQNSqdQCg9tzSc368K9t6yV5Ko=; b=Z62RGufK6ewrKOtzGPn6tK2YHt7xhkKGeWAU4eolUWT3OuS03IOTtWyV LR9znWIf5PqN9KP3sXGMBxr1Da93fsT+qMqWyUy5SKLJ8W2PRlF40fqr+ BT82t+LfRUjpNk4a5XhaCODSdiNpP0wji43YmfUtHbU+4Dp8yUghhkAEL U9AixxiXdEgAaiggGpNxT86nb0bmByTeqHur3n49nO6SaxpFXbux4sC7x NUCcmC1Ko2+/+PJuXzbCJMt5IElmF0sOz7vQdVFwRrRUo+IyXDuYk/LM6 xWF941iZvYm/qLLcZOMAbWj7MgEe4ogMM9Vj0yXJSFQMzhTr/F2pkx2Y1 Q==; X-CSE-ConnectionGUID: hOC1s528TlasVJfw403yJw== X-CSE-MsgGUID: /sHa4fJbRsGLSQARc1/pMQ== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32460185" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="32460185" 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:07:22 -0700 X-CSE-ConnectionGUID: 2jWB0delSQOmMrC8hb5oBw== X-CSE-MsgGUID: CyIpa22FQa61RwsPJXBE4A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="39926129" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 12 Jun 2024 08:07:21 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: istokes , bruce.richardson@intel.com Subject: [PATCH v2 147/148] net/ice: update rss lut value for RSS init Date: Wed, 12 Jun 2024 16:02:21 +0100 Message-ID: <19b90d5118b4ca5585c2acf3c75b07adbca0a8b1.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 From: istokes Latest shared code update changes the requirements for size definition of rss_lut which now varies by type. Previously it was limited to 512 even if the capabalities were greater. With the lastest shared code update for PF type this will be 2048 and will fail to initialise if less than this. Signed-off-by: Ian Stokes --- drivers/net/ice/ice_ethdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 5c1d83e605..19f6a3c148 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -1609,9 +1609,7 @@ ice_setup_vsi(struct ice_pf *pf, enum ice_vsi_type type) TAILQ_INIT(&vsi->vlan_list); /* Be sync with RTE_ETH_RSS_RETA_SIZE_x maximum value definition */ - pf->hash_lut_size = hw->func_caps.common_cap.rss_table_size > - RTE_ETH_RSS_RETA_SIZE_512 ? RTE_ETH_RSS_RETA_SIZE_512 : - hw->func_caps.common_cap.rss_table_size; + pf->hash_lut_size = hw->func_caps.common_cap.rss_table_size; pf->flags |= ICE_FLAG_RSS_AQ_CAPABLE; /* Defines the type of outer tag expected */ -- 2.43.0