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 E8F8F45BCB; Fri, 25 Oct 2024 19:02:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D399A402E4; Fri, 25 Oct 2024 19:02:47 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id 03D4C402D8 for ; Fri, 25 Oct 2024 19:02:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729875766; x=1761411766; h=message-id:date:subject:to:references:from:in-reply-to: content-transfer-encoding:mime-version; bh=kVP/9Axj+Wd1wf0j0c6agZLqi222Gh/rgTp514NpN98=; b=AfebmMtw238coVFZX0ZPE8uV/6VDof026lc+xpdlx1jji/z4Ghzohhc8 YhgJyG5bmRk8VBm3RrLpqSO2HITlZxq7zxZDjApeRncaFTVz7kq4xS5JX V0Q7odHUIO/WA0bZmKoh+wxnyNlqMeWEnhBo0CUV6A3pikKodnKW41NTh didvNT6X9vi396amFdnSPCeWwa5yfEqFM7XmkH84JVrXNt6ORa/C5KA+D uBU8NKwO2mfA2Zz5ukXTOoOjXtdoLMWIdzMom0zNdLjZ4AZiYIcjlwm8r i7ftLWp12/dkkDrrc+GJY8BVJxM7Yk/KfU7YhAmsMqD03zizyArXmFpr3 A==; X-CSE-ConnectionGUID: nUziBR/vSPKX9mgoYkdp3A== X-CSE-MsgGUID: 4vQxvwKaTOKRkBFD9FDq3g== X-IronPort-AV: E=McAfee;i="6700,10204,11236"; a="54958295" X-IronPort-AV: E=Sophos;i="6.11,232,1725346800"; d="scan'208";a="54958295" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2024 10:02:45 -0700 X-CSE-ConnectionGUID: te7rLfFeS8eSadyykS9iTw== X-CSE-MsgGUID: oFLcY1feQT+nJ0hupF/k/w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,232,1725346800"; d="scan'208";a="86076878" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa004.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Oct 2024 10:02:45 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 25 Oct 2024 10:02:43 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Fri, 25 Oct 2024 10:02:43 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.170) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 25 Oct 2024 10:02:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cKXbe0D9wQnsPLcYMiMeOSrM6MpCvvknC/r/Ryjj7OjD2axgffxRZuqdi7QuITh+Uu5GI+8G3JuFtueptqyEFlmS6qeb94345neaCspWCaRNi98VHszKmfrcdfSIrEmOtfJ0ynuRXh2qP6kG/4ogi5IsGj4uuc984uJ+JBSyNvLawYW7xYolSCF7TFFkxR1w6+8dmY4td4mZrN+K8GK8LltgdiNiA378wGOvuSKcWfqgYZuuHruC/Ft2pTOTgs8EGtJ3eHkVKvkuR5qEoUY3C4ZFPv7MnUcbuXApVf37bDYxHvaM/rhVSSlBfzWLZOusH9bkEcu5tbQ17xai1zPEaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=PzFhz/1KFSqwg8leU8og62HvltNltSzirxEod2KAmQg=; b=D9C604GPizOD25ZQGwdt2PRh4RhIcmbBlcTVOCOhwMtBF167H1T59Us/UYfvri9DWRugy0GJTxPRK8XDLDjv6C2TtalRs8s3tLie3qc5ucIjjy00SGaaOaKgJUnAEk0MRsDj9g8l4QF6Wm0AiAhn8/tk3zxtbf8d6YTui/wi/5CNaP+epIIRvvINb9TuX8wKSZOb5PKeiJPifK2VzVvSz143mBqiRV8e5WiFAxLyoyQSneTCezDdg7pMspN7yZZOc+p3UBVlghM0xLGCvMLPhqX2Cu6qpLXr2tdZIg4nyULwYrB6KTf5jXUzmXN4AXSrAuIRRDE1yPB9yr6XRZdsfQ== 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 SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) by SN7PR11MB7565.namprd11.prod.outlook.com (2603:10b6:806:344::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.18; Fri, 25 Oct 2024 17:02:40 +0000 Received: from SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::5851:319:3da6:850b]) by SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::5851:319:3da6:850b%4]) with mapi id 15.20.8093.018; Fri, 25 Oct 2024 17:02:40 +0000 Message-ID: <31fcf42e-4d5a-4931-96cd-94b281ac5161@intel.com> Date: Fri, 25 Oct 2024 18:02:35 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 5/5] net/ice: provide parameter to limit scheduler layers To: Bruce Richardson , References: <20240807093407.452784-1-bruce.richardson@intel.com> <20241023165540.893269-1-bruce.richardson@intel.com> <20241023165540.893269-6-bruce.richardson@intel.com> Content-Language: en-US From: "Medvedkin, Vladimir" In-Reply-To: <20241023165540.893269-6-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: WA1P291CA0021.POLP291.PROD.OUTLOOK.COM (2603:10a6:1d0:19::21) To SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5772:EE_|SN7PR11MB7565:EE_ X-MS-Office365-Filtering-Correlation-Id: c451e33e-d3e8-4559-ef09-08dcf516d557 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VDg4STJVekhMUm5JV3hsd2hWRDlKK05xQ3FhTHVudXBkdlhhUjl2dHI2c2JT?= =?utf-8?B?L25pMC96R2xSNFBlZFcwVGlSMkJYR0VtRnhjWHdJQlZISFRzaUlpSDNmU1Jp?= =?utf-8?B?Z1RRSG00TmlZeVVhdThIbEdhdENrOERjbnJMUUlnZjBzcDdabUFEWnE2azZ1?= =?utf-8?B?TjZiSXFJZGwwRjRpZ3RUOVdISlZ1NzQ4R1NuZ21YbHBkMkFsTXIyZ2ZRU0Vv?= =?utf-8?B?MCtGNjZHRFh6SExaNGRPYklZR2luT0YvSzRSS2FzSkpja2dYWm0ya3FhaFVB?= =?utf-8?B?ZEppcmxRL0hYRjdsTzN5UHFoV1dQOVlPaEJxUH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YUpuY3NPRW12SkRETXB5S1QvbHo5eS9sTzA0SWFq?= =?utf-8?B?c2N3Z3BMbXg0dUN0cDk0emN3YVBQVitoQ1A4djZhNThjdG10aWVjMzc2S09t?= =?utf-8?B?Y05ORWZsOFh5bWJ3Zlo4cjB0WG9tcko5MkVONnd5Qnk4bmY1YW9xejBzaEFq?= =?utf-8?B?Q2t4YmZHZTErN0F1cjdQbVJqdUUrMWVqQVhWR09IeEN5Rm9kb0Q4L205Yzdk?= =?utf-8?B?MHR4cDA0ZTkvdVVRa0lVNEVrM2d3VVRRRGtMS2hUa0ZUTkpVeGJXUFpqNjAv?= =?utf-8?B?YVRhR2YyM3lmNGxYNjR4ZkZvZnZnUW5rNjRYYjF4OUU3TjJKMDh4NHZyUHBn?= =?utf-8?B?VGlJQVdCdzNLcEdhb21YWGlveTRicTBqNzE4b2lxSG94SEZWdWc4anZyd2tG?= =?utf-8?B?MzJiSXBzRFpPcGExVnBHWGNaRFRqUk5rbEQxM3VtaC9nUFR5bXR1Y3hVRzZU?= =?utf-8?B?c0NoeStPNUFBSVczMThqcDlmN05lK251bEt4bzJBZXJpczVjc25xZm1VaDBl?= =?utf-8?Q?zIwYmv4W8qib5UyZirVutLqRIFtcjOQVMBBwDAe?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5772.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SmdqRmpES3JQdHl3V0dYUE1GS2txRHhEbkdhT25VSURZTm9vRDFCbTlwZzBC?= =?utf-8?B?YU0xSnNETjR2MUZUb0pmVGxXUkNPREpqRzRnR3ZpUFNCSCswSmpWNEZISUpt?= =?utf-8?B?anY4ZTFvcW5vS2ZReXRsY0ZKbTFNY05tbndQM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?B?V0xkamt1Tkpzajhqc3VwbjhwU3pxR2k2ZUpDM3B6UDZTcHZseVlmOCt1dmxt?= =?utf-8?B?TW5kS1l6VGlHNVcyc29OSXVSaUtXVWRVSTU2S2tOSkEwZ29UNU0rbmVVT2p5?= =?utf-8?B?NFgrRE9zN1ZGRERUVndyU0hMSjNhMFR1ak4xNnBDQS9weHB4VGd6U2ErSnkr?= =?utf-8?B?VHp3cmM3MmErdkp0Z3QzR3d6a3JYbFl5cGc0djBxSkd5OVhEMmtSQUdvSGpk?= =?utf-8?B?NGc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: c451e33e-d3e8-4559-ef09-08dcf516d557 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5772.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2024 17:02:39.9614 (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: VgtEFSWWXceiTKPbA34VH2mwjR4msFvOpgF+GMTdfraaIPTxX+TXbyS0cgMPeWJEZGRpBMD4WNw4sIz1Ev+EfNCKsr3GVAmqpjohH8rDxXE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7565 X-OriginatorOrg: intel.com 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 Acked-by: Vladimir Medvedkin On 23/10/2024 17:55, Bruce Richardson wrote: > In order to help with backward compatibility for applications, which may > expect the ice driver tx scheduler (accessed via tm apis) to only have 3 > layers, add in a devarg to allow the user to explicitly limit the > number of scheduler layers visible to the application. > > Signed-off-by: Bruce Richardson > --- > doc/guides/nics/ice.rst | 16 +++++++++- > drivers/net/ice/ice_ethdev.c | 58 ++++++++++++++++++++++++++++++++++++ > drivers/net/ice/ice_ethdev.h | 4 ++- > drivers/net/ice/ice_tm.c | 28 +++++++++-------- > 4 files changed, 92 insertions(+), 14 deletions(-) > -- Regards, Vladimir