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)
commita6ff85e0a2d9d074a4b4c291ba9ec1e5b0aba22b
tree7d7112e1a4bc3731f616c8dea275d71be5c06a5d
parentf79eef711eb57d56874b08ea11db69221de54a6d
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: 04a834592bf5 ("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