Files
linux/drivers/infiniband/hw
Majd Dibbiny 02d51afc23 IB/mlx4: Saturate RoCE port PMA counters in case of overflow
[ Upstream commit 61a3855bb7 ]

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: c37791349c ('IB/mlx4: Support PMA counters for IBoE')
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-04-24 17:14:11 -04:00
..
2014-08-08 15:57:28 -07:00
2015-03-23 21:02:44 -04:00