Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | nig_stats |
struct | bnx2x_eth_stats |
struct | bnx2x_eth_q_stats |
struct | bnx2x_eth_stats_old |
struct | bnx2x_eth_q_stats_old |
struct | bnx2x_net_stats_old |
struct | bnx2x_fw_port_stats_old |
Macros | |
#define | ADD_64(s_hi, a_hi, s_lo, a_lo) |
#define | LE32_0 ((__force __le32) 0) |
#define | LE16_0 ((__force __le16) 0) |
#define | ADD_64_LE(s_hi, a_hi_le, s_lo, a_lo_le) |
#define | ADD_64_LE16(s_hi, a_hi_le, s_lo, a_lo_le) |
#define | DIFF_64(d_hi, m_hi, s_hi, d_lo, m_lo, s_lo) |
#define | UPDATE_STAT64(s, t) |
#define | UPDATE_STAT64_NIG(s, t) |
#define | ADD_EXTEND_64(s_hi, s_lo, a) |
#define | ADD_STAT64(diff, t) |
#define | UPDATE_EXTEND_STAT(s) |
#define | UPDATE_EXTEND_TSTAT(s, t) |
#define | UPDATE_EXTEND_E_TSTAT(s, t) |
#define | UPDATE_EXTEND_USTAT(s, t) |
#define | UPDATE_EXTEND_E_USTAT(s, t) |
#define | UPDATE_EXTEND_XSTAT(s, t) |
#define | UPDATE_QSTAT(s, t) |
#define | UPDATE_QSTAT_OLD(f) |
#define | UPDATE_ESTAT_QSTAT_64(s) |
#define | UPDATE_ESTAT_QSTAT(s) |
#define | UPDATE_FSTAT_QSTAT(s) |
#define | UPDATE_FW_STAT(s) |
#define | UPDATE_FW_STAT_OLD(f) |
#define | UPDATE_ESTAT(s, t) |
#define | SUB_64(m_hi, s_hi, m_lo, s_lo) |
#define | SUB_EXTEND_64(m_hi, m_lo, s) |
#define | SUB_EXTEND_USTAT(s, t) |
Enumerations | |
enum | bnx2x_stats_event { STATS_EVENT_PMF = 0, STATS_EVENT_LINK_UP, STATS_EVENT_UPDATE, STATS_EVENT_STOP, STATS_EVENT_MAX } |
enum | bnx2x_stats_state { STATS_STATE_DISABLED = 0, STATS_STATE_ENABLED, STATS_STATE_MAX } |
Functions | |
void | bnx2x_stats_init (struct bnx2x *bp) |
void | bnx2x_stats_handle (struct bnx2x *bp, enum bnx2x_stats_event event) |
void | bnx2x_save_statistics (struct bnx2x *bp) |
void | bnx2x_afex_collect_stats (struct bnx2x *bp, void *void_afex_stats, u32 stats_type) |
#define ADD_64 | ( | s_hi, | |
a_hi, | |||
s_lo, | |||
a_lo | |||
) |
Definition at line 337 of file bnx2x_stats.h.
#define ADD_64_LE | ( | s_hi, | |
a_hi_le, | |||
s_lo, | |||
a_lo_le | |||
) |
Definition at line 347 of file bnx2x_stats.h.
#define ADD_64_LE16 | ( | s_hi, | |
a_hi_le, | |||
s_lo, | |||
a_lo_le | |||
) |
Definition at line 351 of file bnx2x_stats.h.
#define ADD_EXTEND_64 | ( | s_hi, | |
s_lo, | |||
a | |||
) |
Definition at line 402 of file bnx2x_stats.h.
#define ADD_STAT64 | ( | diff, | |
t | |||
) |
Definition at line 408 of file bnx2x_stats.h.
#define DIFF_64 | ( | d_hi, | |
m_hi, | |||
s_hi, | |||
d_lo, | |||
m_lo, | |||
s_lo | |||
) |
Definition at line 356 of file bnx2x_stats.h.
Definition at line 344 of file bnx2x_stats.h.
Definition at line 343 of file bnx2x_stats.h.
#define SUB_64 | ( | m_hi, | |
s_hi, | |||
m_lo, | |||
s_lo | |||
) |
Definition at line 515 of file bnx2x_stats.h.
#define SUB_EXTEND_64 | ( | m_hi, | |
m_lo, | |||
s | |||
) |
Definition at line 521 of file bnx2x_stats.h.
Definition at line 526 of file bnx2x_stats.h.
Definition at line 504 of file bnx2x_stats.h.
#define UPDATE_ESTAT_QSTAT | ( | s | ) |
Definition at line 475 of file bnx2x_stats.h.
#define UPDATE_ESTAT_QSTAT_64 | ( | s | ) |
Definition at line 465 of file bnx2x_stats.h.
Definition at line 428 of file bnx2x_stats.h.
Definition at line 441 of file bnx2x_stats.h.
#define UPDATE_EXTEND_STAT | ( | s | ) |
Definition at line 414 of file bnx2x_stats.h.
Definition at line 421 of file bnx2x_stats.h.
Definition at line 434 of file bnx2x_stats.h.
Definition at line 447 of file bnx2x_stats.h.
#define UPDATE_FSTAT_QSTAT | ( | s | ) |
Definition at line 482 of file bnx2x_stats.h.
#define UPDATE_FW_STAT | ( | s | ) |
Definition at line 494 of file bnx2x_stats.h.
#define UPDATE_FW_STAT_OLD | ( | f | ) |
Definition at line 499 of file bnx2x_stats.h.
Definition at line 454 of file bnx2x_stats.h.
#define UPDATE_QSTAT_OLD | ( | f | ) |
Definition at line 460 of file bnx2x_stats.h.
Definition at line 383 of file bnx2x_stats.h.
Definition at line 393 of file bnx2x_stats.h.
enum bnx2x_stats_event |
Definition at line 44 of file bnx2x_stats.h.
enum bnx2x_stats_state |
Definition at line 52 of file bnx2x_stats.h.
Definition at line 1612 of file bnx2x_stats.c.
bnx2x_save_statistics - save statistics when unloading.
: driver handle
Definition at line 1569 of file bnx2x_stats.c.
void bnx2x_stats_handle | ( | struct bnx2x * | bp, |
enum bnx2x_stats_event | event | ||
) |
Definition at line 1308 of file bnx2x_stats.c.
Definition at line 1481 of file bnx2x_stats.c.