linux/drivers/infiniband/hw
Majd Dibbiny 8ab9406a41 IB/mlx4: Bug fixes in mlx4_ib_resize_cq
1. Before the entries alignment, we need to check that the entries
doesn't exceed the device's max cqe.

2. After the alignment, we need to make sure that the aligned number
doesn't exceed the max cqes+1. The additional cqe is used to denote
that the resizing operation has completed.

3. If the users asks to resize the CQ with entries less than the
oustanding cqes we should fail instead of returning 0.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2015-02-17 22:11:40 -08: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 RDMA/cxgb4: Handle NET_XMIT return codes 2014-12-15 18:10:46 -08:00
ehca IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
ipath IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
mlx4 IB/mlx4: Bug fixes in mlx4_ib_resize_cq 2015-02-17 22:11:40 -08:00
mlx5 Revert "IB/core: Add support for extended query device caps" 2015-02-06 00:54:33 -08:00
mthca IB/mad: add new ioctl to ABI to support new registration options 2014-08-10 20:36:00 -07:00
nes IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
ocrdma Merge branches 'core', 'cxgb4', 'ipoib', 'iser', 'mlx4', 'ocrdma', 'odp' and 'srp' into for-next 2014-12-15 18:19:20 -08:00
qib IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08: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