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 33EE644090; Wed, 22 May 2024 22:49:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 053F9400D7; Wed, 22 May 2024 22:49:30 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2078.outbound.protection.outlook.com [40.107.102.78]) by mails.dpdk.org (Postfix) with ESMTP id 1AA65400D6 for ; Wed, 22 May 2024 22:49:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nMdMSqskoLJSieXR7+q33x7cGFMzLiZ038QMcq0qypNqshTcjf/bMtzMC7rcj6b656xQqoAunlMmwKqB6SSdSs2y/fKCa/UbBRMszDFQIQwgWEIGjC27solvCuENgMfsrDyLRwv01Z8wRqYaXPYOH7hQM2/6r33GPAtvq3krYauxAI1SsN2ajmqeeueH4sxox4K6B6nA23BQmq8BtSR76KgEZqRfCcjuSPMC511DuvO8QOjH4VMfIhWURs/Wx25bvPPzRbf/J6HgB8dQqd2V4PCDzJMan7nWY2ktq9qAD9CfEAgGuSabVkitpSpceU/vVLKftU/t0cTJbE6Ff0ILJg== 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=3M6CfeTqagxlUz/E8kdcE9ey8LPINrRBJCCqX0Vy2d4=; b=Qqzwqqmw2kzy+zEgb88ZAfeHGl0jeH5w2lBkpGOxlL4x68PbV9VIDb6xKkPfQUk1lsVgU3I6n7wXdtFH/MJS+w7GkkjBvh+2QqZD76sYnyLO/C/tkCUI4gtONu+PkEhEdASsq1b7gHVnYbB7+2eq7qSWk6Q1KSnbLOA2S4sLo/80ML1PKm5gbBNWz9tI3wkeqARgJOyaKUrrVFh67QZBbZTUT94sO00bFZIRkxjVpfTItLHVa9ulgHZCzF9YXtGBSQlsu/bx3B2he7GoUs0oGRLvFsG64l3RUuFavDEamJ/YMxRvvahQJQEta3lEa/uIPHhSfF3QCNcaHTtl3OcTRA== 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=3M6CfeTqagxlUz/E8kdcE9ey8LPINrRBJCCqX0Vy2d4=; b=D+kgH1JDIIpnH5oLm/m1tCMa00OJjqtaeHI8w3u1J1VHJ62XNbwTa7w8ZcJIP/Ll/rXpsiKqvgDGr+270tVGLh93MX0bWka2VwGuSfOLNVfSHbjJKMdKwXp6IdjJgb9thppfrEq3aeuKHVU/n7qEvoeFUfWRPY/ospKipGlhe+U= 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 DM4PR12MB6663.namprd12.prod.outlook.com (2603:10b6:8:8f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19; Wed, 22 May 2024 20:49:27 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%5]) with mapi id 15.20.7611.016; Wed, 22 May 2024 20:49:27 +0000 Message-ID: <677f7892-774d-4af6-8c45-b9d641ca55e4@amd.com> Date: Wed, 22 May 2024 21:49:19 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/6] support setting lanes To: huangdengdui , dev@dpdk.org, damodharam.ammepalli@broadcom.com Cc: aman.deep.singh@intel.com, yuying.zhang@intel.com, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, stephen@networkplumber.org, jerinjacobk@gmail.com, ajit.khaparde@broadcom.com, liuyonglong@huawei.com, fengchengwen@huawei.com, haijie1@huawei.com, lihuisong@huawei.com References: <20240312075238.3319480-4-huangdengdui@huawei.com> <20240322070923.244417-1-huangdengdui@huawei.com> <51c392a2-0154-4191-b6cb-7ead9888eefa@amd.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+z33QNnHp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h+QOrHGZvpWXLTmffVf/AQ81wspzbfxJ7sYM4P8Mg5kKOsaoUdyA/2qVe cMh1CLUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0359.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18d::22) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM4PR12MB6663:EE_ X-MS-Office365-Filtering-Correlation-Id: ba7b2975-03a8-4639-f0d6-08dc7aa0ab29 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|7416005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?aFB5aHVDNU80TERFVk4xUEV3SHp2ZXZ1TXdPb1ZvczVYcks5UTQ5VW02Y3hi?= =?utf-8?B?R1RpS2FNQ2VPUDZUdmxYaGdGcElmMHZVN3pUOVN6MjhscEdHejdNQ2p6bHd4?= =?utf-8?B?UEdseWJoRVVvYW9DSUsrOGl2QVMyZ0RkNnB0QjVHQnYxbk1wRzREekJVTy9N?= =?utf-8?B?THg5VHdCVG02KzV4eEdkVGsxVXRPRzBFbE9aVk5IZTRxKzdSNUJZOFVCOEp4?= =?utf-8?B?MUEyemk2ZWJKQmZuZFdTLzl2aVVibDlnK0k3L3RZcWVWZlNmRUYzYkFoS0lN?= =?utf-8?B?VThNME5wMWpzTGlVeVdpUDZESGJCbXZDcUZyY0pzU3k0YmZWZDBrT1MwcWc1?= =?utf-8?B?WDJKdC9qbTNXQjJucHNWZU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kc4dXpZRGYrRnBzUDFDMWRaZFhRcFdqTG13N1Q2RzlsWkdYWXQ3?= =?utf-8?B?MEphUlh3UThudWNrMUpWWHZWcGtwUnFzZlE5ZTJ3ZFFIcEFUL3hiK1pXTnVl?= =?utf-8?B?QjVkUEY0bDQwTzliazM0OGdmeUt0dlQzaEFWc0diVGdGb2pTTXU3bHkzYVZ6?= =?utf-8?B?QTk1c0hIVG5ISG9nTU1Hekc5dkJZbk9CbE01dFhjckhBcS9wV2VtVEJJeTVV?= =?utf-8?B?aFpwWGx0MFRCRFFhcFZWL0xpQTlXQTNwb3BWbSs1Wkp6TVI0WjYya0dFLzcy?= =?utf-8?B?b200NmQwbUwyVGoyTDJVbnZ0MTJDdVZ2QU9nakhhRndWQ1RraDV3TjRqSFlU?= =?utf-8?Q?z+UNMGB+pIHO52NNZKzVP7hAYYYcRITFt/DMfEyvBveg=3D?= 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)(376005)(366007)(1800799015)(7416005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?R1JPZitoUVlOMjZFZDl4TllManNOV3FZWU8zRmtFYTlCd3NLbis5TWpOZFRW?= =?utf-8?B?SHpRRGptYWlpbXNkazJpN0ZiUWh2b3Iwb3QrWm1qWmdFZ2JXTUw5amZkQmsr?= =?utf-8?B?OFpkWTZPazNwdFRrL2JCN1l3aXJpM2I5eDdySzlGMHB5SGM2T1dYdEFpT1dP?= =?utf-8?B?dTNyWXBOYmdBSHFScGYwYURNU205U0ZKZ0ZFRE1GQ3FoYkFDalZOSDVvdGov?= =?utf-8?B?YVFqSThxa1R0L2hTcnJ3cHRKMDFxM0JlS2lGci9rT1Q2MWlFREl0L2l6Mkgr?= =?utf-8?B?SmtD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dFlrUDdNR1pzUlFCZWNV?= =?utf-8?Q?GmDjd3l2lSBgLHOLYX+f1GknB?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba7b2975-03a8-4639-f0d6-08dc7aa0ab29 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2024 20:49:26.9168 (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: ZofyCKkPJ+awBJaNRlSvF4rdukHC5FaDAJWss6tKO1EQs3Pi7S8wGTgieCQ2fg+v X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6663 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 5/16/2024 1:48 PM, huangdengdui wrote: > Hi, Ferruh > Sorry for replying your email very late. > The answers to your questions are as follows. Please correct me if I am wrong. > > On 2024/4/4 21:58, Ferruh Yigit wrote: >> >> Hi Dengdui, Damodharam, >> >> As details of the implementation under discussion, I have a high level >> question. >> >> Why/when an application need to configure the lanes explicitly? >> >> In above description, it mentions if one port is configured as 4x25G and >> other 2x50G, port can't be up. How do you end up being in this situation? >> > > According to the Ethernet standard document[1], speed and lanes need to be configured to the PHY together. > Currently, the application just set one speed like 100G to the driver. > And this doesn't matter with lane number. > Currently, the lane number of one NIC for a specified speed depand on their default behavior. > As a result, this situation will be happened. > I guess we come to agreement that with three new APIs for lane (get, set, get_capabilities), link speed and lane APIs can be separated, this cause more clear APIs. >> Lets assume first port is configured as 100G, and FW configured it as >> 4x25G, and again user configured second port as 100G, why FW can't >> detect this and configure ports with correct lane configuration? > > When the auto-negotiation is disabled, FW of the local port never know the configuration of > the peer port. > > After all, not all NICs support auto-negotiation feature. > Ack >> >> In this case, if we push the responsibility to the user, when user is >> configuring the second port how she will know what is the lane >> configuration for first port, and what is the proper lane configuration >> for the second port? > > So we need to support the lane query function for above reason. > Ack >> >> Instead of pushing this configuration to user, why it can't be handled >> internally? >> >> As long as user requested speed configured by device, the lane >> configuration has no impact to the user, right?> Is there a case/reason user need to explicitly set, lets say PAM4 >> against NRZ? >> > Sorry, I can not understand what you mean. > Indeed you already answered this one, explicit lane configuration is required two align configuration of both peers when auto-negotiation is off. > [1] > https://lore.kernel.org/netdev/20201010154119.3537085-1-idosch@idosch.org/T/