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 8AAB44575E; Wed, 7 Aug 2024 17:41:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79039427E1; Wed, 7 Aug 2024 17:41:12 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2089.outbound.protection.outlook.com [40.107.94.89]) by mails.dpdk.org (Postfix) with ESMTP id 7A967427E0 for ; Wed, 7 Aug 2024 17:41:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tmpvuq7UA/bio59ULItNzvteh2mZHpLXY+rHdvR8Y0uucUxyAgPW9MqwnsfV5rsvTYMgkcNK1N1AVaNqHB7IrWk9uLZ9cKVTgo06QjROkJq8cPRjrNSa/yAe2/m2FlMfHwC3GjKRX0fULqqL7TlaM9ccYGxetbLdZpDCzg1Hex2hX76jGWRavGgvri6fLBec4Eim4KZ0Jhu6ICF6JcaVPXMMHsFp2thSUAlygzdrWBhrdKi5QvwFVmj3NHga82PmHbOqTE2mxGaqGnuHm875kdt/rLm8b7f0FSPrlcYwU5zPj28kAtZbEgiQZ3Y/81o81JjUWP9lANzSC/gP+Jia2A== 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=Ypt24JZe8LURS30HwT9pWfqJbgRsZxo3rflVhW2SGkY=; b=ciAtCiCELeC9nnMzmwKLiioI7u1IFt8jN7NIM55eMU7MTZAT7JfBR8C2p+4kYk5PS/bwQwKSB/7lX8Yd7fpopy34B639LfCb+GKbK202BALqrTNoRG1yW/Nmfhno6XWEqjIS0FB4Y7LoV41QcNbiC7+6leqtuTWFG86gmrC9IzP9UX/LLdzenZxHYmQoPP4aqeEKsNMnZlaOJuerNs9FccQTok5weTJrEPHxFx71Uvi8McVF9lj/S4ZvlCQiZNsiUmPCU17Mt3L/90MzbiTCxXzQ29UHAAQfRYg1OsYJzfBPkDbKh1WG0kMLs4ZxzNDqVgLG+GTT9Vtj3wzpCNQn9g== 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=Ypt24JZe8LURS30HwT9pWfqJbgRsZxo3rflVhW2SGkY=; b=Wbc6gkTRm1nmAzwEaeA0cwzm8iwvAJRTlxgpuATlV3wUfGGlJVl9ikbnbTNK/OjJtL+Njwi14kzzviwBpopJl8GPz2Oa1dvAzAxH0paz1HvhILsUhXToAaVUCfbYLpnjCSvD0eFlnMp3k9j3O9Af+I85iumu+CTPEu7HQdhMAp4= 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 MW6PR12MB8661.namprd12.prod.outlook.com (2603:10b6:303:23f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.24; Wed, 7 Aug 2024 15:41:07 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7849.008; Wed, 7 Aug 2024 15:41:07 +0000 Message-ID: <5a5de567-3df5-438b-9614-d77428275667@amd.com> Date: Wed, 7 Aug 2024 16:41:03 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 17/17] net/dpaa: improve dpaa errata A010022 handling To: Hemant Agrawal , dev@dpdk.org Cc: Jun Yang References: <20240801105313.630280-1-hemant.agrawal@nxp.com> <20240801105313.630280-18-hemant.agrawal@nxp.com> Content-Language: en-US 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/6BQJkdyEE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fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240801105313.630280-18-hemant.agrawal@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO3P123CA0002.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:ba::7) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MW6PR12MB8661:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c8c4a87-3fdf-4160-af3c-08dcb6f75a97 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?d1o2SXExcjdyOXh4Y29kNStMdWtNN3FaM254RjhXUkRrdzUyV3FidnNETEpo?= =?utf-8?B?bHFyNGMzT2pOd0pkS0JPQzRLR2FlK2xZSDFHN3VJL0paYnVBeWtGcno3WkVi?= =?utf-8?B?UHVQQzUxdHAzZHN6ejVLcTBSanhDdHhDSkVybnB6T0RrSE5UcEcxaVhOeTlY?= =?utf-8?B?ZGZLRTZCSy9lc3lMUjIvaVN0bUdqUXcvQ09lRlNLUTV5SE56YkorTFVTcVVG?= =?utf-8?B?WG1HSENxN0gxb05Samx6Y0NsNGkwVnBoQUM3dzN4YnRHdzlDaUEyNG8rWFVz?= =?utf-8?B?ZW5qQ0pGcXRCZkp2bjdzU2h0Vy9LUjZCY3U3R0YwL1VPNnlaMDgrVXVmeGV0?= =?utf-8?B?MHpTUzA4TkkydWdEUlVsM1hqZjVCSm5WS2w5a1BwbGIzQ2ZLZUxpMDBFZkNT?= =?utf-8?B?OUU5aXBhNEdlWmM2WjdnTUtPWVhMUlJXbjRrOHluVm1oVFBFVDJ4ZUxSQkdi?= =?utf-8?B?U2hLR21ya3hYYlN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xBaFBZN3RuVXpQUDF3OWlkdHF3QWZhNDYzUlRxdldT?= =?utf-8?B?emZwZk41emI5cFUveXVrS2tvbVVBVGRocW50ekV5QUNxNENDMTFrWUI1YmhB?= =?utf-8?B?QVV2Z2NhM1J3aVQ1OXNWaUZIVEc2dUtGZVhQUDhTcGZpVzFZNXpiU1poZkZr?= =?utf-8?B?bkxjai9yRXZFMSsxRzY1VDdxdWdsNVJENTVDMUN6bGpxamdyVHkvTVdQYUpt?= =?utf-8?B?UU9NYnRYcldmalZhMEFyNUZVTjJuZ1lQTjhPeG5Bb08zRm56VmNQbVM5NXoz?= =?utf-8?B?RnVsRGsyK3V6NnQ2dVdRYm13UXp2T3FKVFBRSU5zdkFJdEhzbGZ0UGRMS2pO?= =?utf-8?B?RGtxR0dCQjJLU0hiY2NubUVrSmtLRkZGKzAvQlFLOGJXVVFsZlVKejRNR2lp?= =?utf-8?B?SHU3Z0dpRUxKdXMzTGRuUT09?= 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:(13230040)(366016)(1800799024)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MHM4WDBpTW5Oc2RvVitRcjllelFKOFVvMm5TWWh3YUdLcVRZUDliUW9BTDRQ?= =?utf-8?B?a251NXhZNXYvMm5iaWNtSm1zU1VJWTFNY2dqOFJaUHZoMHExY1E0eFhNTTNw?= =?utf-8?B?Zi90SloyK3VQUENlbWhuOWNhODcxOTg4MFlpeDVvejNtNjFuM0FtbFZMa3FG?= =?utf-8?B?R0N3M2hUUkxZYkw0elRlb0tveVR4bU1wUTRqQzl1R2g2VHQrQ2dDVEp4Y21K?= =?utf-8?B?VTBIR0VablBWRVNicjBSa2RFckErMW9kZHV2b2RwekJneFg5Mk1UNC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UHIwUEM2a2pFT3dKOC9IUjlqaHJURCtv?= =?utf-8?Q?RtJ4qRfl2c1PRhvh3lsy6WJCh?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c8c4a87-3fdf-4160-af3c-08dcb6f75a97 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2024 15:41:07.4627 (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: YTnwgSd3wmHY1uTQ7mZDFqtEJ05E7KftwuPNSKJ0N2q6jG39QCyUTGaXLAeL78d/ X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8661 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 8/1/2024 11:53 AM, Hemant Agrawal wrote: > From: Jun Yang > > This patch improves the errata handling for > "RTE_LIBRTE_DPAA_ERRATA_LS1043_A010022" > > Signed-off-by: Jun Yang > --- > drivers/net/dpaa/dpaa_rxtx.c | 40 ++++++++++++++++++++++++++++-------- > 1 file changed, 32 insertions(+), 8 deletions(-) > > diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c > index 84fd0c57a4..325785480a 100644 > --- a/drivers/net/dpaa/dpaa_rxtx.c > +++ b/drivers/net/dpaa/dpaa_rxtx.c > @@ -1264,6 +1264,35 @@ reallocate_mbuf(struct qman_fq *txq, struct rte_mbuf *mbuf) > return new_mbufs[0]; > } > > +#ifdef RTE_LIBRTE_DPAA_ERRATA_LS1043_A010022 > +/* In case the data offset is not multiple of 16, > + * FMAN can stall because of an errata. So reallocate > + * the buffer in such case. > + */ > +static inline int > +dpaa_eth_ls1043a_mbuf_realloc(struct rte_mbuf *mbuf) > +{ > + uint64_t len, offset; > + > + if (dpaa_svr_family != SVR_LS1043A_FAMILY) > + return 0; > + > + while (mbuf) { > + len = mbuf->data_len; > + offset = mbuf->data_off; > + if ((mbuf->next && > + !rte_is_aligned((void *)len, 16)) || > + !rte_is_aligned((void *)offset, 16)) { > + DPAA_PMD_DEBUG("Errata condition hit"); > + > + return 1; > + } > + mbuf = mbuf->next; > + } > + return 0; > +} > +#endif > + > uint16_t > dpaa_eth_queue_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs) > { > @@ -1304,20 +1333,15 @@ dpaa_eth_queue_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs) > DPAA_TX_BURST_SIZE : nb_bufs; > for (loop = 0; loop < frames_to_send; loop++) { > mbuf = *(bufs++); > - /* In case the data offset is not multiple of 16, > - * FMAN can stall because of an errata. So reallocate > - * the buffer in such case. > - */ > - if (dpaa_svr_family == SVR_LS1043A_FAMILY && > - (mbuf->data_off & 0x7F) != 0x0) > - realloc_mbuf = 1; > - > Previous approach seems better, detect when need to apply this errata, and apply automatically. Now there is a macro controlling it, how a user will know this errata is required and how to enable it. And this prevent same binary distributed multiple environments combination of errata required and not required. Why not stick to the old method? > fd_arr[loop].cmd = 0; > #if defined(RTE_LIBRTE_IEEE1588) > fd_arr[loop].cmd |= DPAA_FD_CMD_FCO | > qman_fq_fqid(fq_txconf); > fd_arr[loop].cmd |= DPAA_FD_CMD_RPD | > DPAA_FD_CMD_UPD; > +#endif > +#ifdef RTE_LIBRTE_DPAA_ERRATA_LS1043_A010022 > + realloc_mbuf = dpaa_eth_ls1043a_mbuf_realloc(mbuf); > #endif > seqn = *dpaa_seqn(mbuf); > if (seqn != DPAA_INVALID_MBUF_SEQN) {