summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/bnxt_re/qplib_sp.c
diff options
context:
space:
mode:
authorSergey Gorenko <sergeygo@mellanox.com>2018-03-05 21:15:56 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-03-07 02:00:51 +0300
commitfbd36818eea88462be4176c9fb73bb7728971ff5 (patch)
treec0466f9042c1c7c7c71832a2aa9250b5b99910fb /drivers/infiniband/hw/bnxt_re/qplib_sp.c
parent41904439479e94dd61ac499312e8d8266b13f81d (diff)
downloadlinux-fbd36818eea88462be4176c9fb73bb7728971ff5.tar.xz
IB/srp: Use the IB_DEVICE_SG_GAPS_REG HCA feature if supported
If a HCA supports the SG_GAPS_REG feature then fewer memory regions are required per command. This patch reduces the number of memory regions that is allocated per SRP session. Signed-off-by: Sergey Gorenko <sergeygo@mellanox.com> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Tested-by: Laurence Oberman <loberman@redhat.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Acked-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/qplib_sp.c')
0 files changed, 0 insertions, 0 deletions