From b7b83ac39a177741a378d728d82e87de9b0a01a5 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Sun, 29 Nov 2009 17:57:22 +0000 Subject: 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 Signed-off-by: David S. Miller --- drivers/net/benet/be_main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/net/benet/be_main.c') diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 10262fab686..f3e97ab3321 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) -- cgit v1.2.2