From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 02/31] net/i40e/base: preserve extended PHY type field Date: Mon, 5 Dec 2016 14:34:28 +0000 Message-ID: <43a71cb3-f345-0b7d-86d3-571ed2cb540a@intel.com> References: <1480727953-92137-1-git-send-email-jingjing.wu@intel.com> <1480727953-92137-3-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: helin.zhang@intel.com To: Jingjing Wu , dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A07372BDD for ; Mon, 5 Dec 2016 15:34:32 +0100 (CET) In-Reply-To: <1480727953-92137-3-git-send-email-jingjing.wu@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/3/2016 1:18 AM, Jingjing Wu wrote: > Prevents 25G PHY types from being disabled when setting > the flow control modes. > > Signed-off-by: Jingjing Wu > --- > drivers/net/i40e/base/i40e_common.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c > index 9a6b3ed..d67ad90 100644 > --- a/drivers/net/i40e/base/i40e_common.c > +++ b/drivers/net/i40e/base/i40e_common.c > @@ -1789,6 +1789,7 @@ enum i40e_status_code i40e_set_fc(struct i40e_hw *hw, u8 *aq_failures, > config.abilities |= I40E_AQ_PHY_ENABLE_ATOMIC_LINK; > /* Copy over all the old settings */ > config.phy_type = abilities.phy_type; > + config.phy_type_ext = abilities.phy_type_ext; http://dpdk.org/dev/patchwork/patch/17338/ does something similar in i40e_phy_conf_link(), can you please double check if these two works fine together? Thanks, ferruh