]> git.baikalelectronics.ru Git - kernel.git/commit
net: Get rid of by-hand TX queue hashing.
authorDavid S. Miller <davem@davemloft.net>
Wed, 28 Jan 2009 00:34:47 +0000 (16:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jan 2009 00:34:47 +0000 (16:34 -0800)
commitf4c86ed07b68e0d03c5826612c59841814036b82
treefec5e5cf9c5caacc83fc929f978896938ff199a4
parent4afab027d8def46e050fc692f784dc547fd814fc
net: Get rid of by-hand TX queue hashing.

We now only TX hash on pre-computed SKB properties.

The thinking is:

1) High performance routing and firewalling setups will
   have a multiqueue capable card used for receive, and
   therefore would have RX queue recordings made into
   the SKB which can be used for the TX side hash.

2) Locally generated packets will have an attached socket
   and thus a valid sk->sk_hash to make use of.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c