aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorJack Wang <[email protected]>2022-08-18 12:53:55 +0200
committerLeon Romanovsky <[email protected]>2022-08-21 12:25:13 +0300
commit56c310de0b4b3aca1c4fdd9c1093fc48372a7335 (patch)
tree0b1300ff630ce80a9212f3b7e32156e358be2f4b /include/linux/fpga/fpga-bridge.h
parentb66905e04dc714825aa6cffb950e281b46bbeafe (diff)
RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL
ib_dma_map_sg() augments the SGL into a 'dma mapped SGL'. This process may change the number of entries and the lengths of each entry. Code that touches dma_address is iterating over the 'dma mapped SGL' and must use dma_nents which returned from ib_dma_map_sg(). We should use the return count from ib_dma_map_sg for futher usage. Fixes: 9cb837480424e ("RDMA/rtrs: server: main functionality") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jack Wang <[email protected]> Reviewed-by: Aleksei Marov <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions