Re: SO_REUSEPORT - can it be done in kernel?

Herbert Xu
2011-03-02T07:31:38Z

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.

Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt