public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Alekseys Senin <alekseys-smomgflXvOZWk0Htik3J/w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Moni Shoua <monis-smomgflXvOZWk0Htik3J/w@public.gmane.org>,
	Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>,
	"ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org"
	<ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org>
Subject: Re: [PATCH] Make multicast and path record queue flexible.
Date: Tue, 12 Oct 2010 14:47:15 -0600	[thread overview]
Message-ID: <20101012204715.GQ24268@obsidianresearch.com> (raw)
In-Reply-To: <1286900993.31931.4.camel-uOVkuFIEnOODI2cvxHXf6UEOCMrvLtNR@public.gmane.org>

On Tue, Oct 12, 2010 at 06:29:53PM +0200, Alekseys Senin wrote:
> On Tue, 2010-10-05 at 14:12 -0500, Christoph Lameter wrote:
> 
>     On Tue, 5 Oct 2010, Jason Gunthorpe wrote:
> 
>     > On Tue, Oct 05, 2010 at 06:07:37PM +0200, Aleksey Senin wrote:
>     > > When using slow SM allow more packets to be buffered before answer
>     > > comming back. This patch based on idea of Christoph Lameter.
>     > >
>     > > http://lists.openfabrics.org/pipermail/general/2009-June/059853.html
>     >
>     > IMHO, I think it is better to send multicasts to the broadcast MLID than to
>     > queue them.. More like ethernet that way.
> 
>     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.
> 
> But what if it will not be available from some reason? How long
> should we wait?  Do we need implement another queue/counter/timeout?

If you follow the scheme I outlined - where traffic to a MGID that
doesn't yet have a MLID is routed to the broadcast MLID then you do it
until you get a MLID, with periodic retries/refreshes of the SA
operation.

This is similar to how ethernet works, and is generally
harmless. Better to have a working, but suboptimal network, than one
that is busted.

Jason

  parent reply	other threads:[~2010-10-12 20:47 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
     [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 [this message]
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=20101012204715.GQ24268@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 \
    /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