diff options
author | Andre Detsch <adetsch@br.ibm.com> | 2010-04-26 05:38:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 10:18:27 -0700 |
commit | e95ef5d3f6bc60433883e1ef65dac747acd0bf1a (patch) | |
tree | 6296ac4f5aa7fe525121aa841e94d060e786e95c /drivers/net/cxgb3 | |
parent | 6f461f6c7c961f0b1b73c0f27becf472a0ac606b (diff) | |
download | linux-e95ef5d3f6bc60433883e1ef65dac747acd0bf1a.tar.gz linux-e95ef5d3f6bc60433883e1ef65dac747acd0bf1a.tar.bz2 linux-e95ef5d3f6bc60433883e1ef65dac747acd0bf1a.zip |
cxgb3: Wait longer for control packets on initialization
In some Power7 platforms, when using VIOS (Virtual I/O Server), we
need to wait longer for control packets to finish transfer during
initialization.
Without this change, initialization may fail prematurely.
Signed-off-by: Wen Xiong <wenxiong@us.ibm.com>
Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Acked-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3')
-rw-r--r-- | drivers/net/cxgb3/cxgb3_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index aced6c5e635c..e3f1b8566495 100644 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c @@ -439,7 +439,7 @@ static void free_irq_resources(struct adapter *adapter) static int await_mgmt_replies(struct adapter *adap, unsigned long init_cnt, unsigned long n) { - int attempts = 5; + int attempts = 10; while (adap->sge.qs[0].rspq.offload_pkts < init_cnt + n) { if (!--attempts) |