From: Moni Shoua Date: Tue, 3 Feb 2015 14:48:39 +0000 (+0200) Subject: IB/mlx4: Load balance ports in port aggregation mode X-Git-Tag: fixes-v4.0-rc1~150^2~67^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6215745b66a7fbeeda1a826f94dd864a2ccf654;p=pandora-kernel.git IB/mlx4: Load balance ports in port aggregation mode When the mlx4 IB (RoCE) device works in link aggregation mode, it exposes a single port to upper layers. Therefore, applications always set '1' in port_num attribute when modifying a QP or creating an address handle. To make sure that a node uses all available ports the mlx4 driver will override the port_num attribute with a round robin policy. Signed-off-by: Moni Shoua Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed