From: Eric Dumazet <eric.dumazet@gmail.com>
To: Vijay Subramanian <subramanian.vijay@gmail.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
shemminger@vyatta.com, alexander.h.duyck@intel.com
Subject: Re: [PATCH net-next] udp: Add socket early demux support
Date: Tue, 26 Jun 2012 22:49:07 +0200 [thread overview]
Message-ID: <1340743747.10893.370.camel@edumazet-glaptop> (raw)
In-Reply-To: <1340739826-3363-1-git-send-email-subramanian.vijay@gmail.com>
On Tue, 2012-06-26 at 12:43 -0700, Vijay Subramanian wrote:
> Based on the recent TCP socket early demux code, this patch provides similar
> support for UDP.
>
> Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
> ---
> This has been tested on x86 with UDP iperf flows and seemed to work. If this is
> accepted, I plan to submit one more patch moving common code from TCP and UDP
> early demux code into common helper functions.
> Thanks in advance for feedback.
Hmm... I cant see how it can work.
Have you tested a router can still route DNS packets if you also have a
DNS server on it, listening on 0.0.0.0:53 ?
Most UDP applications are using unconnected sockets.
(In fact few programmers are aware UDP sockets can be connected)
Try to bench how this is going to work with random IP sources, instead
of UDP iperf flows using a single IP ?
And what about multicast ?
next prev parent reply other threads:[~2012-06-26 20:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 19:43 [PATCH net-next] udp: Add socket early demux support Vijay Subramanian
2012-06-26 20:49 ` Eric Dumazet [this message]
2012-06-26 21:34 ` David Miller
2012-06-27 0:06 ` Vijay Subramanian
2012-06-27 2:29 ` Changli Gao
2012-06-27 3:59 ` David Miller
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=1340743747.10893.370.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=alexander.h.duyck@intel.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
--cc=subramanian.vijay@gmail.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