[openib-general] [PATCH v3 2/2] SA query: expose retries through API
Sean Hefty
sean.hefty at intel.com
Tue Apr 11 11:28:03 PDT 2006
We also need the following changes to IPoIB for this patch to stand
alone from the multicast changes.
- Sean
---
Index: ulp/ipoib/ipoib_multicast.c
===================================================================
--- ulp/ipoib/ipoib_multicast.c (revision 6418)
+++ ulp/ipoib/ipoib_multicast.c (working copy)
@@ -365,7 +365,7 @@ static int ipoib_mcast_sendonly_join(str
IB_SA_MCMEMBER_REC_PORT_GID |
IB_SA_MCMEMBER_REC_PKEY |
IB_SA_MCMEMBER_REC_JOIN_STATE,
- 1000, GFP_ATOMIC,
+ 1000, 0, GFP_ATOMIC,
ipoib_mcast_sendonly_join_complete,
mcast, &mcast->query);
if (ret < 0) {
@@ -485,7 +485,7 @@ static void ipoib_mcast_join(struct net_
init_completion(&mcast->done);
ret = ib_sa_mcmember_rec_set(priv->ca, priv->port, &rec, comp_mask,
- mcast->backoff * 1000, GFP_ATOMIC,
+ mcast->backoff * 1000, 0, GFP_ATOMIC,
ipoib_mcast_join_complete,
mcast, &mcast->query);
@@ -685,7 +685,7 @@ static int ipoib_mcast_leave(struct net_
IB_SA_MCMEMBER_REC_PORT_GID |
IB_SA_MCMEMBER_REC_PKEY |
IB_SA_MCMEMBER_REC_JOIN_STATE,
- 0, GFP_ATOMIC, NULL,
+ 0, 0, GFP_ATOMIC, NULL,
mcast, &mcast->query);
if (ret < 0)
ipoib_warn(priv, "ib_sa_mcmember_rec_delete failed "
More information about the general
mailing list