]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bnx2x: Statistics
authorYitchak Gertner <gertner@broadcom.com>
Wed, 13 Aug 2008 22:49:05 +0000 (15:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Aug 2008 23:01:31 +0000 (16:01 -0700)
commit66e855f3f5197fec1162c5235fdb5f92b956d618
tree2f19f96c48f50cd703b66d35e19312b208acd3bd
parent1adcd8bee37f494e22aee856467e994ae086ae45
bnx2x: Statistics

Statistics
- Making sure that each drop is accounted for in the driver statistics
- Clearing the FW statistics when driver is loaded to prevent
  inconsistency with HW statistics
- Once error is detected (bnx2x_panic_dump), stop the statistics
  before other actions (currently it is stopped last and can corrupt
  the data) - Adding HW checksum error counter to the statistics
- Removing unused variable stats_ticks
- Using macros instead of magic numbers to indicate which statistics are
  shared per port and which are per function

Signed-off-by: Yitchak Gertner <gertner@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x.h
drivers/net/bnx2x_fw_defs.h
drivers/net/bnx2x_main.c
drivers/net/bnx2x_reg.h