]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: add jiffies of last napi call to stats
authorShay Agroskin <shayagr@amazon.com>
Tue, 8 Jun 2021 16:01:13 +0000 (19:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2021 21:41:09 +0000 (14:41 -0700)
commit4dde0185e9db503d6f430bde78677b50c6ba54d2
tree1a25de5ade71bc8e1747ad43b387fcc69b37b07d
parentd6821d998e8009bbe1bd0d54859a4a796f2f552f
net: ena: add jiffies of last napi call to stats

There are instances when we want to know when the last napi was
called for debugging.

On stuck / heavy loaded CPUs, the ena napi handler might not be
called for a long period of time. This stat can help us to
determine how much time passed since the last execution of napi.

Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/amazon/ena/ena_netdev.h