public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Eli Cohen <eli-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
Cc: Linux RDMA list
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Eli Cohen <eli-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>,
	ewg <ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org>
Subject: Re: [PATCHv8 04/11] ib_core: IBoE CMA device binding
Date: Thu, 13 May 2010 16:07:52 +0300	[thread overview]
Message-ID: <20100513130752.GK16073@mtldesk030.lab.mtl.com> (raw)
In-Reply-To: <adaocgkubbq.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>

On Wed, May 12, 2010 at 01:14:33PM -0700, Roland Dreier wrote:
>  > Multicast GIDs are always mapped to multicast MACs
>  > as is done in IPv6. Some helper functions are added to ib_addr.h.  IPv4
>  > multicast is enabled by translating IPv4 multicast addresses to IPv6 multicast
>  > as described in
>  > http://www.mail-archive.com/ipng-Va8kgSFw1KyzQ7sTrsxvMkEOCMrvLtNR@public.gmane.org/msg02134.html.
> 
> I guess it's a bit unfortunate that the RoCE annex completely ignored
> how to map multicast GIDs to ethernet addresses (I suppose as part of
> the larger decision to ignore address resolution entirely).  Anyway,
> looking at the email message you reference, it seems to be someone
> asking what the right way to map IPv4 multicast addresses to IPv6
> addresses is.  Is there a more definitive document you can point to?

I am not aware of any definitive document that addresses this issue.

> 
> It seems that unfortunately the way the layering of addresses is done,
> there's no way to just use the standard mapping of IPv4 multicast
> addresses to Ethernet addresses (since IBoE is does addressing via
> the CMA mapping to GIDs followed by an unspecified mapping from GIDs to
> Ethernet addresses).
> 

It is natural to treat gids as IPv6 addresses, so using the standard
mapping from IPv6 multicast addresses to mac addresses seems reasonable.

      parent reply	other threads:[~2010-05-13 13:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 17:24 [PATCHv8 04/11] ib_core: IBoE CMA device binding Eli Cohen
2010-05-12 20:03 ` Roland Dreier
     [not found]   ` <ada1vdgvqe9.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-05-13  7:24     ` Eli Cohen
2010-05-12 20:05 ` Roland Dreier
     [not found]   ` <adawrv8ubrh.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-05-13  8:26     ` Eli Cohen
     [not found]       ` <20100513082613.GC16073-8YAHvHwT2UEvbXDkjdHOrw/a8Rv0c6iv@public.gmane.org>
2010-05-14 22:08         ` Roland Dreier
2010-05-12 20:14 ` Roland Dreier
     [not found]   ` <adaocgkubbq.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-05-13 13:07     ` Eli Cohen [this message]

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=20100513130752.GK16073@mtldesk030.lab.mtl.com \
    --to=eli-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=eli-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org \
    --cc=ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@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