From: Jingjing Wu Date: Sat, 10 Dec 2016 11:24:24 +0000 (+0800) Subject: net/i40e/base: fix flow control set for 25G X-Git-Tag: spdx-start~5038 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f8080847982fd74ade0fac3e0e1dabcb9d2a543f;p=dpdk.git net/i40e/base: fix flow control set for 25G Add phy_type_ext copied from old setting to rpevents 25G PHY types from being disabled when setting the flow control modes. Fixes: 51131ae119 ("net/i40e/base: get PHY abilities for 25G") Signed-off-by: Jingjing Wu --- diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c index 9a6b3ed611..d67ad90930 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; config.link_speed = abilities.link_speed; config.eee_capability = abilities.eee_capability; config.eeer = abilities.eeer_val;