Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258441
b: refs/heads/master
c: 9b08a4f
h: refs/heads/master
i:
  258439: 5365c61
v: v3
  • Loading branch information
Rasesh Mody authored and David S. Miller committed Jul 23, 2011
1 parent f8ee9c6 commit c7df19d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4e16d4285d93ea0c284a3cf547e61472f79f8d2
refs/heads/master: 9b08a4fce2245748f05b43e1c03fd1676079e003
1 change: 1 addition & 0 deletions trunk/drivers/net/bna/bfa_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ struct bfa_ioc_drv_stats {
u32 enable_reqs;
u32 disable_replies;
u32 enable_replies;
u32 rsvd;
};

/**
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/net/bna/bfa_ioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2029,6 +2029,8 @@ bfa_nw_ioc_mbox_isr(struct bfa_ioc *ioc)
void
bfa_nw_ioc_error_isr(struct bfa_ioc *ioc)
{
bfa_ioc_stats(ioc, ioc_hbfails);
bfa_ioc_stats_hb_count(ioc, ioc->hb_count);
bfa_fsm_send_event(ioc, IOC_E_HWERROR);
}

Expand Down Expand Up @@ -2255,6 +2257,7 @@ bfa_ioc_recover(struct bfa_ioc *ioc)
{
pr_crit("Heart Beat of IOC has failed\n");
bfa_ioc_stats(ioc, ioc_hbfails);
bfa_ioc_stats_hb_count(ioc, ioc->hb_count);
bfa_fsm_send_event(ioc, IOC_E_HBFAIL);
}

Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/bna/bfa_ioc.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ struct bfa_ioc_hwif {
BFI_ADAPTER_GETP(NPORTS, (__ioc)->attr->adapter_prop)

#define bfa_ioc_stats(_ioc, _stats) ((_ioc)->stats._stats++)
#define bfa_ioc_stats_hb_count(_ioc, _hb_count) \
((_ioc)->stats.hb_count = (_hb_count))
#define BFA_IOC_FWIMG_MINSZ (16 * 1024)
#define BFA_IOC_FWIMG_TYPE(__ioc) \
(((__ioc)->ctdev) ? \
Expand Down

0 comments on commit c7df19d

Please sign in to comment.