commit | 11282b32a4ed7bb5fc390c83a1d6b9bc8017882c | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Fri Feb 16 13:57:33 2007 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Feb 16 13:57:33 2007 -0800 |
tree | 241e453062f9acae34fc00625097491c3e5f83e5 | |
parent | fc89afce349a70f73d9c0b6d91a15c4913f071a0 [diff] |
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: Roland Dreier <rolandd@cisco.com>