]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit4d50e084c560fa952e235d092cf53c86d8bf4b7b
tree380e97803dc1b9dc23751578a19c532c3e3a6269
parente0e3f39759151fb1b445a0dbc5d6a14f3e1732aa
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