Re: [PATCH net-next] ionic: dynamic interrupt moderation

2020-09-14 Thread Jakub Kicinski
On Mon, 14 Sep 2020 14:50:19 -0700 Shannon Nelson wrote: > >> + struct ionic_qcq *qcq = container_of(dim, struct ionic_qcq, dim); > >> + u32 new_coal; > >> + > >> + new_coal = ionic_coal_usec_to_hw(qcq->q.lif->ionic, cur_moder.usec); > >> + qcq->intr.dim_coal_hw = new_coal ? new_coal : 1; > >>

Re: [PATCH net-next] ionic: dynamic interrupt moderation

2020-09-14 Thread Shannon Nelson
On 9/14/20 2:10 PM, Jakub Kicinski wrote: On Sun, 13 Sep 2020 14:28:13 -0700 Shannon Nelson wrote: Use the dim library to manage dynamic interrupt moderation in ionic. Signed-off-by: Shannon Nelson Let me advertise my people.kernel entry ;) https://people.kernel.org/finqi53erl My somewhat s

Re: [PATCH net-next] ionic: dynamic interrupt moderation

2020-09-14 Thread Jakub Kicinski
On Sun, 13 Sep 2020 14:28:13 -0700 Shannon Nelson wrote: > Use the dim library to manage dynamic interrupt > moderation in ionic. > > Signed-off-by: Shannon Nelson Let me advertise my people.kernel entry ;) https://people.kernel.org/finqi53erl My somewhat short production experience leads me t

[PATCH net-next] ionic: dynamic interrupt moderation

2020-09-13 Thread Shannon Nelson
Use the dim library to manage dynamic interrupt moderation in ionic. Signed-off-by: Shannon Nelson --- .../ethernet/pensando/ionic/ionic_debugfs.c | 2 + .../net/ethernet/pensando/ionic/ionic_dev.h | 1 + .../ethernet/pensando/ionic/ionic_ethtool.c | 71 --- .../net/ether