]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'skb_hash'
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 21:36:33 +0000 (16:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 21:36:33 +0000 (16:36 -0500)
commitf02ead0864b4a776c48dfc5a3c41e4119217a518
tree5d5e556692e3c945517319e812520286905a4af6
parente1297148cf3b68b7e177a9599f644a7a2116362d
parent2718c624d27ae32140006aa9ce739cb695433103
Merge branch 'skb_hash'

Tom Herbert says:

====================
net: Add rxhash utility hash functions

v3:

There's really nothing specific about rxhash that constrains
it to be a value just for these receive path. Drop the 'rx'
part in utility functions, including skb_get_rxhash. In subsequent
patches, we can change the rxhash and l4_rxhash names also, as
well as abstracting out the interface to the hash.

Added comments about hash types per feedback.

In this version I'm omitting the changes to drivers to make the
patch set manageable. Will add those changes in followup pathes.

-----
This patch series introduce skb_set_rxhash and skb_clear_rxhash
which are called to set the rxhash (from network drivers) and
to clear the rxhash. This API should be used instead of updating
fields in the skbuff directly.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>