]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit071fe61cd4409505914221b691cb274ef46a1962
tree29881a77ca9c401c166d3e3a17d959031fc07e20
parent4b4e95e37c54af044d51ec2073848b6f4d3fe386
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