[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1299053048.2930.85.camel@edumazet-laptop>
Date: Wed, 02 Mar 2011 09:04:08 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Tom Herbert <therbert@...gle.com>,
Thomas Graf <tgraf@...radead.org>,
David Miller <davem@...emloft.net>, rick.jones2@...com,
wsommerfeld@...gle.com, daniel.baluta@...il.com,
netdev@...r.kernel.org
Subject: Re: SO_REUSEPORT - can it be done in kernel?
Le mercredi 02 mars 2011 à 15:31 +0800, Herbert Xu a écrit :
> On Tue, Mar 01, 2011 at 11:12:29PM -0800, Tom Herbert wrote:
> >
> > Probably need to set skb->ooo_okay (for UDP etc.) also so that XPS
> > will change queues.
>
> Hmm, not quite. We still want to maintain packet ordering from
> the same CPU. That is, if I do two sendmsg calls from the same
> CPU, they should go into the same queue in that order.
>
> So this shouldn't just be a knob that says whether we can pick
> queues at random.
>
Not sure why two UDP packets from the same cpu should be sent on same
queue.
- Some qdisc do reorder packets anyway.
- Some bonding setups use two links in round-robin mode (link
aggregation)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists