]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/efa: Use rdma block iterator in chunk list creation
authorGal Pressman <galpress@amazon.com>
Tue, 28 May 2019 12:46:17 +0000 (15:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 29 May 2019 16:20:48 +0000 (13:20 -0300)
commit0b593bfdfedea37d9f17764e87023cb5dc050ffe
tree380e97803dc1b9dc23751578a19c532c3e3a6269
parentb9481d3a3ccdcf3539243265bedb6c1ff3f49221
RDMA/efa: Use rdma block iterator in chunk list creation

When creating the chunks list the rdma_for_each_block() iterator is used
in order to iterate over the payload in EFA_CHUNK_PAYLOAD_SIZE (device
defined) strides.

Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/efa/efa_verbs.c