IB/mlx4: Support PMA counters for IBoE
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 15 Jun 2011 14:51:27 +0000 (14:51 +0000)
committerRoland Dreier <roland@purestorage.com>
Tue, 19 Jul 2011 04:04:36 +0000 (21:04 -0700)
commitc37791349cc79d025df6e9a4f896a7b0a97cdbd3
tree29881a77ca9c401c166d3e3a17d959031fc07e20
parentcfcde11c3d7ae175f49280bb6f913478c2f1bd8c
IB/mlx4: Support PMA counters for IBoE

Use the per port counter attached to all QPs created on that port to
implement port level packets/bytes performance counters a la IB.
Derived from a patch by Eli Cohen <eli@mellanox.co.il>

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/mad.c