summaryrefslogtreecommitdiffstats
path: root/lib/find_next_bit.c
diff options
context:
space:
mode:
authorKrishna Kumar <krkumar2@in.ibm.com>2010-08-04 08:15:52 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-17 06:06:24 +0200
commitbfb564e7391340638afe4ad67744a8f3858e7566 (patch)
tree7f079d9c3f020d52efb555db414476c463584967 /lib/find_next_bit.c
parentbnx2x: Load firmware in open() instead of probe() (diff)
downloadlinux-bfb564e7391340638afe4ad67744a8f3858e7566.tar.xz
linux-bfb564e7391340638afe4ad67744a8f3858e7566.zip
core: Factor out flow calculation from get_rps_cpu
Factor out flow calculation code from get_rps_cpu, since other functions can use the same code. Revisions: v2 (Ben): Separate flow calcuation out and use in select queue. v3 (Arnd): Don't re-implement MIN. v4 (Changli): skb->data points to ethernet header in macvtap, and make a fast path. Tested macvtap with this patch. v5 (Changli): - Cache skb->rxhash in skb_get_rxhash - macvtap may not have pow(2) queues, so change code for queue selection. (Arnd): - Use first available queue if all fails. Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/find_next_bit.c')
0 files changed, 0 insertions, 0 deletions