RDMA/srpt: Reduce max_recv_sge to 1
authorBart Van Assche <bvanassche@acm.org>
Mon, 25 May 2020 17:22:11 +0000 (10:22 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 29 May 2020 17:49:55 +0000 (14:49 -0300)
commit66ced2eb2ab95f6ebe8033e2e0a2e61f2615377c
tree2d02371c880aad4ffe2daba39127ba4b7ecd43ec
parentd4ee7f3a4445ec1b0b88af216f4032c4d30abf5a
RDMA/srpt: Reduce max_recv_sge to 1

Since srpt_post_recv() always sets num_sge to 1, reduce the max_recv_sge
parameter that is used at queue pair allocation time to 1.

Link: https://lore.kernel.org/r/20200525172212.14413-4-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c