Thread (3 messages) 3 messages, 2 authors, 2009-01-28

Re: [PATCH 0/4]: Revamp TX hashing.

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2009-01-28 09:02:07

David Miller [off-list ref] 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~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help