linux-hardened/drivers/infiniband/hw
Hariprasad S 4a75a86c8d iw_cxgb4: enforce qp/cq id requirements
Currently the iw_cxgb4 implementation requires the qp and cq qid densities
to match as well as the qp and cq id ranges.  So fail a device open if
the device configuration doesn't meet the requirements.

The reason for these restictions has to do with the fact that IQ qid X
has a UGTS register in the same bar2 page as EQ qid X.  Thus both qids
need to be allocated to the same user process for security reasons.
The logic that does this (the qpid allocator in iw_cxgb4/resource.c)
handles this but requires the above restrictions.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-05-05 09:18:01 -04:00
..
amso1100 IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
cxgb3 RDMA/cxgb3: Remove a couple unneeded conditions 2014-05-28 10:04:00 -07:00
cxgb4 iw_cxgb4: enforce qp/cq id requirements 2015-05-05 09:18:01 -04:00
ehca IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
ipath VFS: assorted weird filesystems: d_inode() annotations 2015-04-15 15:06:58 -04:00
mlx4 Merge branches 'cve-fixup', 'ipoib', 'iser', 'misc-4.1', 'or-mlx4' and 'srp' into for-4.1 2015-04-15 16:24:49 -04:00
mlx5 net/mlx5_core: Extend struct mlx5_interface to support multiple protocols 2015-04-02 16:33:43 -04:00
mthca IB/mad: add new ioctl to ABI to support new registration options 2014-08-10 20:36:00 -07:00
nes net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
ocrdma RDMA/ocrdma: Fix off by one in ocrdma_query_gid() 2015-02-18 08:31:06 -08:00
qib VFS: assorted weird filesystems: d_inode() annotations 2015-04-15 15:06:58 -04:00
usnic IOMMU Updates for Linux v3.18 2014-10-15 07:23:49 +02:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00