aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSebastian Sanchez <[email protected]>2015-12-11 08:44:48 -0500
committerGreg Kroah-Hartman <[email protected]>2015-12-21 14:00:17 -0800
commit2ce6bf2292742e0a4e71f08717ce314ce6332151 (patch)
tree38ffdcfaa9b1b344b566f37173402dcc1dafa14c /tools/perf/scripts/python
parent07859def5de0d909334a2e45e5e428f393e8cc9e (diff)
staging/rdma/hfi1: Change num_rcv_contexts to num_user_contexts and its meaning
num_rcv_contexts sets the number of user contexts, both receive and send. Renaming it to num_user_contexts makes sense to reflect its true meaning. When num_rcv_contexts is 0, the default behavior is the number of CPU cores instead of 0 contexts. This commit changes the variable num_rcv_contexts to num_user_contexts, and it also makes any negative value for this variable default to the number of CPU cores, so if num_user_contexts is set >= 0, the value will number of contexts. Reviewed-by: Mike Marciniszyn <[email protected]> Signed-off-by: Sebastian Sanchez <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions