1
0
Fork 0
alistair23-linux/drivers/net/ethernet/qlogic
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
..
netxen net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
qed qed: Optimize execution time for nvm attributes configuration. 2019-10-30 11:57:14 -07:00
qede qede: qede_fp: simplify a bit 'qede_rx_build_skb()' 2019-09-21 20:15:03 -07:00
qlcnic net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
Kconfig qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
Makefile qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
qla3xxx.c net: qlogic: Fix memory leak in ql_alloc_large_buffers 2019-10-04 18:33:13 -07:00
qla3xxx.h