diff options
author | Shannon Nelson <snelson@pensando.io> | 2021-07-23 11:02:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-23 21:57:41 +0100 |
commit | a6ff85e0a2d9d074a4b4c291ba9ec1e5b0aba22b (patch) | |
tree | 7d7112e1a4bc3731f616c8dea275d71be5c06a5d /drivers/net/ethernet/pensando/ionic/ionic_txrx.c | |
parent | f79eef711eb57d56874b08ea11db69221de54a6d (diff) | |
download | linux-a6ff85e0a2d9d074a4b4c291ba9ec1e5b0aba22b.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_txrx.c')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_txrx.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_txrx.c b/drivers/net/ethernet/pensando/ionic/ionic_txrx.c index 08934888575c..9d3a04110685 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_txrx.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_txrx.c @@ -463,10 +463,6 @@ static void ionic_dim_update(struct ionic_qcq *qcq) lif = qcq->q.lif; qi = qcq->cq.bound_q->index; - ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, - lif->rxqcqs[qi]->intr.index, - qcq->intr.dim_coal_hw); - dim_update_sample(qcq->cq.bound_intr->rearm_count, lif->txqstats[qi].pkts, lif->txqstats[qi].bytes, |