]> 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)
commiteabf5c0eb2fb1963ccd3201adc03c7b80a49a9a7
tree5d5e556692e3c945517319e812520286905a4af6
parent7d57b9fa39ee916f8108492fe08f7165f5117815
parent646204f211b9ce3c1c643af3aa146b0e7bd8317a
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>