diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2009-11-29 18:57:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 09:50:26 +0100 |
commit | b7b83ac39a177741a378d728d82e87de9b0a01a5 (patch) | |
tree | 7295526e0706d01e50f700c593920bed7fa2def7 /drivers/net/benet/be_main.c | |
parent | be2net: fix to allow port beacon when device is closed (diff) | |
download | linux-b7b83ac39a177741a378d728d82e87de9b0a01a5.tar.xz linux-b7b83ac39a177741a378d728d82e87de9b0a01a5.zip |
be2net: Add be_rx_polls counter
Add be_rx_polls to count number of times NAPI called rx poll function.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_main.c')
-rw-r--r-- | drivers/net/benet/be_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 10262fab686b..f3e97ab3321d 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c @@ -1381,6 +1381,7 @@ int be_poll_rx(struct napi_struct *napi, int budget) struct be_eth_rx_compl *rxcp; u32 work_done; + adapter->stats.drvr_stats.be_rx_polls++; for (work_done = 0; work_done < budget; work_done++) { rxcp = be_rx_compl_get(adapter); if (!rxcp) |