diff options
author | Hariprasad S <hariprasad@chelsio.com> | 2015-05-05 00:25:24 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-05-05 19:21:27 +0200 |
commit | 179d03bbfd2ebc63934753a696467d28bf9f5b64 (patch) | |
tree | 3b0244ebaba6e3b17d7bacc4783786da88a6f5a7 /drivers/infiniband/hw/cxgb4/iw_cxgb4.h | |
parent | IB/core: Fix unaligned accesses (diff) | |
download | linux-179d03bbfd2ebc63934753a696467d28bf9f5b64.tar.xz linux-179d03bbfd2ebc63934753a696467d28bf9f5b64.zip |
iw_cxgb4: Remove negative advice dmesg warnings
Remove these log messages in favor of per-endpoint counters as well as
device-global counters that can be inspected via debugfs.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h index d87e1650f643..97bb5550a6cf 100644 --- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h @@ -137,6 +137,7 @@ struct c4iw_stats { u64 tcam_full; u64 act_ofld_conn_fails; u64 pas_ofld_conn_fails; + u64 neg_adv; }; struct c4iw_hw_queue { @@ -814,6 +815,11 @@ struct c4iw_listen_ep { int backlog; }; +struct c4iw_ep_stats { + unsigned connect_neg_adv; + unsigned abort_neg_adv; +}; + struct c4iw_ep { struct c4iw_ep_common com; struct c4iw_ep *parent_ep; @@ -846,6 +852,7 @@ struct c4iw_ep { unsigned int retry_count; int snd_win; int rcv_win; + struct c4iw_ep_stats stats; }; static inline void print_addr(struct c4iw_ep_common *epc, const char *func, |