On 7/10/2012 3:21 PM, Bhanu Prakash Gollapudi wrote:
With certain FCFs, it may take a little longer than 2secs for DCBX to sync after
the link is ready. fipvlan is retried for only upto 2 secs, causing the
fipvlan to not discover FCFs if DCB sync is not complete. In boot-from-SAN
scenario this is fatal. Increase the retries for upto 10 secs allowing fipvlan
to succeed.
Signed-off-by: Bhanu Prakash Gollapudi <bprak...@broadcom.com>
---
fipvlan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fipvlan.c b/fipvlan.c
index 74d69cb..3da09bb 100644
--- a/fipvlan.c
+++ b/fipvlan.c
@@ -733,7 +733,7 @@ retry:
recv_loop(200);
TAILQ_FOREACH(iff, &interfaces, list_node)
/* if we did not receive a response, retry */
- if (iff->req_sent && !iff->resp_recv && retry_count++ < 10) {
+ if (iff->req_sent && !iff->resp_recv && retry_count++ < 50) {
How about making this a define so its not some magic number buried in
the user space code.
Thanks,
John
_______________________________________________
devel mailing list
devel@open-fcoe.org
https://lists.open-fcoe.org/mailman/listinfo/devel