OSDN Git Service

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)
commit0ee251cd9a6398a07cc8cfc849c0efa3f28ece98
tree1a25de5ade71bc8e1747ad43b387fcc69b37b07d
parent9e5269a915a8e3d6f4bae5641451737e9cca70c0
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