aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
diff options
context:
space:
mode:
authorAriel Elior <ariele@broadcom.com>2013-01-01 00:22:42 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-02 04:45:07 -0500
commitd16132cef8a72ff7563aff95f03bf505779fe3e6 (patch)
tree9d730327b75d8a14a5a7d5af070c90660870539d /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
parentf1929b016c2161c364e45c21788aaae938ae557c (diff)
bnx2x: Support VF FLR
The FLR indication arrives as an attention from the management processor. Upon VF flr all FLRed function in the indication have already been released by Firmware and now we basically need to free the resources allocated to those VFs, and clean any remainders from the device (FLR final cleanup). Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
index fbe8be31f673..2431ffd784ea 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
@@ -1879,7 +1879,13 @@ void bnx2x_prep_dmae_with_comp(struct bnx2x *bp, struct dmae_command *dmae,
1879int bnx2x_issue_dmae_with_comp(struct bnx2x *bp, struct dmae_command *dmae); 1879int bnx2x_issue_dmae_with_comp(struct bnx2x *bp, struct dmae_command *dmae);
1880void bnx2x_dp_dmae(struct bnx2x *bp, struct dmae_command *dmae, int msglvl); 1880void bnx2x_dp_dmae(struct bnx2x *bp, struct dmae_command *dmae, int msglvl);
1881 1881
1882/* FLR related routines */
1883u32 bnx2x_flr_clnup_poll_count(struct bnx2x *bp);
1884void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count);
1885int bnx2x_send_final_clnup(struct bnx2x *bp, u8 clnup_func, u32 poll_cnt);
1882u8 bnx2x_is_pcie_pending(struct pci_dev *dev); 1886u8 bnx2x_is_pcie_pending(struct pci_dev *dev);
1887int bnx2x_flr_clnup_poll_hw_counter(struct bnx2x *bp, u32 reg,
1888 char *msg, u32 poll_cnt);
1883 1889
1884void bnx2x_calc_fc_adv(struct bnx2x *bp); 1890void bnx2x_calc_fc_adv(struct bnx2x *bp);
1885int bnx2x_sp_post(struct bnx2x *bp, int command, int cid, 1891int bnx2x_sp_post(struct bnx2x *bp, int command, int cid,