diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2013-03-20 05:21:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-20 13:27:28 -0400 |
commit | 7fa6f34081f168975af72be51715bdc6601931f7 (patch) | |
tree | 5b69dcc7f444fee1eb678ae4b8146ac00c82d736 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | |
parent | 47a5247fddf30a1c0d1f5a1afb3bd17e8715075e (diff) | |
download | op-kernel-dev-7fa6f34081f168975af72be51715bdc6601931f7.zip op-kernel-dev-7fa6f34081f168975af72be51715bdc6601931f7.tar.gz |
bnx2x: AER revised
Revised bnx2x implementation of PCI Express Advanced Error Recovery -
stop and free driver resources according to the AER flow (instead of the
currently implemented `hope-for-the-best' release approach), and do not make
any assumptions on the HW state after slot reset.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h index f9098d8..54e1b14 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h @@ -1402,4 +1402,8 @@ static inline bool bnx2x_is_valid_ether_addr(struct bnx2x *bp, u8 *addr) * */ void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len); + +int bnx2x_drain_tx_queues(struct bnx2x *bp); +void bnx2x_squeeze_objects(struct bnx2x *bp); + #endif /* BNX2X_CMN_H */ |