Jason Wang 96442e4242 tuntap: choose the txq based on rxq
This patch implements a simple multiqueue flow steering policy - tx follows rx
for tun/tap. The idea is simple, it just choose the txq based on which rxq it
comes. The flow were identified through the rxhash of a skb, and the hash to
queue mapping were recorded in a hlist with an ageing timer to retire the
mapping. The mapping were created when tun receives packet from userspace, and
was quired in .ndo_select_queue().

I run co-current TCP_CRR test and didn't see any mapping manipulation helpers in
perf top, so the overhead could be negelected.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-01 11:14:09 -04:00
..
2012-10-02 17:26:42 -07:00
2012-10-07 20:55:16 +09:00
2012-10-16 16:40:53 +10:00
2012-10-11 00:45:21 -07:00
2012-09-26 22:28:21 -04:00
2012-09-22 10:29:19 +01:00
2012-10-08 06:33:44 +09:00
2012-09-24 10:07:40 -07:00
2012-10-26 03:46:41 -04:00
2012-10-13 13:22:01 -07:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-11-01 11:14:09 -04:00
2012-10-03 09:44:08 -07:00
2012-10-09 16:11:46 +09:00
2012-10-01 19:11:38 -07:00
2012-10-10 20:15:24 +09:00
2012-10-13 10:57:01 +09:00
2012-10-12 10:21:02 +09:00
2012-10-01 12:09:59 -07:00
2012-10-12 22:20:28 +09:00
2012-10-01 18:46:13 -07:00
2012-10-16 18:07:12 -07:00