netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] net: Eliminate calls to flow_dissector and introduce flow_keys_digest
@ 2015-04-29  4:27 Tom Herbert
  2015-04-29  4:27 ` [PATCH net-next 1/7] net: Add skb_get_hash_perturb Tom Herbert
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Tom Herbert @ 2015-04-29  4:27 UTC (permalink / raw)
  To: davem, netdev; +Cc: jiri

In this patch set we add skb_get_hash_perturb which gets the skbuff
hash for a packet and perturbs it using a provided key and jhash1.
This function is used in serveral qdiscs and eliminates many calls
to flow_dissector and jhash3 to get a perturbed hash for a packet.

To handle the sch_choke issue (passes flow_keys in skbuff cb) we
add flow_keys_digest which is a digest of a flow constructed
from a flow_keys structure.

This is the second version of these patches I posted a while ago,
and is prerequisite work to increasing the size of the flow_keys
structure and hashing over it (full IPv6 address, flow label, VLAN ID,
etc.).

Tom Herbert (7):
  net: Add skb_get_hash_perturb
  sched: Eliminate use of flow_keys in sch_fq_codel
  sched: Eliminate use of flow_keys in sch_hhf
  sched: Eliminate use of flow_keys in sch_sfb
  sched: Eliminate use of flow_keys in sch_sfq
  net: Add flow_keys digest
  sch_choke: Use flow_keys_digest

 include/linux/skbuff.h   | 15 +++++++++++++++
 include/net/flow_keys.h  | 19 +++++++++++++++++++
 net/sched/sch_choke.c    | 14 ++++----------
 net/sched/sch_fq_codel.c | 11 ++---------
 net/sched/sch_hhf.c      | 19 +------------------
 net/sched/sch_sfb.c      | 24 ++++++++----------------
 net/sched/sch_sfq.c      | 29 +++--------------------------
 7 files changed, 52 insertions(+), 79 deletions(-)

-- 
1.8.1

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

end of thread, other threads:[~2015-04-29 19:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29  4:27 [PATCH net-next 0/7] net: Eliminate calls to flow_dissector and introduce flow_keys_digest Tom Herbert
2015-04-29  4:27 ` [PATCH net-next 1/7] net: Add skb_get_hash_perturb Tom Herbert
2015-04-29  7:59   ` Florian Westphal
2015-04-29 11:19     ` Eric Dumazet
2015-04-29 19:51       ` Tom Herbert
2015-04-29  4:27 ` [PATCH net-next 2/7] sched: Eliminate use of flow_keys in sch_fq_codel Tom Herbert
2015-04-29  4:27 ` [PATCH net-next 3/7] sched: Eliminate use of flow_keys in sch_hhf Tom Herbert
2015-04-29  4:27 ` [PATCH net-next 4/7] sched: Eliminate use of flow_keys in sch_sfb Tom Herbert
2015-04-29  4:27 ` [PATCH net-next 5/7] sched: Eliminate use of flow_keys in sch_sfq Tom Herbert
2015-04-29  4:27 ` [PATCH net-next 6/7] net: Add flow_keys digest Tom Herbert
2015-04-29  5:15   ` Eric Dumazet
2015-04-29  4:27 ` [PATCH net-next 7/7] sch_choke: Use flow_keys_digest Tom Herbert

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