aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/fib_rules.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-04-24 22:50:10 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-24 22:50:10 -0700
commit8c52d509e84bbf26cffb8b6e75b399689af67885 (patch)
treed26461f82d204e044f68a8f85b4b4ea71682b09d /net/core/fib_rules.c
parentsky2: add support for receive hashing (diff)
downloadlinux-dev-8c52d509e84bbf26cffb8b6e75b399689af67885.tar.xz
linux-dev-8c52d509e84bbf26cffb8b6e75b399689af67885.zip
rps: optimize rps_get_cpu()
optimize rps_get_cpu(). don't initialize ports when we can get the ports. one memory access for ports than two. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/fib_rules.c')
0 files changed, 0 insertions, 0 deletions