linux/drivers/infiniband/hw/mlx4
Eran Ben Elisha 1f22e454df IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
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: c1c9850112 ('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>
2016-12-13 13:29:46 -05:00
..
ah.c IB/mlx4: Set traffic class in AH 2016-11-16 20:04:48 -05:00
alias_GUID.c IB/mlx4/alias_GUID: Remove deprecated create_singlethread_workqueue 2016-10-07 16:54:33 -04:00
cm.c IB/mlx4: In mlx4_ib_demux_cm, print out GUID in host-endian order 2015-02-17 22:11:40 -08:00
cq.c Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig net: mellanox: add DEVLINK dependencies 2016-03-03 17:08:59 -05:00
mad.c IB/mlx4: Handle well-known-gid in mad_demux processing 2016-11-16 20:04:48 -05:00
main.c IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs 2016-12-13 13:29:46 -05:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
mcg.c Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
mlx4_ib.h Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
mr.c IB/mlx4: Prevent cross page boundary allocation 2016-06-23 10:08:25 -04:00
qp.c Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
srq.c IB/mlx4: Move user vendor structures 2016-10-07 16:54:36 -04:00
sysfs.c IB/mlx4: Forbid using sysfs to change RoCE pkeys 2015-08-30 18:12:22 -04:00