OpenCloudOS-Kernel/drivers/infiniband/hw/mlx4
Wengang Wang 0ef2f05c7e IB/mlx4: Use vmalloc for WR buffers when needed
There are several hits that WR buffer allocation(kmalloc) failed.
It failed at order 3 and/or 4 contigous pages allocation. At the same time
there are actually 100MB+ free memory but well fragmented.
So try vmalloc when kmalloc failed.

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-12-08 16:48:10 -05:00
..
Kconfig IB/mlx4: Add dependency INET 2014-01-19 15:14:05 -08:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
ah.c IB/core: Use GID table in AH creation and dmac resolution 2015-10-21 23:48:17 -04:00
alias_GUID.c net/mlx4_core: Modify port values when generting EQEs for VFs 2015-05-24 23:05:09 -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 IB/mlx4: Remove old FRWR API support 2015-10-28 22:27:19 -04:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
mad.c Merge branch 'wr-cleanup' into k.o/for-4.4 2015-10-28 22:23:34 -04:00
main.c mlx4: Expose correct max_sge_rd limit 2015-12-08 12:42:44 -05:00
mcg.c IB/core: Use GID table in AH creation and dmac resolution 2015-10-21 23:48:17 -04:00
mlx4_ib.h IB/mlx4: Remove old FRWR API support 2015-10-28 22:27:19 -04:00
mr.c IB/mlx4: Remove old FRWR API support 2015-10-28 22:27:19 -04:00
qp.c IB/mlx4: Use vmalloc for WR buffers when needed 2015-12-08 16:48:10 -05:00
srq.c IB/mlx4: Use vmalloc for WR buffers when needed 2015-12-08 16:48:10 -05:00
sysfs.c IB/mlx4: Forbid using sysfs to change RoCE pkeys 2015-08-30 18:12:22 -04:00
user.h mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00