diff options
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index dc54602494fb..9cbf0e82ef38 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h | |||
@@ -258,8 +258,7 @@ struct bnx2x_fastpath { | |||
258 | 258 | ||
259 | unsigned long tx_pkt, | 259 | unsigned long tx_pkt, |
260 | rx_pkt, | 260 | rx_pkt, |
261 | rx_calls, | 261 | rx_calls; |
262 | rx_alloc_failed; | ||
263 | /* TPA related */ | 262 | /* TPA related */ |
264 | struct sw_rx_bd tpa_pool[ETH_MAX_AGGREGATION_QUEUES_E1H]; | 263 | struct sw_rx_bd tpa_pool[ETH_MAX_AGGREGATION_QUEUES_E1H]; |
265 | u8 tpa_state[ETH_MAX_AGGREGATION_QUEUES_E1H]; | 264 | u8 tpa_state[ETH_MAX_AGGREGATION_QUEUES_E1H]; |
@@ -655,6 +654,8 @@ struct bnx2x_eth_stats { | |||
655 | 654 | ||
656 | u32 brb_drop_hi; | 655 | u32 brb_drop_hi; |
657 | u32 brb_drop_lo; | 656 | u32 brb_drop_lo; |
657 | u32 brb_truncate_hi; | ||
658 | u32 brb_truncate_lo; | ||
658 | 659 | ||
659 | u32 jabber_packets_received; | 660 | u32 jabber_packets_received; |
660 | 661 | ||
@@ -671,6 +672,9 @@ struct bnx2x_eth_stats { | |||
671 | u32 mac_discard; | 672 | u32 mac_discard; |
672 | 673 | ||
673 | u32 driver_xoff; | 674 | u32 driver_xoff; |
675 | u32 rx_err_discard_pkt; | ||
676 | u32 rx_skb_alloc_failed; | ||
677 | u32 hw_csum_err; | ||
674 | }; | 678 | }; |
675 | 679 | ||
676 | #define STATS_OFFSET32(stat_name) \ | 680 | #define STATS_OFFSET32(stat_name) \ |
@@ -844,7 +848,6 @@ struct bnx2x { | |||
844 | u16 rx_ticks_int; | 848 | u16 rx_ticks_int; |
845 | u16 rx_ticks; | 849 | u16 rx_ticks; |
846 | 850 | ||
847 | u32 stats_ticks; | ||
848 | u32 lin_cnt; | 851 | u32 lin_cnt; |
849 | 852 | ||
850 | int state; | 853 | int state; |
@@ -984,7 +987,7 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, | |||
984 | #define PCICFG_LINK_SPEED_SHIFT 16 | 987 | #define PCICFG_LINK_SPEED_SHIFT 16 |
985 | 988 | ||
986 | 989 | ||
987 | #define BNX2X_NUM_STATS 39 | 990 | #define BNX2X_NUM_STATS 42 |
988 | #define BNX2X_NUM_TESTS 8 | 991 | #define BNX2X_NUM_TESTS 8 |
989 | 992 | ||
990 | #define BNX2X_MAC_LOOPBACK 0 | 993 | #define BNX2X_MAC_LOOPBACK 0 |