1
0
Fork 0
alistair23-linux/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
..
Makefile qed: Add support for tlv request processing. 2018-05-22 23:29:53 -04:00
qed.h qed: Add qed devlink parameters table 2019-05-26 13:04:12 -07:00
qed_cxt.c qed: Modify api for performing a dmae to another PF 2019-05-26 13:04:11 -07:00
qed_cxt.h qed: Add srq core support for RoCE and iWARP 2018-06-04 17:09:54 -04:00
qed_dcbx.c qed: Define new MF bit for no_vlan config 2019-03-20 11:12:50 -07:00
qed_dcbx.h qed: Do not add VLAN 0 tag to untagged frames in multi-function mode. 2018-09-19 23:12:24 -07:00
qed_debug.c qed: Add APIs for configuring grc dump config flags. 2019-08-31 13:32:30 -07:00
qed_debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
qed_dev.c qed: Fix -Wmaybe-uninitialized false positive 2019-06-18 10:44:21 -07:00
qed_dev_api.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_fcoe.c qed: Modify offload protocols to use the affined engine 2019-05-26 13:04:11 -07:00
qed_fcoe.h
qed_hsi.h qed: Add APIs for configuring grc dump config flags. 2019-08-31 13:32:30 -07:00
qed_hw.c qed: Modify api for performing a dmae to another PF 2019-05-26 13:04:11 -07:00
qed_hw.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_init_fw_funcs.c qed: remove redundant functions qed_set_gft_event_id_cm_hdr 2018-07-29 08:33:30 -07:00
qed_init_ops.c qed: Modify api for performing a dmae to another PF 2019-05-26 13:04:11 -07:00
qed_init_ops.h
qed_int.c net/ethernet/qlogic/qed: force the string buffer NULL-terminated 2019-08-02 17:57:18 -07:00
qed_int.h qed: Delete redundant doorbell recovery types 2019-04-14 13:59:48 -07:00
qed_iscsi.c qed: Modify offload protocols to use the affined engine 2019-05-26 13:04:11 -07:00
qed_iscsi.h
qed_iwarp.c net: qed: Move static keyword to the front of declaration 2019-09-05 12:38:22 +02:00
qed_iwarp.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_l2.c qed: reduce maximum stack frame size 2019-07-24 15:46:11 -07:00
qed_l2.h qed: Fix LACP pdu drops for VFs 2019-01-28 11:13:34 -08:00
qed_ll2.c qedr: Change the MSI-X vectors selection to be based on affined engine 2019-05-26 13:04:11 -07:00
qed_ll2.h qed: Register light L2 queues with doorbell overflow recovery mechanism 2018-11-30 13:45:13 -08:00
qed_main.c qed: Optimize execution time for nvm attributes configuration. 2019-10-30 11:57:14 -07:00
qed_mcp.c qed: Add APIs for reading config id attributes. 2019-08-31 13:32:30 -07:00
qed_mcp.h qed: Add APIs for reading config id attributes. 2019-08-31 13:32:30 -07:00
qed_mng_tlv.c qed: Add support for processing iscsi tlv request. 2018-05-22 23:29:54 -04:00
qed_ooo.c qed: Remove set but not used variable 'p_archipelago' 2018-09-28 10:25:11 -07:00
qed_ooo.h qed: Fix iWARP out of order flow 2017-10-19 12:46:43 +01:00
qed_ptp.c qed: Add support for Timestamping the unicast PTP packets. 2019-07-03 11:30:41 -07:00
qed_rdma.c Merge branch 'odp_fixes' into rdma.git for-next 2019-08-21 14:10:36 -03:00
qed_rdma.h drivers/net/ethernet/qlogic/qed/qed_rdma.h: fix typo 2018-11-15 16:21:00 -08:00
qed_reg_addr.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_roce.c qed: Fix SPQ entries not returned to pool in error flows 2018-11-08 19:38:19 -08:00
qed_roce.h
qed_selftest.c qed: Fix PTT entry leak in the selftest error flow. 2018-03-29 14:29:55 -04:00
qed_selftest.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qed_sp.h qed: Fix EQ full firmware assert. 2019-02-06 16:53:32 -08:00
qed_sp_commands.c qed: remove redundant assignment to rc 2019-06-02 17:51:03 -07:00
qed_spq.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
qed_sriov.c qed: fix spelling mistake "queuess" -> "queues" 2019-10-30 11:39:05 -07:00
qed_sriov.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_vf.c qed: fix spelling mistake "fullill" -> "fulfill" 2019-09-16 09:06:54 +02:00
qed_vf.h qed: Correct Multicast API to reflect existence of 256 approximate buckets. 2018-07-21 16:19:04 -07:00