]> 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)
commit8356bc1ebabb1eabe3ac4878a8e974cde4aa9f40
tree6a4651e46bf83c8b6c2404ca1e0890c23511b81b
parent2c2c54eda99507b1cec825e8cf7f5d0041a0c990
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