summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2024-04-02 16:54:16 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-04 05:50:39 +0300
commitfb29028ae7181fbe268d94f6b69d172da4e3640f (patch)
tree21658c1f30ff681869c7ee976ddefea2060574d8 /tools
parentf46de9f0e70c9e518a995194aea15ecaedffc0fa (diff)
downloadlinux-fb29028ae7181fbe268d94f6b69d172da4e3640f.tar.xz
mlxsw: pci: Do not setup tasklet from operation
Currently, the structure 'mlxsw_pci_queue_ops' holds a pointer to the callback function of tasklet. This is used only for EQ and CQ. mlxsw driver will use NAPI in a following patch set, so CQ will not use tasklet anymore. As preparation, remove this pointer from the shared operation structure and setup the tasklet as part of queue initialization. For now, setup tasklet for EQ and CQ. Later, CQ code will be changed. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/a326cae5fc1ad085a1a063c004983de6fe389414.1712062203.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions