netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4 v3] net: Add rxhash utility hash functions
@ 2013-12-16  6:11 Tom Herbert
  2013-12-17 21:36 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Herbert @ 2013-12-16  6:11 UTC (permalink / raw)
  To: davem, netdev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/4 v3] net: Add rxhash utility hash functions
  2013-12-16  6:11 [PATCH 0/4 v3] net: Add rxhash utility hash functions Tom Herbert
@ 2013-12-17 21:36 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-12-17 21:36 UTC (permalink / raw)
  To: therbert; +Cc: netdev

From: Tom Herbert <therbert@google.com>
Date: Sun, 15 Dec 2013 22:11:50 -0800 (PST)

> 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.

Looks great, series applied, thanks Tom.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-17 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16  6:11 [PATCH 0/4 v3] net: Add rxhash utility hash functions Tom Herbert
2013-12-17 21:36 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).