diff options
author | Majd Dibbiny <[email protected]> | 2015-03-18 16:51:37 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-03-18 15:17:11 -0400 |
commit | 61a3855bb726cbb062ef02a31a832dea455456e0 (patch) | |
tree | 749eefd3da184aeaae5265de0080e133ce5a24ea /scripts/gdb/linux/tasks.py | |
parent | a16f3565703cfc3094938fb3c979cbb90f6d9eb4 (diff) |
IB/mlx4: Saturate RoCE port PMA counters in case of overflow
For RoCE ports, we set the u32 PMA values based on u64 HCA counters. In case of
overflow, according to the IB spec, we have to saturate a counter to its
max value, do that.
Fixes: c37791349cc7 ('IB/mlx4: Support PMA counters for IBoE')
Signed-off-by: Majd Dibbiny <[email protected]>
Signed-off-by: Eran Ben Elisha <[email protected]>
Signed-off-by: Hadar Hen Zion <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions