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 A2DA843CEA; Mon, 18 Mar 2024 22:26:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B1A14067C; Mon, 18 Mar 2024 22:26:48 +0100 (CET) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mails.dpdk.org (Postfix) with ESMTP id ABCF740299 for ; Mon, 18 Mar 2024 22:26:47 +0100 (CET) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2d46dd5f222so54236751fa.1 for ; Mon, 18 Mar 2024 14:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1710797207; x=1711402007; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=w7g6acorXDDG9Twvmy/GWZ3EbKFG+74DPHRRAXmOa0s=; b=HcR1yDrZmh+uTBuDC2Q0y/FzcnSrggeW6k0I4y2waE63/DzUCqb+KBufrZN27uT/fW sIZEykRuMG3FbiKcv5fL1zmO6Vvy/XANIA2df/MNWmI/4Rg/WJgQrMaQ1EAack540pID QAS69k6ToUHxEcx0rSQWlihyVpck3wsRvh7ls= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710797207; x=1711402007; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=w7g6acorXDDG9Twvmy/GWZ3EbKFG+74DPHRRAXmOa0s=; b=tiQ5Dt+0O/4uqdED+414xXotea94AeRgTqYsgb5KzebJjq0JpK9RkfyaSrUVtnH1OH w5HVl1R+tzdf+IbbyZ0NuEwQAFM56Gzz4DVy17i3Wm6zPPkcMiw63FFyOFhMkd1/5ZQo +hnKvHRONnwOaF1NMkxWNLxl0zWM1FtITU2Lekajy3N4sFBo6ba/y0fcpoc69DzG5t1a Q+gzg2SGg92QuIly/OPCcvRBkbR74Xn5teVj/aiwszpcdV2YYhUW03U59l7bZupybQMI jCZWSEnYihG2q7C+5rzNTOF3LfG0RQNkAE6SRFZHH6SG0Z8uRLIpE7e87lVSfozkQhPc /EVw== X-Forwarded-Encrypted: i=1; AJvYcCVUfLGHSNJABkZ1w4lCWEjWzeSWDvXy8vL6qCQ1COtmRgfUekcVIuOoUg5H+QbuRc2T48HiPB9lVce2Jdg= X-Gm-Message-State: AOJu0YzRn97DaAVULtITN2aXWNm3wF8rM1rnTyshrWTIZR6KtHsvEJTx 2Sd+FsdleNF6Mu0T3nF07CT6oR1gFJ+f0AoJ/Zb/lqK8FlC1cx0Q/RKVeRJKsai7frrB1HuohGI lfX9J/9TdiiWbWOK69WTHhnOfyyc5CXpCGgdMZDmGpjyvcDQCL190wV/QBGdRCWzvnKhh0g5iIy y1szOR X-Google-Smtp-Source: AGHT+IGtddpuFgdh/X36ObsbmkBmKB8z9ERKC6pnhi/dhTcEsE2oFZ5n/lSoLlDHCNdjXkLe4Mr2YN2NchlebDeWUr0= X-Received: by 2002:a2e:9b4b:0:b0:2d2:d737:568c with SMTP id o11-20020a2e9b4b000000b002d2d737568cmr7628191ljj.49.1710797207085; Mon, 18 Mar 2024 14:26:47 -0700 (PDT) MIME-Version: 1.0 References: <20240312075238.3319480-1-huangdengdui@huawei.com> <1759403.vCJZsxu672@thomas> In-Reply-To: <1759403.vCJZsxu672@thomas> From: Damodharam Ammepalli Date: Mon, 18 Mar 2024 14:26:33 -0700 Message-ID: Subject: Re: [PATCH 0/3] support setting lanes To: Thomas Monjalon Cc: Dengdui Huang , dev@dpdk.org, ferruh.yigit@amd.com, aman.deep.singh@intel.com, yuying.zhang@intel.com, andrew.rybchenko@oktetlabs.ru, liuyonglong@huawei.com, fengchengwen@huawei.com, haijie1@huawei.com, lihuisong@huawei.com Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000d4b8ed0613f603a8" 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 --000000000000d4b8ed0613f603a8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 18, 2024 at 7:56=E2=80=AFAM Thomas Monjalon wrote: > > 12/03/2024 08:52, Dengdui Huang: > > Some speeds can be achieved with different number of lanes. For example= , > > 100Gbps can be achieved using two lanes of 50Gbps or four lanes of 25Gb= ps. > > When use different lanes, the port cannot be up. > > I'm not sure what you are referring to. > I suppose it is not PCI lanes. > Please could you link to an explanation of how a port is split in lanes? > Which hardware does this? > > > This is a snapshot of 100Gb that the latest BCM576xx supports. 100Gb (NRZ: 25G per lane, 4 lanes) link speed 100Gb (PAM4-56: 50G per lane, 2 lanes) link speed 100Gb (PAM4-112: 100G per lane, 1 lane) link speed Let the user feed in lanes=3D< integer value> and the NIC driver decides the matching combination speed x lanes that works. In future if a new speed is implemented with more than 8 lanes, there wouldn't be a need to touch this speed command. Using separate lane command would be a better alternative to support already shipped products and only new drivers would consider this lanes configuration, if applicable. --=20 This electronic communication and the information and any files transmitted= =20 with it, or attached to it, are confidential and are intended solely for=20 the use of the individual or entity to whom it is addressed and may contain= =20 information that is confidential, legally privileged, protected by privacy= =20 laws, or otherwise restricted from disclosure to anyone else. If you are=20 not the intended recipient or the person responsible for delivering the=20 e-mail to the intended recipient, you are hereby notified that any use,=20 copying, distributing, dissemination, forwarding, printing, or copying of= =20 this e-mail is strictly prohibited. If you received this e-mail in error,= =20 please return the e-mail to the sender, delete it from your computer, and= =20 destroy any printed copy of it. --000000000000d4b8ed0613f603a8 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="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