From: Ajit Khaparde <ajit.khaparde@broadcom.com>
To: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Cc: dev@dpdk.org, ferruh.yigit@amd.com, huangdengdui@huawei.com,
kalesh-anakkur.purayil@broadcom.com
Subject: Re: [PATCH v4] ethdev: Add link_speed lanes support
Date: Mon, 8 Jul 2024 16:34:53 -0700 [thread overview]
Message-ID: <CACZ4nhsvuKnM75JZr+7g42zPiNU3crs5HQ0jxE0us8cF8i_PTA@mail.gmail.com> (raw)
In-Reply-To: <20240708232351.491529-1-damodharam.ammepalli@broadcom.com>
[-- Attachment #1: Type: text/plain, Size: 1720 bytes --]
On Mon, Jul 8, 2024 at 4:30 PM Damodharam Ammepalli
<damodharam.ammepalli@broadcom.com> wrote:
>
> Update the eth_dev_ops structure with new function vectors
> to get, get capabilities and set ethernet link speed lanes.
> Update the testpmd to provide required config and information
> display infrastructure.
>
> The supporting ethernet controller driver will register callbacks
> to avail link speed lanes config and get services. This lanes
> configuration is applicable only when the nic is forced to fixed
> speeds. In Autonegiation mode, the hardware automatically
> negotiates the number of lanes.
>
> These are the new commands.
>
> 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>
>
> testpmd>
> testpmd> port stop 0
> testpmd> port config 0 speed_lanes 4
> testpmd> port config 0 speed 200000 duplex full
> testpmd> port start 0
> testpmd>
> testpmd> show port info 0
>
> ********************* Infos for port 0 *********************
> MAC address: 14:23:F2:C3:BA:D2
> Device name: 0000:b1:00.0
> Driver name: net_bnxt
> Firmware-version: 228.9.115.0
> Connect to socket: 2
> memory allocation on the socket: 2
> Link status: up
> Link speed: 200 Gbps
> Active Lanes: 4
> Link duplex: full-duplex
> Autoneg status: Off
>
> Signed-off-by: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4218 bytes --]
next prev parent reply other threads:[~2024-07-08 23:35 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-22 22:25 [RFC 0/2] Add support for link speed lanes Damodharam Ammepalli
2024-03-22 22:25 ` [RFC 1/2] lib/ethdev: Add link_speed lanes support into rte lib Damodharam Ammepalli
2024-03-22 22:25 ` [RFC 2/2] testpmd: Add speed lanes to testpmd config and show command Damodharam Ammepalli
2024-05-22 20:59 ` [RFC 0/2] Add support for link speed lanes Ferruh Yigit
2024-05-28 21:19 ` Damodharam Ammepalli
2024-06-02 2:45 ` [PATCH v2 0/4] " Damodharam Ammepalli
2024-06-02 2:45 ` [PATCH v2 1/4] lib/ethdev: Add link_speed lanes support into rte lib Damodharam Ammepalli
2024-06-11 23:39 ` Ferruh Yigit
2024-06-14 18:27 ` Damodharam Ammepalli
2024-06-17 20:34 ` [PATCH v3] ethdev: Add link_speed lanes support Damodharam Ammepalli
2024-06-20 3:23 ` huangdengdui
2024-06-25 21:07 ` Damodharam Ammepalli
2024-06-26 2:19 ` huangdengdui
2024-07-05 17:33 ` Ferruh Yigit
2024-07-08 20:35 ` Damodharam Ammepalli
2024-07-08 23:22 ` [PATCH v4] " Damodharam Ammepalli
2024-07-08 23:34 ` Ajit Khaparde [this message]
2024-07-09 11:10 ` Ferruh Yigit
2024-07-09 21:20 ` Damodharam Ammepalli
2024-07-10 9:05 ` Ferruh Yigit
2024-09-04 2:43 ` Damodharam Ammepalli
2024-07-05 17:35 ` [PATCH v3] " Ferruh Yigit
2024-07-08 20:31 ` Damodharam Ammepalli
2024-06-02 2:45 ` [PATCH v2 2/4] testpmd: Add speed lanes to testpmd config and show command Damodharam Ammepalli
2024-06-11 23:39 ` Ferruh Yigit
2024-06-02 2:45 ` [PATCH v2 3/4] lib/ethdev: add support for displaying lanes capability Damodharam Ammepalli
2024-06-11 23:39 ` Ferruh Yigit
2024-06-02 2:45 ` [PATCH v2 4/4] testpmd: " Damodharam Ammepalli
2024-06-11 23:39 ` Ferruh Yigit
2024-06-12 17:53 ` Damodharam Ammepalli
2024-06-12 20:57 ` Ferruh Yigit
2024-06-11 23:38 ` [PATCH v2 0/4] Add support for link speed lanes Ferruh Yigit
2024-06-12 17:46 ` Damodharam Ammepalli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACZ4nhsvuKnM75JZr+7g42zPiNU3crs5HQ0jxE0us8cF8i_PTA@mail.gmail.com \
--to=ajit.khaparde@broadcom.com \
--cc=damodharam.ammepalli@broadcom.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=huangdengdui@huawei.com \
--cc=kalesh-anakkur.purayil@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).