patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: christian.ehrhardt@canonical.com, stable@dpdk.org
Cc: Yury Kylulin <yury.kylulin@intel.com>, Ashish Paul <apaul@juniper.net>
Subject: Re: [dpdk-stable] [20.11 PATCH] net/i40e: support 25G AOC/ACC cables
Date: Tue, 07 Sep 2021 11:33:32 +0100	[thread overview]
Message-ID: <1db72ac78ad550948701c349b65d598cfa392855.camel@debian.org> (raw)
In-Reply-To: <20210906081744.585417-1-christian.ehrhardt@canonical.com>

On Mon, 2021-09-06 at 10:17 +0200, christian.ehrhardt@canonical.com
wrote:
> From: Yury Kylulin <yury.kylulin@intel.com>
> 
> [ upstream commit b1daa3461429e7674206a714c17adca65e9b44b4 ]
> 
> Enable additional PHY types (25G-AOC and 25G-ACC) for set PHY config
> command.
> 
> Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1940957
> Cc: stable@dpdk.org
> 
> Signed-off-by: Yury Kylulin <yury.kylulin@intel.com>
> Tested-by: Ashish Paul <apaul@juniper.net>
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
> ---
>  drivers/net/i40e/i40e_ethdev.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
> index 0dc20de9a0..5e3b80a6b8 100644
> --- a/drivers/net/i40e/i40e_ethdev.c
> +++ b/drivers/net/i40e/i40e_ethdev.c
> @@ -2372,7 +2372,8 @@ i40e_phy_conf_link(struct i40e_hw *hw,
>  	phy_conf.phy_type = is_up ? cpu_to_le32(phy_type_mask) : 0;
>  	phy_conf.phy_type_ext = is_up ? (I40E_AQ_PHY_TYPE_EXT_25G_KR |
>  		I40E_AQ_PHY_TYPE_EXT_25G_CR | I40E_AQ_PHY_TYPE_EXT_25G_SR |
> -		I40E_AQ_PHY_TYPE_EXT_25G_LR) : 0;
> +		I40E_AQ_PHY_TYPE_EXT_25G_LR | I40E_AQ_PHY_TYPE_EXT_25G_AOC |
> +		I40E_AQ_PHY_TYPE_EXT_25G_ACC) : 0;
>  	phy_conf.fec_config = phy_ab.fec_cfg_curr_mod_ext_info;
>  	phy_conf.eee_capability = phy_ab.eee_capability;
>  	phy_conf.eeer = phy_ab.eeer_val;

Acked-by: Luca Boccassi <luca.boccassi@microsoft.com>

-- 
Kind regards,
Luca Boccassi

      reply	other threads:[~2021-09-07 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06  8:17 christian.ehrhardt
2021-09-07 10:33 ` Luca Boccassi [this message]

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=1db72ac78ad550948701c349b65d598cfa392855.camel@debian.org \
    --to=bluca@debian.org \
    --cc=apaul@juniper.net \
    --cc=christian.ehrhardt@canonical.com \
    --cc=stable@dpdk.org \
    --cc=yury.kylulin@intel.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).