From: Divy Le Ray <divy@chelsio.com>
To: Andre Detsch <adetsch@br.ibm.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] cxgb3: Wait longer for control packets on initialization
Date: Mon, 26 Apr 2010 19:16:28 -0700 [thread overview]
Message-ID: <4BD648FC.80602@chelsio.com> (raw)
In-Reply-To: <201004261238.27919.adetsch@br.ibm.com>
Andre Detsch wrote:
> 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>
> Index: linux-2.6.34-rc5/drivers/net/cxgb3/cxgb3_main.c
> ===================================================================
> --- linux-2.6.34-rc5.orig/drivers/net/cxgb3/cxgb3_main.c 2010-04-23 18:59:43.000000000 -0300
> +++ linux-2.6.34-rc5/drivers/net/cxgb3/cxgb3_main.c 2010-04-23 18:59:55.000000000 -0300
> @@ -439,7 +439,7 @@ static void free_irq_resources(struct ad
> 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)
>
next prev parent reply other threads:[~2010-04-27 2:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 15:38 [PATCH] cxgb3: Wait longer for control packets on initialization Andre Detsch
2010-04-27 2:16 ` Divy Le Ray [this message]
2010-04-27 17:18 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BD648FC.80602@chelsio.com \
--to=divy@chelsio.com \
--cc=adetsch@br.ibm.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.