Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/qlogic/qed
Sudarsana Reddy Kalluru c63b096894 qed: Optimize execution time for nvm attributes configuration.
Current implementation for nvm_attr configuration instructs the management
FW to load/unload the nvm-cfg image for each user-provided attribute in
the input file. This consumes lot of cycles even for few tens of
attributes.
This patch updates the implementation to perform load/commit of the config
for every 50 attributes. After loading the nvm-image, MFW expects that
config should be committed in a predefined timer value (5 sec), hence it's
not possible to write large number of attributes in a single load/commit
window. Hence performing the commits in chunks.

Fixes: 0dabbe1bb3 ("qed: Add driver API for flashing the config attributes.")
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-30 11:57:14 -07:00
..
2017-05-21 12:56:53 -04:00
2018-06-05 10:48:09 -04:00
2017-05-21 12:56:53 -04:00
2019-07-24 15:46:11 -07:00
2019-01-28 11:13:34 -08:00
2017-10-19 12:46:43 +01:00
2019-02-06 16:53:32 -08:00
2018-01-02 13:59:16 -05:00
2019-05-26 13:04:12 -07:00