From: David Miller <davem@davemloft.net>
To: rdreier@cisco.com
Cc: cl@linux-foundation.org, netdev@vger.kernel.org, yosefe@Voltaire.COM
Subject: Re: IPoIB: Fix multicast packet drops before join is complete
Date: Tue, 09 Jun 2009 22:12:09 -0700 (PDT) [thread overview]
Message-ID: <20090609.221209.07018418.davem@davemloft.net> (raw)
In-Reply-To: <adaski83ciy.fsf@cisco.com>
From: Roland Dreier <rdreier@cisco.com>
Date: Tue, 09 Jun 2009 22:04:21 -0700
> > If a facility doesn't exist yet, we're going to have to create
> > one. It would need to do a downcall to the device when the
> > user joins a multicast group on a socket, and then the device
> > can do whatever magic is necessary to speak multicast immediately
> > and sleep until it really is available for immediate use.
>
> But a send-only membership is created when a multicast packet is sent,
> which an application can do just with sendto() -- do we want to plumb
> all the way from sendto() down to the device the packet is ultimately
> going to be sent on?
>
> There isn't any corresponding code to block an app during ARP
> resolution, is there?
Nope.
But the problem is that it's incredibly invasive to applications
how IPoIB behaves for multicast traffic. It's much more biting
than ARP because usually ARP hits you when you do your connection
attempt or initial DNS request, then it's resolved and smooth
sailing.
Here the app can send a voluminous amount of application data
at the destination and it'll mostly drop on the floor currently.
This is bad.
ARP doesn't typically toss real application data, this does.
next prev parent reply other threads:[~2009-06-10 5:12 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 14:49 IPoIB: Fix multicast packet drops before join is complete Christoph Lameter
2009-06-04 5:41 ` David Miller
2009-06-04 14:28 ` Or Gerlitz
2009-06-04 15:52 ` Christoph Lameter
2009-06-04 22:30 ` David Miller
2009-06-05 14:18 ` Christoph Lameter
2009-06-05 16:56 ` Roland Dreier
2009-06-05 19:17 ` Christoph Lameter
2009-06-05 21:12 ` Roland Dreier
2009-06-06 1:17 ` David Miller
2009-06-05 21:13 ` Roland Dreier
2009-06-08 15:16 ` Christoph Lameter
2009-06-06 1:16 ` David Miller
2009-06-08 15:20 ` Christoph Lameter
2009-06-08 21:29 ` David Miller
2009-06-09 20:52 ` Roland Dreier
2009-06-10 0:45 ` David Miller
2009-06-10 3:55 ` Roland Dreier
2009-06-10 4:57 ` David Miller
2009-06-10 5:04 ` Roland Dreier
2009-06-10 5:12 ` David Miller [this message]
2009-06-10 10:18 ` Or Gerlitz
2009-06-10 12:01 ` David Miller
2009-06-11 11:45 ` Or Gerlitz
2009-06-11 11:57 ` David Miller
2009-06-11 15:07 ` Christoph Lameter
2009-06-11 23:58 ` David Miller
2009-06-12 14:17 ` Christoph Lameter
2009-06-05 16:54 ` Roland Dreier
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=20090609.221209.07018418.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=cl@linux-foundation.org \
--cc=netdev@vger.kernel.org \
--cc=rdreier@cisco.com \
--cc=yosefe@Voltaire.COM \
/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).