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 6E884454AC; Wed, 19 Jun 2024 17:57:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA51142DBB; Wed, 19 Jun 2024 17:57:06 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by mails.dpdk.org (Postfix) with ESMTP id D548840289 for ; Wed, 19 Jun 2024 17:53:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718812415; x=1750348415; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=2Wxw8heuhcBXBwsvC+xxmvDDVIDOKvgznTSi0duhbSM=; b=VbvRgsubekzW2w7uxnynAJ/Qt0VmWrdTydmXa/dzMPJdze8QyNDClGDT NtPu+tmkDWIW1fCW/JUsxPtOMas+rbt5EBFmGTPBoxoyHvlqA/84iDO1P CcaPeGTkodDG5QWRU4kks3tRewEn4v2UjVdB2aKYsj2XKHIXNCI2iG7je RLvpg3LXf96rhWHU611jF5IuRRQARRhQnTCdP1U1BGaoCM1mBMF1vQGhy UyOwdL1TEIx+FxNcGSw0HWkLLLB+fqwnPFu261oNuZqUdR9YH6pHvUGN8 7P3isK0K85t3h4xuaTg+5J+CHeksOTbedTjYIRGAjRC1v/Wkqk9K4rdhO w==; X-CSE-ConnectionGUID: qlss99weTlGa8yRQQ/LxyA== X-CSE-MsgGUID: ynHXa/v6R06XZpIymgYy2A== X-IronPort-AV: E=McAfee;i="6700,10204,11108"; a="15595778" X-IronPort-AV: E=Sophos;i="6.08,250,1712646000"; d="scan'208";a="15595778" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jun 2024 08:53:34 -0700 X-CSE-ConnectionGUID: mfdlj9QyTjSN2aqTiUmo6Q== X-CSE-MsgGUID: TGynoP/IRkiVKAi5Qim2ww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,250,1712646000"; d="scan'208";a="41912532" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 19 Jun 2024 08:53:34 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 19 Jun 2024 08:53:33 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 19 Jun 2024 08:53:33 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 19 Jun 2024 08:53:33 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.40) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 19 Jun 2024 08:53:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZZYQ0p9SQDbDluznuNakE879TYakIpOAmx/QuN+eU5IXYkmF041BRh0hjrS9td0GiyF5KliSkYP4PQ3i/ineCPZgfiNpJJa70O/d6qTx7UTqSqMFLU2PDCk/Rf7HYzekz9CHPpWYH6BscB5pYQEGSYhFXfft00BRjr/4Py/J8CpWIZ7J9qllhD7i+seRHblc4EHcHDuVGhcK9uv2FQBnWgzJM29rAZuSSlN7R83ZtUUPVVeIm+LoFMgYToRqhuNlkCVQNp62idJCVtu6su7pRdfKVQi19EEuY1/EHoJi/nOMLVj7igDW4WkzM+vfoG0Rh/GGu3H1R4xWS028ClGOTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DIl4Ru/yB87c62eUntXCf/n49IpUJUNtLGxZ3bOuxQw=; b=Wgmtv7yjoqreGCg7Q3bX/JGUR+W5glQ8Dxnuio5DQZ/p4sHvKALhJU6LknWsihCLe4alD6ku//IzUnZx1xtBE5XhUqoKiXOip5OrTq86MXEYqzUx0GAn0zeobBy92/hT1fIWWt2JXX1+ZYTWe/KkJ/qGtrlU1MBhzw/D1AnQEkcN9GlEpSDT8StNI7zJRTuI5rTUhSjdEFgwXGPy4sl6MvYUgkFlZKtbmOwuGv92dpG16Y7dDyMXB0wDUILaYMvSjiAkmeV6swWdtQv1RNRZt6WhW6+ta0zDl+BxwlyqNLi3G2yfmdCO9SyZyjPPaGIdEzky2+QUSsC2Ic3IoRmJtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MN6PR11MB8102.namprd11.prod.outlook.com (2603:10b6:208:46d::9) by DS7PR11MB6176.namprd11.prod.outlook.com (2603:10b6:8:98::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Wed, 19 Jun 2024 15:53:30 +0000 Received: from MN6PR11MB8102.namprd11.prod.outlook.com ([fe80::15b2:ee05:2ae7:cfd6]) by MN6PR11MB8102.namprd11.prod.outlook.com ([fe80::15b2:ee05:2ae7:cfd6%6]) with mapi id 15.20.7698.017; Wed, 19 Jun 2024 15:53:30 +0000 Message-ID: <6bacbcf4-f8ea-4b22-83c6-74fda86ced41@intel.com> Date: Wed, 19 Jun 2024 17:53:24 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 030/148] net/ice/base: limit PF RSS LUT to one VSI at time To: Bruce Richardson , Anatoly Burakov CC: , Ian Stokes References: <20240430154014.1026-1-ian.stokes@intel.com> <7400feef525c239eeb497536d511d74390c82e72.1718204528.git.anatoly.burakov@intel.com> Content-Language: en-US From: Przemek Kitszel In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: VI1PR0502CA0009.eurprd05.prod.outlook.com (2603:10a6:803:1::22) To MN6PR11MB8102.namprd11.prod.outlook.com (2603:10b6:208:46d::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN6PR11MB8102:EE_|DS7PR11MB6176:EE_ X-MS-Office365-Filtering-Correlation-Id: eedeadb7-9f58-4ac1-5b36-08dc9077f70b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|376011|1800799021|366013; X-Microsoft-Antispam-Message-Info: =?utf-8?B?ZEhjMHlKQUdFaXpERzNzNm9EeE1ZdkNDK2VMdTBwMTREZDNwUUZkWTQ1NHRq?= =?utf-8?B?RS8zTUl1d0F6MUd5Vkxxc0xhTXg0RWFGaUZHMXlDb3lNT283TloxbE1WREdz?= =?utf-8?B?dmJGQ2FhdmVjbFlxS2pHdS9ySVBNQ3k5OCtzWG9meC9zME5RN3FDZUdxN0hG?= =?utf-8?B?L1FLaVlOWFF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?bjdLVjZzcG9UcnZ3VklRZXNZdW95a2kwR2VPY05NZUNSZnRYOHdvalpEbXcx?= =?utf-8?B?aU1UcVJxT3JlT25jU0xZejgzdjh4QWgrMDdKUHN4emxUSVBEQjFyTlhkZmQv?= =?utf-8?B?S3M4djN1U1RETGpES2Q4N2pwSE5qQ0NFeEorR2ttQ0UzVnBENlgrb0NxMTZ2?= =?utf-8?B?ZG9PZWtjUS9GejRXMWEvUGlqa2lvd3l5WGhpT1NxQVR5ZTZUVVJ4d2VpNkZL?= =?utf-8?B?OXhLUzBxai9vQjZMTFYzcFZoQ3o2cmxWU0tqNElhdHl4LzczRzRsWUZYRjkr?= =?utf-8?B?VWtxajhOdVRNOGp1WmVydUNUcGpwOHlWNEpEZDZnZlhWaHhFWS93ajZMUUtr?= =?utf-8?B?aU0vcWFYbit5OGxyNXRYMzgxekoyRk14TE5QT2phRWh5NWo4NzBYQnF3N2R3?= =?utf-8?B?NE1TZlNUU3lCSnlXQkpWUkVpSEI0Mk0zZXZPQUYvcmN4RGNHVDFSYkJBV1ZH?= =?utf-8?B?SFNMYVQzcEVXOVVmMUtKQnlZZDRqL2RqT0VkL1ZwbEIyWXB3cVlsb1JpMmxV?= =?utf-8?B?R0FBcTFMWURQamtHMVhmMFh0RzdqUyt1U1BxZ0EyYktMZThwak9jVTZrZDc2?= =?utf-8?B?NmxFeHB6bEZQTEdqcXZXdFZPemF2ekVjalZPZ2hoYWF1NkVNTFRxemNSNHFT?= =?utf-8?Q?xmjcKXMQmgp2dulnAs=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN6PR11MB8102.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(376011)(1800799021)(366013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OE81Ni9kbDBvNGR0aTlkZ20vMV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FJKYVFa?= =?utf-8?B?YUF5VXpCZmRQbFp6T3hSdk14MThaT014S0REZ3lMRWtFZGdhODNYSEloYldp?= =?utf-8?B?eWt4SVRoaXhYRDRya1d0RmtPVFY4NmJqVDBVUGY1N0pjbWt5ZkxzOWR6azl1?= =?utf-8?B?alJ0N1VoZVZiUDFtT3pKem1IaWZJaW9xVlhidEhCT1B5dE5sNWt4TjllN2Q4?= =?utf-8?B?dlRHUFRkZGhuYjdDa1VVK2R6UmtrUDZZWlJ2RDNHc3c5dC8wT0Y4UWJMd1Qv?= =?utf-8?B?RlZkZmxRUytNcE9yMkJSZitDOVNnbThRZVZhaCsxaEFXaUc5WUJXdkQ1aVgz?= =?utf-8?B?cjBtOG42V1hyYzcwY292czAyUFVsVVhCZzI0RDJDWTU3WUJlMlYxbkN3clVU?= =?utf-8?B?cFE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: eedeadb7-9f58-4ac1-5b36-08dc9077f70b X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8102.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2024 15:53:30.1797 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0e4RNyC4OfdDc5C0ZCyUtMf5VWyVX/ZTOOnO3ZX1bRIIqIA82+CGetAerSIS9w7hCYY/aXLCam8YG9fjNkeVlv07P4qmyZ2L3AZRHez5Rcc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB6176 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Wed, 19 Jun 2024 17:57:02 +0200 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 On 6/19/24 17:41, Bruce Richardson wrote: > On Wed, Jun 12, 2024 at 04:00:24PM +0100, Anatoly Burakov wrote: >> From: Ian Stokes >> >> Allow only one VSI to alloc the PF RSS LUT. >> >> Shared part consists of just a new field, actual implementation will use >> `rss_locks` to serialize the access. Take advantage of the fact that VSI #0 is >> main VSI for PF, what is the default PF LUT holder, so zero-init of struct >> ice_hw sets it as designed. >> >> Signed-off-by: Przemek Kitszel >> Signed-off-by: Ian Stokes >> --- >> drivers/net/ice/base/ice_type.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/net/ice/base/ice_type.h b/drivers/net/ice/base/ice_type.h >> index 48f892bfd3..1e133bb1a6 100644 >> --- a/drivers/net/ice/base/ice_type.h >> +++ b/drivers/net/ice/base/ice_type.h >> @@ -1394,6 +1394,7 @@ struct ice_hw { >> ice_declare_bitmap(fdir_perfect_fltr, ICE_FLTR_PTYPE_MAX); >> struct ice_lock rss_locks; /* protect RSS configuration */ >> struct LIST_HEAD_TYPE rss_list_head; >> + u16 vsi_owning_pf_lut; /* SW IDX of VSI that acquired PF RSS LUT */ >> ice_declare_bitmap(hw_ptype, ICE_FLOW_PTYPE_MAX); >> u8 dvm_ena; >> u16 io_expander_handle; >> -- > > This is a one-line change, so can probably be merged into some other patch, > rather than needing a whole commit on its own. > > /Bruce preferably to the patch that is the first to use that new field, I see none (but I'm not subscribed to the dpdk ML, so perhaps there is some other in the series)