]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87da55de0bf7244b4fe01dc19ea999369b6eaee2
treed803af5ced129cbb6595ec3e1438f0663a04048f
parent203968f2bc83d01792a8837dfe571ee42ede7fb9
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