diff options
author | Ido Shamay <idos@mellanox.com> | 2015-04-02 16:31:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-02 16:25:02 -0400 |
commit | d019fcb2244519d453694bfce868f3e717bfcebb (patch) | |
tree | deb1ed8e3802f1ae14aa537f63a3c308aa4fa899 /include/linux/mlx4 | |
parent | 1c29146d3821be984030b49cf9509a269edc3b8b (diff) | |
download | linux-d019fcb2244519d453694bfce868f3e717bfcebb.tar.gz linux-d019fcb2244519d453694bfce868f3e717bfcebb.tar.bz2 linux-d019fcb2244519d453694bfce868f3e717bfcebb.zip |
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>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index b676d0c0111a..c37208f7869f 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h @@ -205,7 +205,8 @@ enum { MLX4_DEV_CAP_FLAG2_PORT_REMAP = 1LL << 21, MLX4_DEV_CAP_FLAG2_QCN = 1LL << 22, MLX4_DEV_CAP_FLAG2_QP_RATE_LIMIT = 1LL << 23, - MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN = 1LL << 24 + MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN = 1LL << 24, + MLX4_DEV_CAP_FLAG2_QOS_VPP = 1LL << 25, }; enum { |