diff options
author | 2014-09-11 13:18:37 +0300 | |
---|---|---|
committer | 2014-09-22 08:47:47 -0700 | |
commit | 4ff0acca7344c93fd9ed778b4c3ce16d95c594e4 (patch) | |
tree | 10db33af6a400a7863ee1868058ed05d55823cd8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/mlx4: Disable TSO for Connect-X rev. A0 HCAs (diff) | |
download | wireguard-linux-4ff0acca7344c93fd9ed778b4c3ce16d95c594e4.tar.xz wireguard-linux-4ff0acca7344c93fd9ed778b4c3ce16d95c594e4.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions