]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ionic: remove intr coalesce update from napi
authorShannon Nelson <snelson@pensando.io>
Fri, 23 Jul 2021 18:02:47 +0000 (11:02 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 20 Sep 2021 13:42:24 +0000 (15:42 +0200)
commit43b6b776c9f27eb0fcfa07c2a163419567447d37
tree59e38dfaf741ace916199bffe75e033d27cec23d
parentb27f8d077d734d55fb32f0fbd52351d80b060c17
ionic: remove intr coalesce update from napi

BugLink: https://bugs.launchpad.net/bugs/1940706
[ Upstream commit a6ff85e0a2d9d074a4b4c291ba9ec1e5b0aba22b ]

Move the interrupt coalesce value update out of the napi
thread and into the dim_work thread and set it only when it
has actually changed.

Fixes: 04a834592bf5 ("ionic: dynamic interrupt moderation")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_txrx.c