OpenCloudOS-Kernel/drivers/net/ethernet/broadcom/bnx2x
Eric Dumazet 880f8f99d1 bnx2x: allow bnx2x_bsc_read() to schedule
bnx2x_warpcore_read_sfp_module_eeprom() can call bnx2x_bsc_read()
three times before giving up.

This causes latency blips of at least 31 ms (58 ms being reported
by our teams)

Convert the long lasting loops of udelay() to usleep_range() ones,
and breaks the loops on precise time tracking.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ariel Elior <aelior@marvell.com>
Cc: Sudarsana Kalluru <skalluru@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-25 17:52:48 -07:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bnx2x.h net/broadcom: Clean broadcom code from driver versions 2020-03-03 17:54:53 -08:00
bnx2x_cmn.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
bnx2x_cmn.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
bnx2x_dcb.c bnx2x: Remove Comparison to bool in bnx2x_dcb.c 2020-05-05 11:39:42 -07:00
bnx2x_dcb.h
bnx2x_dump.h
bnx2x_ethtool.c net: bnx2x: reject unsupported coalescing params 2020-03-10 16:28:53 -07:00
bnx2x_fw_defs.h bnx2x: Utilize FW 7.13.15.0. 2019-11-05 18:25:14 -08:00
bnx2x_fw_file_hdr.h
bnx2x_hsi.h bnx2x: Utilize FW 7.13.15.0. 2019-11-05 18:25:14 -08:00
bnx2x_init.h ocfs2/dlm: move BITS_TO_BYTES() to bitops.h for wider use 2020-01-31 10:30:36 -08:00
bnx2x_init_ops.h
bnx2x_link.c bnx2x: allow bnx2x_bsc_read() to schedule 2020-05-25 17:52:48 -07:00
bnx2x_link.h bnx2x: Remove format_fw_ver_t function casts 2019-11-16 12:50:57 -08:00
bnx2x_main.c net/broadcom: Clean broadcom code from driver versions 2020-03-03 17:54:53 -08:00
bnx2x_mfw_req.h
bnx2x_reg.h bnx2x: Fix 84833 phy command handler 2016-02-21 22:50:55 -05:00
bnx2x_sp.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
bnx2x_sp.h bnx2x: Fix accounting of vlan resources among the PFs 2019-12-26 15:27:14 -08:00
bnx2x_sriov.c bnx2x: Remove unused inline function bnx2x_vf_vlan_credit 2020-05-05 12:07:43 -07:00
bnx2x_sriov.h bnx2x: Do not handle requests from VFs after parity 2019-12-14 12:59:16 -08:00
bnx2x_stats.c
bnx2x_stats.h bnx2x: Prevent ptp_task to be rescheduled indefinitely 2019-06-29 12:19:42 -07:00
bnx2x_vfpf.c bnx2x: Do not handle requests from VFs after parity 2019-12-14 12:59:16 -08:00
bnx2x_vfpf.h