net/mlx4_core: Mask out host side virtualization features for guests
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 11 Dec 2014 08:57:52 +0000 (10:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Dec 2014 19:47:34 +0000 (14:47 -0500)
commit383677da43fa83b390888cf7d25885166b2a6812
tree43bb00eb3d7c54d9d8e3df7d7a11be9103cf9cf4
parentc58942f25232f8f0c8a6c8b803f31c7532cf2c3b
net/mlx4_core: Mask out host side virtualization features for guests

When VFs (guests in this context) issue the QUERY_DEV_CAP command, they
need not be told that host side virtualization features such as VST, FSM
(MAC anti-spoofing) and running > 80 VFs are supported by the device.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c