DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Cc: ajit.khaparde@broadcom.com, dev@dpdk.org, ferruh.yigit@amd.com,
	 huangdengdui@huawei.com, kalesh-anakkur.purayil@broadcom.com
Subject: Re: [PATCH v6 2/2] net/bnxt: code refactor for supporting speed lanes
Date: Fri, 4 Oct 2024 15:55:49 +0200	[thread overview]
Message-ID: <CAJFAV8ygcZKtGEUUmF9cYeDTC5uPxF5MP2K1xVFSBv9OA5547Q@mail.gmail.com> (raw)
In-Reply-To: <20240926215012.9987-3-damodharam.ammepalli@broadcom.com>

Hello,

On Thu, Sep 26, 2024 at 11:56 PM Damodharam Ammepalli
<damodharam.ammepalli@broadcom.com> wrote:
> @@ -1331,16 +1376,17 @@ static int bnxt_dev_configure_op(struct rte_eth_dev *eth_dev)
>  void bnxt_print_link_info(struct rte_eth_dev *eth_dev)
>  {
>         struct rte_eth_link *link = &eth_dev->data->dev_link;
> +       struct bnxt *bp = eth_dev->data->dev_private;
>
>         if (link->link_status)
> -               PMD_DRV_LOG(DEBUG, "Port %d Link Up - speed %u Mbps - %s\n",
> -                       eth_dev->data->port_id,
> -                       (uint32_t)link->link_speed,
> -                       (link->link_duplex == RTE_ETH_LINK_FULL_DUPLEX) ?
> -                       ("full-duplex") : ("half-duplex\n"));
> +               PMD_DRV_LOG(DEBUG, "Port %d Link Up - speed %u Mbps - %s Lanes - %d\n",
> +                           eth_dev->data->port_id,
> +                           (uint32_t)link->link_speed,
> +                           (link->link_duplex == RTE_ETH_LINK_FULL_DUPLEX) ?
> +                           ("full-duplex") : ("half-duplex\n"),

A \n slipped in with the "half-duplex" string.
Please send a fix against next-net.


> +                           (uint16_t)bp->link_info->active_lanes);
>         else
> -               PMD_DRV_LOG(INFO, "Port %d Link Down\n",
> -                       eth_dev->data->port_id);
> +               PMD_DRV_LOG(INFO, "Port %d Link Down\n", eth_dev->data->port_id);
>  }
>
>  /*


-- 
David Marchand


  parent reply	other threads:[~2024-10-04 13:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 17:50 [PATCH v5 0/2] Add link_speed lanes support Damodharam Ammepalli
2024-09-04 17:50 ` [PATCH v5 1/2] ethdev: " Damodharam Ammepalli
2024-09-22 17:02   ` Ferruh Yigit
2024-09-24 22:59     ` Damodharam Ammepalli
2024-09-25 15:00       ` Damodharam Ammepalli
2024-09-25 21:35         ` Ferruh Yigit
2024-09-26 21:43         ` [PATCH v6 0/2] " Damodharam Ammepalli
2024-09-26 21:43           ` [PATCH v6 1/2] ethdev: " Damodharam Ammepalli
2024-09-27  0:39             ` Ferruh Yigit
2024-09-27 17:20               ` Ajit Khaparde
2024-09-26 21:43           ` [PATCH v6 2/2] net/bnxt: code refactor for supporting speed lanes Damodharam Ammepalli
2024-09-27 17:17             ` Ajit Khaparde
2024-10-04 13:55             ` David Marchand [this message]
2024-10-04 17:09               ` Damodharam Ammepalli
2024-09-27  0:41           ` [PATCH v6 0/2] Add link_speed lanes support Ferruh Yigit
2024-09-27 22:23           ` Ferruh Yigit
2024-09-25 21:35       ` [PATCH v5 1/2] ethdev: " Ferruh Yigit
2024-09-04 17:50 ` [PATCH v5 2/2] net/bnxt: code refactor for supporting speed lanes 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=CAJFAV8ygcZKtGEUUmF9cYeDTC5uPxF5MP2K1xVFSBv9OA5547Q@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=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).