[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191030.115744.526482386771296686.davem@davemloft.net>
Date: Wed, 30 Oct 2019 11:57:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: skalluru@...vell.com
Cc: netdev@...r.kernel.org, mkalderon@...vell.com, aelior@...vell.com
Subject: Re: [PATCH net 1/1] qed: Optimize execution time for nvm
attributes configuration.
From: Sudarsana Reddy Kalluru <skalluru@...vell.com>
Date: Wed, 30 Oct 2019 01:39:58 -0700
> 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@...vell.com>
> Signed-off-by: Ariel Elior <aelior@...vell.com>
Applied.
Powered by blists - more mailing lists