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 39FBC44060; Wed, 12 Jun 2024 19:46:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BDABD402E0; Wed, 12 Jun 2024 19:46:18 +0200 (CEST) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by mails.dpdk.org (Postfix) with ESMTP id 095E7402B9 for ; Wed, 12 Jun 2024 19:46:17 +0200 (CEST) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-52bc274f438so230529e87.0 for ; Wed, 12 Jun 2024 10:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1718214376; x=1718819176; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FEFbtk9fzezp8VKJebiC0HzPPmWxfs0WW89qg7NXB5U=; b=LLiFzKXXRXmiPfCa93w07+aDm4hY50NqUc5CnF2cd7pDZovYQ51BT1rYHsT8e1NIrG +3GPWwWfmyhBhuhbiwajfwrL4hzjBVUyXEY0kSgVKlpchr1c72SnxdsgenlILWefK00w m0ofUteCJaE/ukb8H8CgEIOaQxoYANL8gKIC4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718214376; x=1718819176; h=content-transfer-encoding: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=FEFbtk9fzezp8VKJebiC0HzPPmWxfs0WW89qg7NXB5U=; b=tGi3LWJSeqXbOzGcTf9imiPgiibSxOuL0F6sCRnKixYLHtOfwxtNVuBSZYT0gVohWm HlkbnwFneWHZ8fSe3rBO7LR4O303iU2VMsCliG7HHHO+A7SvxWWrxYXn971MQH0zRFpU cBIX+6P6g+oDiJItubDA9DtxIze4mEaCX9DnXQ3Ofx4mZ0qSX03Vwo5KHa0Z2COd8gC6 sm4H4HIfgAq3BiMJYMM70lzqG9dhLP9dcXy0N0+IAXqIZ8kC4ZTYixpyhjDWuUaP4nCw Ozml6AJj4Jw7FZYCWgeYmEDBhTwaGFpYjII0Zs4iNdpDxwuBXkUkjbzeW+3Ec5FK+lto A3zQ== X-Gm-Message-State: AOJu0YwKQsrOPbHJut/uOqSV0YEthZfz4eogxZML5JmbL4GF33iacmDd PWolYgxigkIy67rmhcYyfgfGuUARWfIb+yEw8PnRXy8hvsz7Bo4noyaDMVb+/iivaZLJzfJDG2V fKGSJgzqCDTC0TdFkJPaBeYJ7KY5s+VZUIDcXDd5E2e6c71J+6iy8TIAyUf3oj59Ee4sKJzqfRF PPyCZF X-Google-Smtp-Source: AGHT+IHHA5Z/ym6hB4uAuK15naeqxqp/bSrHhe+jtahBz+Hg1hR9ly1az0MA1axqVUWUFnJ6vKIyIeXrlxFETfoc63w= X-Received: by 2002:a19:e054:0:b0:52c:8479:21fb with SMTP id 2adb3069b0e04-52c9a3c6effmr1609809e87.27.1718214376303; Wed, 12 Jun 2024 10:46:16 -0700 (PDT) MIME-Version: 1.0 References: <20240602024504.179506-1-damodharam.ammepalli@broadcom.com> <12e8986d-1b2a-4f03-a9c9-b1364d5421c5@amd.com> In-Reply-To: <12e8986d-1b2a-4f03-a9c9-b1364d5421c5@amd.com> From: Damodharam Ammepalli Date: Wed, 12 Jun 2024 10:46:03 -0700 Message-ID: Subject: Re: [PATCH v2 0/4] Add support for link speed lanes To: Ferruh Yigit Cc: dev@dpdk.org, Dengdui Huang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Hi Ferruh, Thanks for the review. Will implement the review comments. Have a question in patch 4/4, you can directly index into that patchset for my question. Thanks Damo On Tue, Jun 11, 2024 at 4:39=E2=80=AFPM Ferruh Yigit = wrote: > > On 6/2/2024 3:45 AM, Damodharam Ammepalli wrote: > > NIC adapters can support speeds with different lanes configuration. > > > > This patchset will allow users: > > - get the Lanes capability per speed supported by the ethernet > > controller. > > - set the lanes configuration using a new CLI > > - Display the user configured lanes > > -- > > v1->v2 > > > > Added speed lanes capability and display on testpmd shell. > > testpmd> show port 0 speed_lanes capabilities > > > > Supported speeds Valid lanes > > ----------------------------------- > > 10 Gbps 1 > > 25 Gbps 1 > > 40 Gbps 4 > > 50 Gbps 1 2 > > 100 Gbps 1 2 4 > > 200 Gbps 2 4 > > 400 Gbps 4 8 > > testpmd> > > > > Damodharam Ammepalli (4): > > lib/ethdev: Add link_speed lanes support into rte lib > > testpmd: Add speed lanes to testpmd config and show command > > lib/ethdev: add support for displaying lanes capability > > testpmd: add support for displaying lanes capability > > > > Please cc Dengdui, as they are working on same issue. > --=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.