Lines Matching refs:vqs
150 struct mlx5_vdpa_virtqueue vqs[MLX5_MAX_SUPPORTED_VQS]; member
573 struct mlx5_vdpa_virtqueue *mvq = &ndev->vqs[idx]; in cq_create()
650 struct mlx5_vdpa_virtqueue *mvq = &ndev->vqs[idx]; in cq_destroy()
1220 suspend_vq(ndev, &ndev->vqs[i]); in suspend_vqs()
1263 if (!ndev->vqs[j].initialized) in create_rqt()
1266 if (!vq_is_tx(ndev->vqs[j].index)) { in create_rqt()
1267 list[i] = cpu_to_be32(ndev->vqs[j].virtq_id); in create_rqt()
1310 if (!ndev->vqs[j].initialized) in modify_rqt()
1313 if (!vq_is_tx(ndev->vqs[j].index)) { in modify_rqt()
1314 list[i] = cpu_to_be32(ndev->vqs[j].virtq_id); in modify_rqt()
1499 teardown_vq(ndev, &ndev->vqs[i]); in change_num_qps()
1505 err = setup_vq(ndev, &ndev->vqs[i]); in change_num_qps()
1517 teardown_vq(ndev, &ndev->vqs[i]); in change_num_qps()
1651 mvq = &ndev->vqs[idx]; in mlx5_vdpa_kick_vq()
1675 mvq = &ndev->vqs[idx]; in mlx5_vdpa_set_vq_address()
1691 mvq = &ndev->vqs[idx]; in mlx5_vdpa_set_vq_num()
1743 mvq = &ndev->vqs[idx]; in mlx5_vdpa_set_vq_ready()
1761 return ndev->vqs[idx].ready; in mlx5_vdpa_get_vq_ready()
1779 mvq = &ndev->vqs[idx]; in mlx5_vdpa_set_vq_state()
1806 mvq = &ndev->vqs[idx]; in mlx5_vdpa_get_vq_state()
1905 err = setup_vq(ndev, &ndev->vqs[i]); in setup_virtqueues()
1914 teardown_vq(ndev, &ndev->vqs[i]); in setup_virtqueues()
1925 mvq = &ndev->vqs[i]; in teardown_virtqueues()
2031 memset(&ndev->vqs[i].ri, 0, sizeof(ndev->vqs[i].ri)); in save_channels_info()
2032 save_channel_info(ndev, &ndev->vqs[i]); in save_channels_info()
2042 memset(&ndev->vqs[i], 0, offsetof(struct mlx5_vdpa_virtqueue, ri)); in mlx5_clear_vqs()
2054 mvq = &ndev->vqs[i]; in restore_channels_info()
2171 ndev->vqs[i].ready = false; in clear_vqs_ready()
2432 mvq = &ndev->vqs[i]; in init_mvqs()
2439 mvq = &ndev->vqs[i]; in init_mvqs()