opnsense-src/sys/dev/ixgbe
Matthew Smith aaa3af802f ixgbe: wait longer for link after fiber MAC setup
After setting up the link on a fiber port, the maximum wait time for
the link to come up is 500 ms in ixgbe_setup_mac_link_multispeed_fiber().
On an x550 SFP+ port, this is often not sufficiently long for the link
to come up. This can result in never being able to retrieve accurate
link status for the port using rte_eth_link_get_nowait().

Increase the maximum wait time in ixgbe_setup_mac_link_multispeed_fiber()
to 1 s.

Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Approved by:	imp
Obtained from:	DPDK (64f1c8539c8ce99214b9eb1fb728a2c6745f3300)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
2021-09-06 19:22:12 -07:00
..
if_bypass.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (15 of many) 2020-02-24 10:51:26 +00:00
if_fdir.c
if_ix.c ixgbe: Avoid sbuf_trim(9) in sysctl handler 2021-08-23 10:28:59 -07:00
if_ixv.c intel ethernet: Use ether_gen_addr(9) 2021-08-20 14:21:48 -07:00
if_sriov.c Include ktr.h in more compilation units 2019-05-21 20:38:48 +00:00
ix_txrx.c ixgbe: Clean up ix_txrx 2021-07-17 23:25:56 -07:00
ixgbe.h ixgbe: Restore AIM support 2021-05-03 13:47:14 -04:00
ixgbe_82598.c
ixgbe_82598.h
ixgbe_82599.c ixgbe: add IPv6 mask for flow director 2021-09-06 19:22:11 -07:00
ixgbe_82599.h
ixgbe_api.c
ixgbe_api.h
ixgbe_bypass.h
ixgbe_common.c ixgbe: wait longer for link after fiber MAC setup 2021-09-06 19:22:12 -07:00
ixgbe_common.h
ixgbe_dcb.c
ixgbe_dcb.h
ixgbe_dcb_82598.c
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c
ixgbe_dcb_82599.h
ixgbe_fdir.h
ixgbe_features.h
ixgbe_mbx.c
ixgbe_mbx.h
ixgbe_osdep.c
ixgbe_osdep.h
ixgbe_phy.c
ixgbe_phy.h
ixgbe_rss.h
ixgbe_sriov.h
ixgbe_type.h ixgbe: fix host interface shadow RAM read 2021-09-06 19:22:11 -07:00
ixgbe_vf.c ixgbe: clear all queues on VF reset 2021-09-06 19:22:11 -07:00
ixgbe_vf.h
ixgbe_x540.c
ixgbe_x540.h
ixgbe_x550.c
ixgbe_x550.h