summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/syscall-counts-record
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2012-06-04 20:47:03 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-07 04:45:31 +0400
commit752f5216f1eaabb0cfa84eaecd0ce17d79c7d2cf (patch)
tree3c580a585976bac22f248f2f74a7c3c34b6f4536 /tools/perf/scripts/python/bin/syscall-counts-record
parentcf1a4cf8754afb248e498815c7957aeb4faca79f (diff)
downloadlinux-752f5216f1eaabb0cfa84eaecd0ce17d79c7d2cf.tar.xz
powerpc/pseries: Round up MSI-X requests
The pseries firmware currently refuses any non power of two MSI-X request. Unfortunately most network drivers end up asking for that because they want a power of two for RX queues and one or two extra for everything else. This patch rounds up the firmware request to the next power of two if the quota allows it. If this fails we fall back to using the original request size. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions