linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Or Gerlitz <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH for-4.3] IB/ipoib: add module option for auto-creating mcast groups
Date: Wed, 16 Sep 2015 11:21:21 -0400	[thread overview]
Message-ID: <55F988F1.8000508@redhat.com> (raw)
In-Reply-To: <20150915191159.GB24173-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

On 09/15/2015 03:11 PM, Jason Gunthorpe wrote:
> On Tue, Sep 15, 2015 at 02:24:21PM -0400, Doug Ledford wrote:
> 
>> suggesting.  What's more, there are a few difficulties here in that I'm
>> fairly certain the core networking layer doesn't have the concept of a
>> send-only join, yet we would need it to have such.
> 
> The mcast list in the core is soley for listing subscriptions for
> inbound - ie receive.

Agreed.

> Abusing it for send-side is probably the wrong
> direction overall.

I wouldn't "abuse" it for such, I would suggest adding a proper notion
of send-only registrations.

> send-side addressing is always done with the neighbour table. If core
> net infrastructure is to be done here it makes alot more sense to
> store multicast IP's in the neighbour table and drive the join
> lifetime from that side.

Wherever the right place in the core would turn out to be, my point was
that we should talk to netdev about extending the core multicast code to
have a notion of IPoIB's need for send-only groups to be tracked, then
set a flag on the device that notes it needs tracked, and have the core
code track these subscriptions.  I would then modify the ipoib multicast
code so that the join/leave handler could deal with both sendonly and
full joins/leaves, scrap the auto send-only join in mcast_send, and
modify mcast_restart_task to be able to promote/demote joins based upon
changes in the core maintained join list.  That would be my preferred
way to handle this.

-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
              GPG KeyID: 0E572FDD



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

  parent reply	other threads:[~2015-09-16 15:21 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 [this message]
     [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
     [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=55F988F1.8000508@redhat.com \
    --to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@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;
as well as URLs for NNTP newsgroup(s).