diff options
author | Matan Barak <matanb@mellanox.com> | 2014-09-11 14:18:37 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-09-22 19:47:47 +0400 |
commit | 4ff0acca7344c93fd9ed778b4c3ce16d95c594e4 (patch) | |
tree | 10db33af6a400a7863ee1868058ed05d55823cd8 /lib | |
parent | 50e2ec9105fe1045298924a6c7b9ce870a0b6c13 (diff) | |
download | linux-4ff0acca7344c93fd9ed778b4c3ce16d95c594e4.tar.xz |
mlx4: Correct error flows in rereg_mr
This patch addresses feedback from Sagi Grimberg on the rereg_mr
implementation of mlx4. The following are fixed:
1. Set the correct pd_flags
2. Make sure we change the iova and size MR fields only after
successful write and allocation of the MTTs.
3. Make the error checking more robust
Fixes: e630664c8383 ("mlx4_core: Add helper functions to support MR re-registration")
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions