aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFeras Daoud <[email protected]>2016-12-28 14:47:21 +0200
committerDoug Ledford <[email protected]>2017-01-12 14:01:02 -0500
commit80b5b35aba62232521b31440f0a3cf6caa033849 (patch)
tree2e799f737c7512572ec11f3c622299f0f985db1a /tools/perf/util/trace-event-scripting.c
parent29da686dff757968fbf5a9bb5246070ddf602664 (diff)
IB/ipoib: Set device connection mode only when needed
When changing the connection mode, the ipoib_set_mode function did not check if the previous connection mode equals to the new one. This commit adds the required check and return 0 if the new mode equals to the previous one. Fixes: 839fcaba355a ("IPoIB: Connected mode experimental support") Signed-off-by: Feras Daoud <[email protected]> Signed-off-by: Erez Shitrit <[email protected]> Reviewed-by: Alex Vesker <[email protected]> Reviewed-by: Yuval Shaia <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions