IB/mlx4: Add port aggregation support
authorMoni Shoua <monis@mellanox.com>
Tue, 3 Feb 2015 14:48:37 +0000 (16:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 00:14:25 +0000 (16:14 -0800)
commita575009030931cd8a35c88ec81eb26b9e9f73539
tree788a8394f35b844b65597d8a7f27aff68702bafb
parent2f48485d1cea5b6c1ce04969ab0228aa7b4659e5
IB/mlx4: Add port aggregation support

Register the interface with the mlx4 core driver with port aggregation support
and check for port aggregation mode when the 'add' function is called.

In this mode, only one physical port is reported to the upper layer
(RoCE/IB core stack and ULPs).

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx4/main.c