linux/drivers/infiniband/hw/mlx5
Li Dongyang b588300801 IB/mlx5: use kvmalloc_array for mlx5_ib_wq
We observed multiple times on our Lustre OSS servers that when
the system memory is fragmented, kmalloc() in create_kernel_qp()
could fail order 4/5 allocations while we still have many free pages.

Switch to kvmalloc_array() to allow the operation to contine.

Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-08-22 16:48:23 -04:00
..
ah.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
cmd.c IB/mlx5: Add debug control parameters for congestion control 2017-07-24 10:34:28 -04:00
cmd.h IB/mlx5: Add debug control parameters for congestion control 2017-07-24 10:34:28 -04:00
cong.c IB/mlx5: Add debug control parameters for congestion control 2017-07-24 10:34:28 -04:00
cq.c IB/core: Fix input len in multiple user verbs 2017-08-22 14:02:29 -04:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
gsi.c IB/mlx5: Fix iteration overrun in GSI qps 2016-08-02 14:32:51 -04:00
ib_virt.c IB/mlx5: Restore IB guid/policy for virtual functions 2017-07-24 10:34:28 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c Add OPA extended LID support 2017-08-18 14:47:37 -04:00
main.c IB/core: Fix input len in multiple user verbs 2017-08-22 14:02:29 -04:00
Makefile IB/mlx5: Add debug control parameters for congestion control 2017-07-24 10:34:28 -04:00
mem.c IB/mlx5: Add contiguous ODP support 2017-04-25 15:40:28 -04:00
mlx5_ib.h IB/mlx5: Add support for QP with a given source QPN 2017-07-24 10:40:46 -04:00
mr.c IB/mlx5: Fix cached MR allocation flow 2017-07-24 10:41:01 -04:00
odp.c IB/mlx5: Fix existence check for extended address vector 2017-07-24 10:41:01 -04:00
qp.c IB/mlx5: use kvmalloc_array for mlx5_ib_wq 2017-08-22 16:48:23 -04:00
srq.c IB/mlx5: use kvmalloc_array for mlx5_ib_wq 2017-08-22 16:48:23 -04:00