Re: [openib-general] [PATCH 1/7 v2] for 2.6.20 ib/ib_sa: add tracking of multicast join / leave requests

2006-11-06 Thread Michael S. Tsirkin
Quoting Sean Hefty [EMAIL PROTECTED]: diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c index 3faa182..d90f804 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c @@ -60,14

Re: [openib-general] [PATCH 1/7 v2] for 2.6.20 ib/ib_sa: add tracking of multicast join / leave requests

2006-11-06 Thread Sean Hefty
So instead of ib_sa_mcmember_rec_set which returned the query by pointer we now have ib_sa_join_multicast which returns the pointer. This part looks OK I guess, but I still do not understand why does the patch tinker with logic (e.g. setting/clearing IPOIB_MCAST_FLAG_BUSY) in the IPoIB

[openib-general] [PATCH 1/7 v2] for 2.6.20 ib/ib_sa: add tracking of multicast join / leave requests

2006-10-24 Thread Sean Hefty
The IB SA tracks multicast join / leave requests on a per port basis. In order to support multiple users of the same multicast group from the same port, we need to perform local reference counting on each of the nodes. Modify the ib_sa module to perform reference counting of multicast join /