[ofa-general] [PATCH 4/4] ipoib: do not print error messages for multicast join retries
Yossi Etigin
yosefe at Voltaire.COM
Mon Dec 15 10:34:10 PST 2008
When trying to join multicast from ipoib and SM address
handle is NULL, the join returns with -EAGAIN status. In
that case, do not print an error.
Signed-off-by: Yossi Etigin <yosefe at voltaire.com>
--
Index: b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
===================================================================
--- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c 2008-10-22 20:28:06.000000000 +0200
+++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c 2008-10-27 20:13:59.000000000 +0200
@@ -443,7 +443,7 @@ static int ipoib_mcast_join_complete(int
}
if (mcast->logcount++ < 20) {
- if (status == -ETIMEDOUT) {
+ if (status == -ETIMEDOUT || status == -EAGAIN) {
ipoib_dbg_mcast(priv, "multicast join failed for " IPOIB_GID_FMT
", status %d\n",
IPOIB_GID_ARG(mcast->mcmember.mgid),
More information about the general
mailing list