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>,
	Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
Cc: 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: Fri, 11 Sep 2015 15:41:46 -0400	[thread overview]
Message-ID: <55F32E7A.3020105@redhat.com> (raw)
In-Reply-To: <20150911182115.GA546-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>

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

On 09/11/2015 02:21 PM, Jason Gunthorpe wrote:
> On Fri, Sep 11, 2015 at 09:40:25AM -0500, Christoph Lameter wrote:
>> On Thu, 10 Sep 2015, Doug Ledford wrote:
>>
>>> +		 * 1) ifdown/ifup
>>> +		 * 2) a regular mcast join/leave happens and we run
>>> +		 *    ipoib_mcast_restart_task
>>> +		 * 3) a REREGISTER event comes in from the SM
>>> +		 * 4) any other event that might cause a mcast flush
>>
>> Could we have a timeout and leave the multicast group on process
>> exit?
> 
> At a minimum, when the socket that did the send closes the send-only
> could be de-refed..

If we kept a ref count, but we don't.  Tracking this is not a small change.

> But really send-only in IB is very similar to neighbour discovery, and
> should work the same, with a timer, etc. In my mind it would be ideal
> to even add them to the ND table, if the core would support that..
> 
> 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
> 


-- 
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-11 19:41 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 [this message]
     [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
     [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=55F32E7A.3020105@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).