]> git.karo-electronics.de Git - linux-beck.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)
commitde966c5928026b100a989c8cef761d306310a184
tree6a4651e46bf83c8b6c2404ca1e0890c23511b81b
parent7ae0e400cd9396c41fe596d35dcc34feaa89a04f
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