RDMA/irdma: Fix inline for multiple SGE's
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 15 Nov 2022 01:16:59 +0000 (19:16 -0600)
committerLeon Romanovsky <leon@kernel.org>
Thu, 17 Nov 2022 08:41:28 +0000 (10:41 +0200)
commit4f44e519b6a945068755708119cca5b74d01d1f6
tree27f8fd83534cc718962df03e0eed22e2470a7151
parent60da2d11fcbc043304910e4d2ca82f9bab953e63
RDMA/irdma: Fix inline for multiple SGE's

Currently, inline send and inline write assume a single
SGE and only copy data from the first one. Add support
for multiple SGE's.

Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20221115011701.1379-2-shiraz.saleem@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/uk.c
drivers/infiniband/hw/irdma/user.h
drivers/infiniband/hw/irdma/verbs.c