]> git.baikalelectronics.ru Git - kernel.git/commit
atlantic: Increase delay for fw transactions
authorDmitry Bogdanov <dbezrukov@marvell.com>
Mon, 29 Nov 2021 13:28:23 +0000 (05:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 14:24:21 +0000 (14:24 +0000)
commit098ea3088994601ef426f58f6afb845e0f093015
tree08702673aeabdd66264e7a9f82bba5cba95e3a43
parent33c7bb2b2e5aa0b049c8a68734bf854ea61e672f
atlantic: Increase delay for fw transactions

The max waiting period (of 1 ms) while reading the data from FW shared
buffer is too small for certain types of data (e.g., stats). There's a
chance that FW could be updating buffer at the same time and driver
would be unsuccessful in reading data. Firmware manual recommends to
have 1 sec timeout to fix this issue.

Fixes: e31788b29677b ("net: atlantic: minimal A2 fw_ops")
Signed-off-by: Dmitry Bogdanov <dbezrukov@marvell.com>
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c