diff options
author | 2015-02-03 17:57:15 +0200 | |
---|---|---|
committer | 2015-02-04 16:17:45 -0800 | |
commit | b332068ce4261b37d05f438fbc487e357fffa108 (patch) | |
tree | 33f5abc4da61980c6dc1fc299ef67c3878384548 /tools/perf/scripts/python/syscall-counts.py | |
parent | Merge branch 'mlx4-next' (diff) | |
download | linux-dev-b332068ce4261b37d05f438fbc487e357fffa108.tar.xz linux-dev-b332068ce4261b37d05f438fbc487e357fffa108.zip |
net/mlx4_core: Fix mpt_entry initialization in mlx4_mr_rereg_mem_write()
a) Previously, mlx4_mr_rereg_write filled the MPT's start
and length with the old MPT's values.
Fixing the initialization to take the new start and length.
b) In addition access flags in mpt_status were initialized instead of
status due to bad boolean operation. Fixing the operation.
c) Initialization of pd_slave caused a protection error.
Fix - removing this initialization.
d) In resource_tracker.c: Fixing vf encoding to be one-based.
Fixes: e630664c ('mlx4_core: Add helper functions to support MR re-registration')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions