]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Use flow counters on IBoE ports
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 15 Jun 2011 14:49:57 +0000 (14:49 +0000)
committerRoland Dreier <roland@purestorage.com>
Tue, 19 Jul 2011 04:04:36 +0000 (21:04 -0700)
commit62a00b1049e30c2b011c8fb660da730743c598a5
tree1d6bc41c59035f791bd27f8d34fb95eb667a691f
parent28f2063b9df82a2e83b30569aa3db85f7948ace3
IB/mlx4: Use flow counters on IBoE ports

Allocate flow counter per Ethernet/IBoE port, and attach this counter
to all the QPs created on that port.  Based on 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/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/qp.c
include/linux/mlx4/qp.h