summaryrefslogtreecommitdiff
path: root/include/uapi/asm-generic
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2012-10-31 23:46:02 +0400
committerDavid S. Miller <davem@davemloft.net>2012-11-01 19:14:09 +0400
commit96442e42429e5f268ab97a3586c7694a3acc55a7 (patch)
treebe875826c9239f2586f81c602077c7fe94bd131a /include/uapi/asm-generic
parentcde8b15f1aabe327038ee4e0e11dd6b798572f69 (diff)
downloadlinux-96442e42429e5f268ab97a3586c7694a3acc55a7.tar.xz
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>
Diffstat (limited to 'include/uapi/asm-generic')
0 files changed, 0 insertions, 0 deletions