public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
Cc: Aleksey Senin <alekseys-smomgflXvOZWk0Htik3J/w@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org"
	<ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org>,
	Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>,
	Moni Shoua <monis-smomgflXvOZWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH] Make multicast and path record queue flexible.
Date: Tue, 5 Oct 2010 14:21:21 -0600	[thread overview]
Message-ID: <20101005202121.GC24268@obsidianresearch.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1010051500330.8786-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>

On Tue, Oct 05, 2010 at 03:02:21PM -0500, Christoph Lameter wrote:
> On Tue, 5 Oct 2010, Jason Gunthorpe wrote:
> 
> > > I agree. We had similar ideas. However, the kernel does send igmp
> > > reports to the MC address not to 244.0.0.2. We would have to redirect at
> > > the IB layer until multicast via MLID becomes functional. We cannot tell
> > > when that will be the case.
> >
> > Sure, but Aleksey's patch is aimed at the case when the SM has not yet
> > replied, not for your problem with IGMPv2. If their is no MLID then
> > sending to the broadcast MLID is a better choice than hanging onto the
> > packets. I wonder if you could even send unicasts to the broadcast?
> 
> The problem that the SM has not yet replied is no different between the
> IGMP versions. If you get a confirmation but the MC group is not
> functional then packets go nowhere.

Getting a MLID that is not 'functional' is a different problem. Aleksey
is looking at the case when there is no MLID at all, and I think
queuing is the wrong approach.

> > I still think the problem you have with IGMPv2 is best solved by
> > leaning on the gateway vendors to support IGMPv3 - which *does* send
> > all reports to 244.0.0.22
> 
> s/22/2

No, 22. RFC 3376:

4.2.14. IP Destination Addresses for Reports

   Version 3 Reports are sent with an IP destination address of
   224.0.0.22, to which all IGMPv3-capable multicast routers listen.  A
   system that is operating in version 1 or version 2 compatibility
   modes sends version 1 or version 2 Reports to the multicast group
   specified in the Group Address field of the Report.  In addition, a
   system MUST accept and process any version 1 or version 2 Report
   whose IP Destination Address field contains *any* of the addresses
   (unicast or multicast) assigned to the interface on which the Report
   arrives.

> Certainly a solution for the igmp messages themselves but not for
> initial traffic or traffic send via sendonly join.

Using .22 will generally solve the problems with sychronizing the
IPoIB gateway to the state of the IGMPv3 clients. Yes, there will
still be some unknown lag in building the IB side of the network and
for the router(s) to get ready to handle the group - but at least it
is no longer dependent on any timeouts.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-10-05 20:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05 16:07 [PATCH] Make multicast and path record queue flexible Aleksey Senin
     [not found] ` <4CAB4D49.9090107-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2010-10-05 16:28   ` Jason Gunthorpe
     [not found]     ` <20101005162833.GC5967-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-10-05 19:12       ` Christoph Lameter
     [not found]         ` <alpine.DEB.2.00.1010051410370.7065-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-10-05 19:54           ` Jason Gunthorpe
     [not found]             ` <20101005195428.GB24268-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-10-05 20:02               ` Christoph Lameter
     [not found]                 ` <alpine.DEB.2.00.1010051500330.8786-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-10-05 20:21                   ` Jason Gunthorpe [this message]
     [not found]                     ` <20101005202121.GC24268-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-10-05 20:43                       ` Christoph Lameter
     [not found]                         ` <alpine.DEB.2.00.1010051535480.10603-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-10-05 20:55                           ` Jason Gunthorpe
     [not found]                             ` <20101005205545.GF24268-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-10-05 21:12                               ` Christoph Lameter
     [not found]                                 ` <alpine.DEB.2.00.1010051600190.10603-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-10-05 21:28                                   ` Jason Gunthorpe
     [not found]                                     ` <20101005212826.GG24268-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-10-05 21:34                                       ` Christoph Lameter
2010-10-12 16:29           ` Alekseys Senin
     [not found]             ` <1286900993.31931.4.camel-uOVkuFIEnOODI2cvxHXf6UEOCMrvLtNR@public.gmane.org>
2010-10-12 20:47               ` Jason Gunthorpe
2010-10-05 19:18   ` Christoph Lameter
     [not found]     ` <alpine.DEB.2.00.1010051415100.7065-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-10-06 15:57       ` Alekseys Senin
     [not found]         ` <1286380676.31487.1.camel-uOVkuFIEnOODI2cvxHXf6UEOCMrvLtNR@public.gmane.org>
2010-10-06 16:16           ` Christoph Lameter
     [not found]             ` <alpine.DEB.2.00.1010061114590.31538-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-10-06 17:34               ` Jason Gunthorpe

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=20101005202121.GC24268@obsidianresearch.com \
    --to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
    --cc=alekseys-smomgflXvOZWk0Htik3J/w@public.gmane.org \
    --cc=cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org \
    --cc=ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=monis-smomgflXvOZWk0Htik3J/w@public.gmane.org \
    --cc=rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox