]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: report users coalesce request
authorShannon Nelson <snelson@pensando.io>
Tue, 1 Oct 2019 03:03:24 +0000 (20:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2019 15:55:12 +0000 (11:55 -0400)
commit4e7079dee97b353886deafc7f8eba10407e4d39b
treecdd7204bc2080505c37f66901d4d8361e6c83567
parent2011b35fa05a8c411243f8e0d535cc3bd86937e2
ionic: report users coalesce request

The user's request for an interrupt coalescing value gets
translated into a hardware value to be used with the NIC,
and was getting reported back based on the hw value, which,
due to hw tic resolution, could be reported as a different
number than what the user originally asked for.  This code
now tracks both the user request and what was put into the
hardware so we can report back to the user what they
requested.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h