Merge branch 'mlxsw-preparations-for-improving-performance'
authorJakub Kicinski <kuba@kernel.org>
Thu, 4 Apr 2024 02:50:43 +0000 (19:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Apr 2024 02:50:44 +0000 (19:50 -0700)
commit57a03d83f229126b0aab6f305821358755c7b130
treeb77b50c219d5ad358b2eeb477a729cbd39b13029
parent6b164687f87b1d457bd943ec093347ce4d562f02
parent77c6e27df9e50dfe7deb5a0cfe8c30175b88d89a
Merge branch 'mlxsw-preparations-for-improving-performance'

Petr Machata says:

====================
mlxsw: Preparations for improving performance

Amit Cohen writes:

mlxsw driver will use NAPI for event processing in a next patch set.
Some additional improvements will be added later. This patch set
prepares the code for NAPI usage and refactor some relevant areas. See
more details in commit messages.

Patch Set overview:
Patches #1-#2 are preparations for patch #3
Patch #3 setups tasklets as part of queue initializtion
Patch #4 removes handling of unlikely scenario
Patch #5 removes unused counters
Patch #6 makes style change in mlxsw_pci_eq_tasklet()
Patch #7-#10 poll command interface instead of EQ0 usage
Patches #11-#12 make style change and break the function
mlxsw_pci_cq_tasklet()
Patches #13-#14 remove functions which can be replaced by a stored value
Patch #15 improves accessing to descriptor queue instance
====================

Link: https://lore.kernel.org/r/cover.1712062203.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>