]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2021 20:57:41 +0000 (21:57 +0100)
commitb8be0e4614aa67bd7f71610383a519b7d7aa1616
tree7d7112e1a4bc3731f616c8dea275d71be5c06a5d
parent2f2fd3a1e216f1e7943c3e0cd52b0fdb0cf77c1c
ionic: remove intr coalesce update from napi

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: 4787f487e105 ("ionic: dynamic interrupt moderation")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_txrx.c