linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Leon Romanovsky <leon@kernel.org>
Cc: Christoph Lameter <cl@gentwo.de>, linux-rdma@vger.kernel.org
Subject: Re: [PATCH][FIX] ROCE Multicast: Do not send IGMP leaves for sendonly Multicast groups
Date: Tue, 14 Sep 2021 15:38:39 -0300	[thread overview]
Message-ID: <20210914183839.GA136775@nvidia.com> (raw)
In-Reply-To: <YT8qM0IpIslXL4Ni@unreal>

On Mon, Sep 13, 2021 at 01:38:43PM +0300, Leon Romanovsky wrote:
> On Wed, Sep 08, 2021 at 01:43:28PM +0200, Christoph Lameter wrote:
> > ROCE uses IGMP for Multicast instead of the native Infiniband system where
> > joins are required in order to post messages on the Multicast group.
> 
> According to the IBTA v1.5, there is no need to join multicast group to
> send messages.
> 
>  10.5.2 MULTICAST WORK REQUESTS
>  10.5.2.1 IBA UNRELIABLE MULTICAST WORK REQUESTS
>   ...
>   A QP is not required to be attached to a Multicast Group
>   in order to initiate an IBA Unreliable Multicast Work Request.
> 
> Did I look in wrong place?

This is talking about the ibv_attach_mcast() verb, which is different
from the SM notion of a node being joined to a multicast group or not.

In IBA a node that is not joined to a MGID will not be able to send to
that MGID, the network is allowed to drop the packet.

With ethernet all nodes can always send to all multicast addresses,
the IGMP stuff is only required to receive

Jason

  reply	other threads:[~2021-09-14 18:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-08 11:43 Christoph Lameter
2021-09-13 10:38 ` Leon Romanovsky
2021-09-14 18:38   ` Jason Gunthorpe [this message]
2021-09-15 19:44   ` Christoph Lameter
2021-09-14 18:57 ` 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=20210914183839.GA136775@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=cl@gentwo.de \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --subject='Re: [PATCH][FIX] ROCE Multicast: Do not send IGMP leaves for sendonly Multicast groups' \
    /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

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).