mbox series

[for-next,0/3] Use the right sg_cnt after ib_dma_map_sg

Message ID 20220818105355.110344-1-haris.iqbal@ionos.com (mailing list archive)
Headers show
Series Use the right sg_cnt after ib_dma_map_sg | expand

Message

Haris Iqbal Aug. 18, 2022, 10:53 a.m. UTC
Hi Jason, hi Leon,

Please consider to include following changes to the next merge window.

The patchset is organized as follows:
1: Add output for debug purposes
2: Use correct count returned form ib_dma_map_sg for rtrs-clt
3: Use correct count returned form ib_dma_map_sg for rtrs-srv

Jack Wang (3):
  RDMA/rtrs-clt: Output sg index when warning on
  RDMA/rtrs-clt: Use the right sg_cnt after ib_dma_map_sg
  RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL

 drivers/infiniband/ulp/rtrs/rtrs-clt.c |  9 +++++----
 drivers/infiniband/ulp/rtrs/rtrs-srv.c | 14 +++++++-------
 drivers/infiniband/ulp/rtrs/rtrs.c     |  2 +-
 3 files changed, 13 insertions(+), 12 deletions(-)

Comments

Leon Romanovsky Aug. 21, 2022, 9:27 a.m. UTC | #1
On Thu, Aug 18, 2022 at 12:53:52PM +0200, Md Haris Iqbal wrote:
> Hi Jason, hi Leon,
> 
> Please consider to include following changes to the next merge window.
> 
> The patchset is organized as follows:
> 1: Add output for debug purposes
> 2: Use correct count returned form ib_dma_map_sg for rtrs-clt
> 3: Use correct count returned form ib_dma_map_sg for rtrs-srv
> 
> Jack Wang (3):
>   RDMA/rtrs-clt: Output sg index when warning on

Applied to -next.

>   RDMA/rtrs-clt: Use the right sg_cnt after ib_dma_map_sg
>   RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL

Applied to -rc.

> 
>  drivers/infiniband/ulp/rtrs/rtrs-clt.c |  9 +++++----
>  drivers/infiniband/ulp/rtrs/rtrs-srv.c | 14 +++++++-------
>  drivers/infiniband/ulp/rtrs/rtrs.c     |  2 +-
>  3 files changed, 13 insertions(+), 12 deletions(-)
> 
> -- 
> 2.25.1
>