mirror_ubuntu-kernels/drivers/infiniband/hw
Mike Marciniszyn d6f1c17e16 IB/qib: Change lkey table allocation to support more MRs
The lkey table is allocated with with a get_user_pages() with an
order based on a number of index bits from a module parameter.

The underlying kernel code cannot allocate that many contiguous pages.

There is no reason the underlying memory needs to be physically
contiguous.

This patch:
- switches the allocation/deallocation to vmalloc/vfree
- caps the number of bits to 23 to insure at least 1 generation bit
  o this matches the module parameter description

Cc: stable@vger.kernel.org
Reviewed-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-08-28 22:54:46 -04:00
..
amso1100 IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
cxgb3 RDMA/cxgb3: fail get_dma_mr on 64 bit arches 2015-07-24 11:34:17 -04:00
cxgb4 iw_cxgb4: gracefully handle unknown CQE status errors 2015-07-28 11:24:51 -04:00
ehca IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
ipath x86/mm/pat, drivers/infiniband/ipath: Replace WARN() with pr_warn() 2015-07-21 09:42:54 +02:00
mlx4 IB/mlx4: Optimize do_slave_init 2015-07-14 13:20:15 -04:00
mlx5 mlx5: Expose correct page_size_cap in device attributes 2015-08-28 22:54:46 -04:00
mthca IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
nes RDMA/nes: Fix for incorrect recording of the MAC address 2015-07-14 13:20:11 -04:00
ocrdma RDMA/ocrdma: update ocrdma module license string 2015-07-24 11:34:41 -04:00
qib IB/qib: Change lkey table allocation to support more MRs 2015-08-28 22:54:46 -04:00
usnic IB/core: Pass hardware specific data in query_device 2015-06-12 14:49:10 -04:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00