diff options
| author | Sergey Gorenko <sergeygo@mellanox.com> | 2018-03-05 20:15:56 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-06 16:00:51 -0700 |
| commit | fbd36818eea88462be4176c9fb73bb7728971ff5 (patch) | |
| tree | c0466f9042c1c7c7c71832a2aa9250b5b99910fb /include | |
| parent | 41904439479e94dd61ac499312e8d8266b13f81d (diff) | |
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 'include')
0 files changed, 0 insertions, 0 deletions
