netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] act_cpu: redirect skb receiving to a special CPU.
@ 2010-06-05 10:56 Changli Gao
  2010-06-05 13:07 ` jamal
  0 siblings, 1 reply; 8+ messages in thread
From: Changli Gao @ 2010-06-05 10:56 UTC (permalink / raw)
  To: Eric Dumazet, David S. Miller, Tom Herbert, Jamal Hadi Salim
  Cc: Linux Netdev List

I am going to implement a CPU action, which can be used with ingress
qdisc to redirect skb receiving to a special cpu. It is much like RPS,
but more flexible:

* choose the hash function with the help of cls_flow.c
* pin special traffic to a dedicate CPU
* weighted packets distributing

act_cpu will use the function enqueue_to_backlog() supplied by RPS to
redirect skb receiving, and have two kind paramter:

* cpu CPUID - the ID of CPU, which handles this traffic
* map OFFSET - map the mirror class ID to CPUID: CPUID = mirror class ID + CPUID

sch_ingress will be enhanced to support class tree.

-- 
Regards,
Changli Gao(xiaosuo@gmail.com)

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

end of thread, other threads:[~2010-06-07  8:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 10:56 [RFC] act_cpu: redirect skb receiving to a special CPU Changli Gao
2010-06-05 13:07 ` jamal
2010-06-05 13:26   ` Changli Gao
2010-06-05 13:54     ` jamal
2010-06-05 14:15       ` Changli Gao
2010-06-05 14:26         ` jamal
2010-06-05 15:00           ` Eric Dumazet
2010-06-07  8:43       ` Andi Kleen

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