summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2016-11-10 11:31:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-26 08:24:35 +0100
commit661600ff77f142b26338eb795e5694a17a6df699 (patch)
tree2e544ed04e2556cb5631677b3876207bd03f1529 /tools/perf/util/trace-event-scripting.c
parent8f95735412ad8d9327cb890ac11a89a4b911c41b (diff)
IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
commit 1f22e454df2eb99ba6b7ace3f594f6805cdf5cbc upstream. According to the firmware spec, FLOW_STEERING_IB_UC_QP_RANGE command is supported only if dmfs_ipoib bit is set. If it isn't set we want to ensure allocating NET_IF QPs fail. We do so by filling out the allocation bitmap. By thus, the NET_IF QPs allocating function won't find any free QP and will fail. Fixes: c1c98501121e ('IB/mlx4: Add support for steerable IB UD QPs') Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions