Searched refs:newqps (Results 1 – 1 of 1) sorted by relevance
2219 static int change_num_qps(struct mlx5_vdpa_dev *mvdev, int newqps) in change_num_qps() argument2223 int new_vqs = newqps * 2; in change_num_qps()2275 u16 newqps; in handle_ctrl_mq() local2295 newqps = mlx5vdpa16_to_cpu(mvdev, mq.virtqueue_pairs); in handle_ctrl_mq()2296 if (newqps < VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MIN || in handle_ctrl_mq()2297 newqps > ndev->rqt_size) in handle_ctrl_mq()2300 if (ndev->cur_num_vqs == 2 * newqps) { in handle_ctrl_mq()2305 if (!change_num_qps(mvdev, newqps)) in handle_ctrl_mq()