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 91DDA43C27; Fri, 8 Mar 2024 18:24:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7EC9542FE5; Fri, 8 Mar 2024 18:24:27 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2079.outbound.protection.outlook.com [40.107.220.79]) by mails.dpdk.org (Postfix) with ESMTP id 39E0E42FAD for ; Fri, 8 Mar 2024 18:24:26 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MlHJS2Q3UP3nJI7cFhP27n3HqAN53iuBgcWVFucfBOL2K+0B9KZMknffva7FkecRc1Ksoz5GvQXsqYMY0yTGCALMj48BmTD+pf85a1nj2jwu8kO4i3y4tprOAjDZGfZNqVqXAme9iB1dFQ1s5yXJSfoMhmR5h8HQ+QAkkXOxSXnsyYUQsvgvOREbqG68ZInCgEnCKoqsDkGaKNnsQPttTL5OSTL88Q5cQmzeCb9LAoefvgqjiequLn9UonhZKtsGHn+aMCWa+9BZFNBKh8sY4EqtZghBkWqcmXWk7CprEsF6y/MPX+KAV0Tc7PkpVX7A4nOC0vkp94hp7pPPIidwww== 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=HA11WWVaz7+UPJa15o2ogCD57/j4QKy75RazjmnG6wc=; b=ivGTW/vFgOjl4ld4Dd5oKomJSalmk89yJito0JSh8FT9MUgrnQljB0O8pxpv475mZcAmo/QPMNfIeejpW52fDZpL+RGNssLzUqzSY+WfdwKHGD8YcFiY6galhj6Q+M6wVB7b7xNJilMAkpvwbWw4AdROSp8DZn3a1jyrwUdhCSz6XbjZIXCdNoQgz5zqXPx9xQECfBOhjLbCW7kwOOOp2Y++KHOu3coBNEwd4d3z5cSX88wvcqeWkR0zwDPRbMGUeSEgb6qWd9C//2Ech0p9AyD23/NNoVpasT0L5RSOz+GABoJfj7bc++TUiLHoSGpiMLh1GksEKe0iH0VVUW+FiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HA11WWVaz7+UPJa15o2ogCD57/j4QKy75RazjmnG6wc=; b=eS3zxmYJawWagNIcaigpQJm78lDAweHMi75UitgOAKslng7QhI9nSQn+lYCxXa+aFjyUEwcT3db5RtLbmD3ympWUeytgeMhy9Z5NCf8s0Xlm4YzCRvfKLO0d+UOIGnmINAQZhifXn3mvTIpvDkqTQx1xRT40E8PClWdFDy/PMIE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DM6PR12MB4155.namprd12.prod.outlook.com (2603:10b6:5:221::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.29; Fri, 8 Mar 2024 17:24:24 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7362.028; Fri, 8 Mar 2024 17:24:23 +0000 Message-ID: <76154018-868a-481e-9922-ed5bd166d90a@amd.com> Date: Fri, 8 Mar 2024 17:24:22 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 08/33] net/ena/hal: exponential backoff exp limit Content-Language: en-US To: shaibran@amazon.com Cc: dev@dpdk.org References: <20240306122445.4350-1-shaibran@amazon.com> <20240306122445.4350-9-shaibran@amazon.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQf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reply-To: <20240306122445.4350-9-shaibran@amazon.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0217.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a6::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM6PR12MB4155:EE_ X-MS-Office365-Filtering-Correlation-Id: 81cda41c-e672-4d93-56f7-08dc3f949908 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IFFnERrSzW1wjXpXr7Lf7mmcHDAXPj4xnVZQ7eC2QnZlu3Wwy45sOkaOyZ4o8RVmrZ9lSpKGurFp2AzCC0mMDg2YiH29992s/RzYiAoOmWoBND3n5iY1Bu3O13IH3gGJ3Ec+VXPsn5yCnz81gYBkg3f6XMc6RsVzcCxCEWo1A6Aq5eOjKSoFlz1MA4lmoqFb3s99Yk8elXr7Pf4m9/ImjPBKLJvryjPnIvf4MFkomS5G0VQ6wb/NmUqspzC/mGyMXeRXzR6yLt4jjCSJJUUXl2inrDGU330KfTioHfU+G2tgF1mI1+yGoTh+pYymzxVK55QM4HUHVZgGbfkXO+/EREEdqaItGWEAVnmqlYQvChOtY5ydch/sLeMdcftO8j+rsyblX2igknTue1rWrYllNHXv6DPTrGwF8Aq69ZmW83Sh3DMTTFBc9B0Bc2AhgjJsoXe8bDTi1uxwVF1YE+qWyJLgBbc/4KleE6AW28pZYZ3qkkDK3qJ4MZUfK9ibVzr68KzPOshXxQy6KNC84lyEQFeUqdonVgt1zT9de1XmQc6WqXn1u2wdfbn7bAA0tM+zhAFFthDN2zqDJ51YwW4kd9jGK2goUO68xJd6JlGoNJq7DZk5q3DE3Z4TnajyAGKV7iPIgUlcV4Flr21mJ8FssXx+VfqUstRPj/aepnI4OG0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T1BqYVI4c3ZuKytJS1NyalI3VlFxbzVwK0NpNUtXSkxPaDZvR0dIVGhsTTk5?= =?utf-8?B?ZE1MSjB0TExuOWZtUTQ3ekVLc1BVTFVoWTc5NjdRV3NDdDIzVXlWUC9ncjFV?= =?utf-8?B?b3AzSlczTUxubHBpRGswMXZjZnlEeXFHSVRaUUFIRU94b0NORm9QbU5JNVo3?= =?utf-8?B?VHdhZXg5YjJ1MGlkVkpjRWZ6QXRDTExjT0RHeXc3UzdrcFRTY3o5Yko5b3RN?= =?utf-8?B?czg4NURiQ0s3dE1aUmdYLzI4R1BKS1JNdjVNRUpvbFJ3M2g5SEtBVWN3KzN2?= =?utf-8?B?NURIRkl1aWQ4c1U5NGhzNU1QRDU3OUljK1N3Z2p1bmtkUktOSFRUZHh3cGls?= =?utf-8?B?dW1yaHdydlBFaXVQZ1dpQ1IzK1BxQ2hQYXE3ZEgyTjUvbnNva3hEU3FBQkZa?= =?utf-8?B?S0JGV1N0eGZEM2l2NzVGaVk3ZW02K2RRV1ovZFJuMGM3YVRMajRPekxTWlY5?= =?utf-8?B?cmZHQmRDZHNBRmFSMWx2RVlVdzdJcnQrUzdOcG0vZk5iWmJ3d3dqV0d0VkNO?= =?utf-8?B?V1NrcHVnQkdEMTAvTEdhTE1LWkE1Ryt0WjBPS1NZMFc3OUdNcHR6WlU2UEdn?= =?utf-8?B?L3YvODhkcURuT09DRjFwRGtHempWMFkyeFRtL3ltNXM5ejZKVkp6SW84TmZ0?= =?utf-8?B?QkR6cWx5ckRUbEU3M3JicVV0QVV0SXJ5cWIxdW9vNF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L1V4V0lyeGU3ZDkzOG1YOGZibWdK?= =?utf-8?B?WlhTMDh1NnBhTTBBalN1Z002ck53VkhnOXV4Tk1aWEc1MG9ScHBtNUFVTjlI?= =?utf-8?B?REdVTEVmbVJVNGZGYVh1dEhqSkpPY0V6RVdIZk9IbE84RnBXYk9aTGRKbTV0?= =?utf-8?B?c25MMytkSGN4bjZPSWsyN3lQV1V5NkNDaG53MXlqc2ZnYVJpbG1XUnl5aTFL?= =?utf-8?B?KzVIU0FCRHdIb05sZkVvdmhTOThSZVZGK1dNRGprVldtTHNFTUdyU0U2ZGZJ?= =?utf-8?B?eE5lZDEyN0pZbWRWTWxUcmxsUDEyWkxJc3cwWnJBZ2NDTmxiTDVYVHpjYTJU?= =?utf-8?B?MVllU0c2RU5Ca2lueHUrNkFKZ3djMWluL3l2N3Rldkw4OHVIaVk2bDZUL3ZC?= =?utf-8?B?K3p3bTFpZ0F3R09oRnQxNkZIaW9OdnhRM0tzUjBFNlNLb2NyUlJ5ZkU3Zm1V?= =?utf-8?B?MFM3ZTNoT1VIZzVYTmF1VnpvaWpqOHhraUtscmpITEpZdEptSmhyU092VTg4?= =?utf-8?Q?zXfre6qIC8LI2sgUHkKLhoEtT?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81cda41c-e672-4d93-56f7-08dc3f949908 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 17:24:23.6730 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1vWhIiT3/9An4oagGRmVUXEBlKpzGdGWgdrU+MLuPJMGuSUTh5ZTByg3nvfliXqM X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4155 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 3/6/2024 12:24 PM, shaibran@amazon.com wrote: > From: Shai Brandes > > limits the exponent in the exponential backoff > mechanism in order to avoid the value overflowing. > Is this a fix? What was the impact of the overflowing if not limited? And is there a significance of the value 16, can you please elaborate? Also let me remind the patch subject format, (this may look insignificant but helps to have more unified commit messages for developers, and if not updated by author, maintainers update it and this brings more overhead to maintainers): "sub-module: verb object" And we use verb 'fix' explicitly for all commits fixing something, and that something can't be referenced as 'error', 'failure', 'issue', 'problem', etc... but it should be detailed. Most of the times better to document NOT from driver internal perspective, but impact of it, like "net/ena: set chain limit to 16" is NOT a good one, it explains driver internal perspective (making all up) but it can be something like: "net/ena: support big packets by increasing link limit" For this one, I am not sure impact of the change so hard for me to propose an alternative, but just as example it can be something like: "net/ena/base: avoid collision by limiting backoff delay" > Signed-off-by: Shai Brandes > Reviewed-by: Amit Bernstein > --- > drivers/net/ena/hal/ena_com.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ena/hal/ena_com.c b/drivers/net/ena/hal/ena_com.c > index 6953a1fa33..31c37b0ab3 100644 > --- a/drivers/net/ena/hal/ena_com.c > +++ b/drivers/net/ena/hal/ena_com.c > @@ -34,6 +34,8 @@ > > #define ENA_REGS_ADMIN_INTR_MASK 1 > > +#define ENA_MAX_BACKOFF_DELAY_EXP 16U > + > #define ENA_MIN_ADMIN_POLL_US 100 > > #define ENA_MAX_ADMIN_POLL_US 5000 > @@ -545,8 +547,9 @@ static int ena_com_comp_status_to_errno(struct ena_com_admin_queue *admin_queue, > > static void ena_delay_exponential_backoff_us(u32 exp, u32 delay_us) > { > + exp = ENA_MIN32(ENA_MAX_BACKOFF_DELAY_EXP, exp); > delay_us = ENA_MAX32(ENA_MIN_ADMIN_POLL_US, delay_us); > - delay_us = ENA_MIN32(delay_us * (1U << exp), ENA_MAX_ADMIN_POLL_US); > + delay_us = ENA_MIN32(ENA_MAX_ADMIN_POLL_US, delay_us * (1U << exp)); > ENA_USLEEP(delay_us); > } >