net/mlx4: Query device for QoS per VF support
authorIdo Shamay <idos@mellanox.com>
Thu, 2 Apr 2015 13:31:13 +0000 (16:31 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 20:25:02 +0000 (16:25 -0400)
commitd019fcb2244519d453694bfce868f3e717bfcebb
treedeb1ed8e3802f1ae14aa537f63a3c308aa4fa899
parent1c29146d3821be984030b49cf9509a269edc3b8b
net/mlx4: Query device for QoS per VF support

Checks in QUERY_DEV_CAP if the granular QoS per VF feature is
supported by the device. Disabled for guests.

Signed-off-by: Ido Shamay <idos@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
include/linux/mlx4/device.h