Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/mellanox/mlx4/main.c net/packet/af_packet.c Both conflicts were cases of simple overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -479,6 +479,14 @@ static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap)
|
||||
}
|
||||
}
|
||||
|
||||
if (mlx4_is_master(dev) && (dev->caps.num_ports == 2) &&
|
||||
(port_type_array[0] == MLX4_PORT_TYPE_IB) &&
|
||||
(port_type_array[1] == MLX4_PORT_TYPE_ETH)) {
|
||||
mlx4_warn(dev,
|
||||
"Granular QoS per VF not supported with IB/Eth configuration\n");
|
||||
dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_QOS_VPP;
|
||||
}
|
||||
|
||||
dev->caps.max_counters = dev_cap->max_counters;
|
||||
|
||||
dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW] = dev_cap->reserved_qps;
|
||||
|
Reference in New Issue
Block a user