diff options
author | Eric Dumazet <edumazet@google.com> | 2020-05-23 22:46:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-26 03:52:48 +0300 |
commit | 880f8f99d12ca89d3ec76f688e0d92612054cbb1 (patch) | |
tree | ad0014bc0a9775b76aeb4bc64743a73488428972 /net/ipv6/tcp_ipv6.c | |
parent | 6a1015b0b4b1f3a0de9e40d2ba86877d13f50918 (diff) | |
download | linux-880f8f99d12ca89d3ec76f688e0d92612054cbb1.tar.xz |
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>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions