Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 11282b32 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Fix allocation of ICM chunks in coherent memory



The change to allow allocating ICM chunks from coherent memory did not
increment the count of sg entries properly, so a chunk that required
more than allocation would not be mapped properly by the HCA.

Fix this by adding the missing increment of chunk->nsg.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent fc89afce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment