]> 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)
commitec2571716239f20e681c3215bfc3a05f270465ca
treecdd7204bc2080505c37f66901d4d8361e6c83567
parent717b527c3f37879f26a79b3655f69c469cca2861
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