From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH for-4.3] IB/ipoib: add module option for auto-creating mcast groups
Date: Fri, 11 Sep 2015 14:38:20 -0600 [thread overview]
Message-ID: <20150911203820.GA19161@obsidianresearch.com> (raw)
In-Reply-To: <55F3350D.6090002-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On Fri, Sep 11, 2015 at 04:09:49PM -0400, Doug Ledford wrote:
> On 09/11/2015 02:39 PM, Jason Gunthorpe wrote:
> > On Thu, Sep 10, 2015 at 09:21:05PM -0400, Doug Ledford wrote:
> >> During the recent rework of the mcast handling in ipoib, the join
> >> task for regular and send-only joins were merged. In the old code,
> >> the comments indicated that the ipoib driver didn't send enough
> >> information to auto-create IB multicast groups when the join was a
> >> send-only join. The reality is that the comments said we didn't, but
> >> we actually did. Since we merged the two join tasks, we now follow
> >> the comments and don't auto-create IB multicast groups for an ipoib
> >> send-only multicast join. This has been reported to cause problems
> >> in certain environments that rely on this behavior. Specifically,
> >> if you have an IB <-> Ethernet gateway then there is a fundamental
> >> mismatch between the methodologies used on the two fabrics. On
> >> Ethernet, an app need not subscribe to a multicast group, merely
> >> listen.
> >
> > This should probably be clarified. On all IP networks IGMP/MLD is used
> > to advertise listeners.
> >
> > A IB/Eth gateway is a router, and IP routers are expected to process
> > IGMP - so the gateway certainly can (and maybe must) be copying
> > groups declared with IGMP from the eth side into listeners on IB MGIDs
>
> Obviously, the gateway in question currently is not doing this.
Sure, my remark was the clarify the commit comment so people don't think
this is OK/expected behavior from a gateway.
> We could drop the queue backlog entirely and just send to broadcast
> when the multicast group is unsubscribed.
I'm pretty sure that would upset the people who care about this
stuff.. Steady state operation has to eventually move to the optimal
MLID.
> Well, we've already established that the gateway device might be well be
> broken. That makes one wonder if this will work or if it might be
> broken too.
If it isn't subscribed to the broadcast MLID, it is violating MUST
statements in the RFC...
> and so this has been happening since forever in OFED (the above is from
> 1.5.4.1).
But has this has been dropped from the new 3.x series that track
upstream exactly?
> our list we add. Because the sendonly groups are not tracked at the net
> core level, our only option is to move them all to the remove list and
> when we get another sendonly packet, rejoin. Unless we want them to
> stay around forever. But since they aren't real send-only joins, they
> are full joins where we simply ignore the incoming data, leaving them
> around seems a bad idea.
It doesn't make any sense to work like that. As is, the send-only
side looks pretty messed up to me.
It really needs to act like ND, and yah, that is a big change.
Just to be clear, I'm not entirely opposed to an OFED compatability
module option, but lets understand how this is broken, what the fix is
we want to see for mainline and why the OFED 'solution' is not
acceptable for mainline.
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
next prev parent reply other threads:[~2015-09-11 20:38 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-11 1:21 [PATCH for-4.3] IB/ipoib: add module option for auto-creating mcast groups Doug Ledford
[not found] ` <980e8b0a82042d7e5801e02bf16fe72a0bde6759.1441934465.git.dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-11 14:40 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1509110920540.16357-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-09-11 18:21 ` Jason Gunthorpe
[not found] ` <20150911182115.GA546-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-09-11 19:41 ` Doug Ledford
[not found] ` <55F32E7A.3020105-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-14 17:03 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1509141200020.4192-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-09-15 18:24 ` Doug Ledford
[not found] ` <55F86255.9080508-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-15 18:42 ` Christoph Lameter
2015-09-15 19:11 ` Jason Gunthorpe
[not found] ` <20150915191159.GB24173-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-09-15 23:53 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1509151852530.15731-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-09-16 15:14 ` Doug Ledford
[not found] ` <55F9873B.2080407-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-16 15:38 ` Christoph Lameter
2015-09-16 15:21 ` Doug Ledford
[not found] ` <55F988F1.8000508-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-16 15:59 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1509161058540.22035-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-09-16 16:26 ` Doug Ledford
[not found] ` <55F9981F.5010605-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-16 16:31 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1509161129080.22736-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-09-16 20:13 ` Or Gerlitz
[not found] ` <CAJ3xEMi2SEXWmmLmm2xb_X_BZJY2L3UM1UfsXjFaupHBbi=q8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-16 20:17 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1509161517110.24175-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-09-16 20:52 ` Or Gerlitz
[not found] ` <CAJ3xEMjVcTYicgNmv0_eSySF_gf-S3pLVY_YCoUk44rVfpYPLw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-17 0:48 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1509161945250.25627-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-09-17 10:39 ` Or Gerlitz
2015-09-16 17:03 ` Jason Gunthorpe
2015-09-11 18:39 ` Jason Gunthorpe
[not found] ` <20150911183931.GB546-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-09-11 20:09 ` Doug Ledford
[not found] ` <55F3350D.6090002-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-11 20:38 ` Jason Gunthorpe [this message]
[not found] ` <20150911203820.GA19161-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-09-11 21:40 ` Doug Ledford
[not found] ` <55F34A59.50401-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-11 22:00 ` 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=20150911203820.GA19161@obsidianresearch.com \
--to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.