summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <skalluru@marvell.com>2019-10-30 11:39:58 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-30 21:57:14 +0300
commitc63b0968946b2d72178a92793bcc9439e19b385f (patch)
tree4540a2a91a2e35b660452f994dafcd75f6534eef /tools/perf/scripts/python/sctop.py
parentc6761cf521f9bffbdcbb619dba665ebf3bcefb1e (diff)
downloadlinux-c63b0968946b2d72178a92793bcc9439e19b385f.tar.xz
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: 0dabbe1bb3a4 ("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>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions