You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[BNX2]: Add an rx drop counter
Add a counter for packets dropped by firmware. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
bc726a71d2
commit
cea94db9b4
@@ -231,6 +231,7 @@ struct statistics_block {
|
||||
u32 stat_GenStat13;
|
||||
u32 stat_GenStat14;
|
||||
u32 stat_GenStat15;
|
||||
u32 stat_FwRxDrop;
|
||||
};
|
||||
|
||||
|
||||
@@ -3481,6 +3482,8 @@ struct l2_fhdr {
|
||||
|
||||
#define BNX2_COM_SCRATCH 0x00120000
|
||||
|
||||
#define BNX2_FW_RX_DROP_COUNT 0x00120084
|
||||
|
||||
|
||||
/*
|
||||
* cp_reg definition
|
||||
|
||||
Reference in New Issue
Block a user