net/mlx4: Add data structures to support N-Ports per VF
authorMatan Barak <matanb@mellanox.com>
Wed, 19 Mar 2014 16:11:50 +0000 (18:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2014 20:18:29 +0000 (16:18 -0400)
commit1ab95d37bcc3ff2d69e3871e4f056bab7aed0b85
treed803af5ced129cbb6595ec3e1438f0663a04048f
parent82373701be26b893eaf7372db0af84235a51998a
net/mlx4: Add data structures to support N-Ports per VF

Adds the required data structures to support VFs with N (1 or 2)
ports instead of always using the number of physical ports.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c
include/linux/mlx4/device.h