[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090128090203.GA15674@gondor.apana.org.au>
Date: Wed, 28 Jan 2009 20:02:03 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 0/4]: Revamp TX hashing.
David Miller <davem@...emloft.net> wrote:
>
> The simple_tx_hash() function we currently have in
> net/core/dev.c is very rudimental and doesn't handle
> routing and firewall scenerios very well.
This is really cool! Thanks Dave!
> The next 4 patches attempt to cure that. The end result
> is:
>
> 1) The RX queue selection of the input device seeds the
> TX queue selection for that SKB.
>
> 2) Locally generated packets seed the TX queue using
> skb->sk->sk_hash
One thing that I've been thinking about is that it would be
really useful if we guaranteed that every inbound packet carried
a hash with it. This could be used to help subsequent processing
such as routing, netfilter, etc. since they all need to make
decisions based on flows.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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