IB/mlx5: LAG QP load balancing
authorAviv Heller <avivh@mellanox.com>
Sun, 18 Sep 2016 17:48:04 +0000 (20:48 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:22 +0000 (16:54 -0400)
commit13eab21f92de21f324fd6afe1aeca310446b8731
tree93dca46e35e8524cb8de33b662f51e316f9de79f
parent4babcf97c551dc57a9b7149ef1f72511b5e97332
IB/mlx5: LAG QP load balancing

When LAG is active, QP tx affinity (the physical port
to which a QP is affined, or the TIS in case of raw-eth)
is set in a round robin fashion during state transition
from RESET to INIT.

Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c