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>
This commit is contained in:

committed by
David S. Miller

parent
1c29146d38
commit
d019fcb224
@@ -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 {
|
||||
|
Reference in New Issue
Block a user