diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-04-21 22:51:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-22 18:28:26 -0400 |
commit | 8ae6df978b986a5ce099e7e7118f127563d2cbbe (patch) | |
tree | 3caffdbc168440397c2d20a0627c0254188b6bbf /drivers/net/qlcnic/qlcnic.h | |
parent | e802af9cabb011f09b9c19a82faef3dd315f27eb (diff) |
qlcnic: additional driver statistics
Added additional driver statistics to track errors in rcv/tx path.
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index 28c148cbe37b..6c1da71025e1 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h | |||
@@ -428,6 +428,10 @@ struct qlcnic_adapter_stats { | |||
428 | u64 xmit_on; | 428 | u64 xmit_on; |
429 | u64 xmit_off; | 429 | u64 xmit_off; |
430 | u64 skb_alloc_failure; | 430 | u64 skb_alloc_failure; |
431 | u64 null_skb; | ||
432 | u64 null_rxbuf; | ||
433 | u64 rx_dma_map_error; | ||
434 | u64 tx_dma_map_error; | ||
431 | }; | 435 | }; |
432 | 436 | ||
433 | /* | 437 | /* |