diff options
Diffstat (limited to 'drivers/infiniband/hw/cxgb4')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cm.c | 2 | ||||
-rw-r--r-- | drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index 272bf789c53b..8dcc84fd9d30 100644 --- a/drivers/infiniband/hw/cxgb4/cm.c +++ b/drivers/infiniband/hw/cxgb4/cm.c | |||
@@ -1693,9 +1693,9 @@ static int act_open_rpl(struct c4iw_dev *dev, struct sk_buff *skb) | |||
1693 | case CPL_ERR_CONN_TIMEDOUT: | 1693 | case CPL_ERR_CONN_TIMEDOUT: |
1694 | break; | 1694 | break; |
1695 | case CPL_ERR_TCAM_FULL: | 1695 | case CPL_ERR_TCAM_FULL: |
1696 | dev->rdev.stats.tcam_full++; | ||
1696 | if (dev->rdev.lldi.enable_fw_ofld_conn) { | 1697 | if (dev->rdev.lldi.enable_fw_ofld_conn) { |
1697 | mutex_lock(&dev->rdev.stats.lock); | 1698 | mutex_lock(&dev->rdev.stats.lock); |
1698 | dev->rdev.stats.tcam_full++; | ||
1699 | mutex_unlock(&dev->rdev.stats.lock); | 1699 | mutex_unlock(&dev->rdev.stats.lock); |
1700 | send_fw_act_open_req(ep, | 1700 | send_fw_act_open_req(ep, |
1701 | GET_TID_TID(GET_AOPEN_ATID( | 1701 | GET_TID_TID(GET_AOPEN_ATID( |
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h index 08e406ca815b..485183ad34cd 100644 --- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h | |||
@@ -162,7 +162,7 @@ static inline int c4iw_num_stags(struct c4iw_rdev *rdev) | |||
162 | return min((int)T4_MAX_NUM_STAG, (int)(rdev->lldi.vr->stag.size >> 5)); | 162 | return min((int)T4_MAX_NUM_STAG, (int)(rdev->lldi.vr->stag.size >> 5)); |
163 | } | 163 | } |
164 | 164 | ||
165 | #define C4IW_WR_TO (10*HZ) | 165 | #define C4IW_WR_TO (30*HZ) |
166 | 166 | ||
167 | struct c4iw_wr_wait { | 167 | struct c4iw_wr_wait { |
168 | struct completion completion; | 168 | struct completion completion; |