[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1299054277.2930.89.camel@edumazet-laptop>
Date: Wed, 02 Mar 2011 09:24:37 +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 à 16:07 +0800, Herbert Xu a écrit :
> On Wed, Mar 02, 2011 at 09:04:08AM +0100, Eric Dumazet wrote:
> >
> > Not sure why two UDP packets from the same cpu should be sent on same
> > queue.
> >
> > - Some qdisc do reorder packets anyway.
>
> Which qdisc reorders packets belonging to the same flow?
>
Hmm to be fair you did not specified "same flow", and /sbin/named
answers are usually one packet long...
How are we going to detect flows in sendto() calls ?
Just kidding.
If you want to push your patch, I suspect a dynamic per_cpu variable is
needed per TX-multiqueue device, so that "current cpu -> txq number" is
one instruction.
--
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