net: move rx and tx hash functions to net/core/flow_dissector.c
authorCong Wang <xiyou.wangcong@gmail.com>
Mon, 21 Jan 2013 00:39:24 +0000 (00:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2013 19:26:17 +0000 (14:26 -0500)
commit441d9d327f1e770f5aa76fd91735851ac6e1e236
treef7a0a8d206d5745fd196bc9a5c98c2f8d67086ac
parentcd5f20461de8e3e9b04932e4ba3e37afe39b8898
net: move rx and tx hash functions to net/core/flow_dissector.c

__skb_tx_hash() and __skb_get_rxhash() are all for calculating hash
value based by some fields in skb, mostly used for selecting queues
by device drivers.

Meanwhile, net/core/dev.c is bloating.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/core/flow_dissector.c