net/ixgbe: fix link status after port reset
It's a normal behavior to change the link status to up after resetting the port. So it is unnecessary to set link down before starting port, and changing the link state(link up/down) frequently will cause link speed unstable. Fixes: c3f2fbff78cf ("net/ixgbe: fix link status") Cc: stable@dpdk.org Signed-off-by: Shougang Wang <shougangx.wang@intel.com> Acked-by: Qiming Yang <qiming.yang@intel.com> Tested-by: Xueming Zhang <xuemingx.zhang@intel.com>
This commit is contained in:
parent
8f5d8e74fb
commit
dfcea7f90f
@ -1197,7 +1197,6 @@ eth_ixgbe_dev_init(struct rte_eth_dev *eth_dev, void *init_params __rte_unused)
|
||||
diag = ixgbe_bypass_init_hw(hw);
|
||||
#else
|
||||
diag = ixgbe_init_hw(hw);
|
||||
hw->mac.autotry_restart = false;
|
||||
#endif /* RTE_LIBRTE_IXGBE_BYPASS */
|
||||
|
||||
/*
|
||||
@ -1308,8 +1307,6 @@ eth_ixgbe_dev_init(struct rte_eth_dev *eth_dev, void *init_params __rte_unused)
|
||||
/* enable support intr */
|
||||
ixgbe_enable_intr(eth_dev);
|
||||
|
||||
ixgbe_dev_set_link_down(eth_dev);
|
||||
|
||||
/* initialize filter info */
|
||||
memset(filter_info, 0,
|
||||
sizeof(struct ixgbe_filter_info));
|
||||
|
Loading…
x
Reference in New Issue
Block a user