• Yitchak Gertner's avatar
    bnx2x: Statistics · 66e855f3
    Yitchak Gertner authored
    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: default avatarYitchak Gertner <gertner@broadcom.com>
    Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    66e855f3
bnx2x.h 32.8 KB