Skip to content
Snippets Groups Projects
Commit 8c52d509 authored by Changli Gao's avatar Changli Gao Committed by David S. Miller
Browse files

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: default avatarChangli Gao <xiaosuo@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bf73130d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment