IB/mlx4: Saturate RoCE port PMA counters in case of overflow
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 <9ad20b9164463c8ab84b5b8af5ac15dbd914601e@mellanox.com>
Signed-off-by: Eran Ben Elisha <e758e9d459928adc5685f935ae8d8ff9fe60a5ba@mellanox.com>
Signed-off-by: Hadar Hen Zion <f123de60578eb6d9cbd4864e6cb3528037b018df@mellanox.com>
Signed-off-by: Or Gerlitz <de1b678a59344538ef9f2ddb34a5f9486544e2f9@mellanox.com>
Signed-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs