From: Jason Wang Date: Wed, 31 Oct 2012 19:46:02 +0000 (+0000) Subject: tuntap: choose the txq based on rxq X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~519 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96442e42429e5f268ab97a3586c7694a3acc55a7;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed