]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1f138ef8a29eabc35d6aec59a1405a5e1f06d97
tree2d02371c880aad4ffe2daba39127ba4b7ecd43ec
parent53d3b4d70bf03f994ad4ec93818456fc09efecb6
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