]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Support more than 64 VFs
authorMatan Barak <matanb@mellanox.com>
Thu, 13 Nov 2014 12:45:33 +0000 (14:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2014 20:16:22 +0000 (15:16 -0500)
commit4590fb17fa7ee8bd44964bd1b672bafd0c59dcea
tree6a4651e46bf83c8b6c2404ca1e0890c23511b81b
parent967a00d4e0f2a95edb0c22f567de673da0ad829f
net/mlx4_core: Support more than 64 VFs

We now allow up to 126 VFs. Note though that certain firmware
versions only allow up to 80 VFs. Moreover, old HCAs only support 64 VFs.
In these cases, we limit the maximum number of VFs to 64.

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/fw.c
drivers/net/ethernet/mellanox/mlx4/main.c
include/linux/mlx4/device.h