Commit 0eddb519b9127c73d53db4bf3ec1d45b13f844d1
Exists in
master
and in
4 other branches
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: IB/mlx4: Check correct variable for allocation failure RDMA/nes: Correct cap.max_inline_data assignment in nes_query_qp() RDMA/cm: Set num_paths when manually assigning path records IB/cm: Fix device_create() return value check
Showing 4 changed files Side-by-side Diff
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c
drivers/infiniband/hw/mlx4/mr.c
drivers/infiniband/hw/nes/nes_verbs.c
... | ... | @@ -2821,11 +2821,10 @@ |
2821 | 2821 | attr->cap.max_send_wr = nesqp->hwqp.sq_size; |
2822 | 2822 | attr->cap.max_recv_wr = nesqp->hwqp.rq_size; |
2823 | 2823 | attr->cap.max_recv_sge = 1; |
2824 | - if (nes_drv_opt & NES_DRV_OPT_NO_INLINE_DATA) { | |
2825 | - init_attr->cap.max_inline_data = 0; | |
2826 | - } else { | |
2827 | - init_attr->cap.max_inline_data = 64; | |
2828 | - } | |
2824 | + if (nes_drv_opt & NES_DRV_OPT_NO_INLINE_DATA) | |
2825 | + attr->cap.max_inline_data = 0; | |
2826 | + else | |
2827 | + attr->cap.max_inline_data = 64; | |
2829 | 2828 | |
2830 | 2829 | init_attr->event_handler = nesqp->ibqp.event_handler; |
2831 | 2830 | init_attr->qp_context = nesqp->ibqp.qp_context; |