Searched refs:mgtdev (Results 1 – 2 of 2) sorted by relevance
47 struct vdpa_mgmt_dev mgtdev; member474 container_of(v_mdev, struct vp_vdpa_mgmtdev, mgtdev); in vp_vdpa_dev_add()540 vp_vdpa->vdpa.mdev = &vp_vdpa_mgtdev->mgtdev; in vp_vdpa_dev_add()558 container_of(v_mdev, struct vp_vdpa_mgmtdev, mgtdev); in vp_vdpa_dev_del()574 struct vdpa_mgmt_dev *mgtdev; in vp_vdpa_probe() local584 mgtdev = &vp_vdpa_mgtdev->mgtdev; in vp_vdpa_probe()585 mgtdev->ops = &vp_vdpa_mdev_ops; in vp_vdpa_probe()586 mgtdev->device = dev; in vp_vdpa_probe()616 mgtdev->id_table = mdev_id; in vp_vdpa_probe()617 mgtdev->max_supported_vqs = vp_modern_get_num_queues(mdev); in vp_vdpa_probe()[all …]
3294 struct vdpa_mgmt_dev mgtdev; member3352 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_add() local3363 if (mgtdev->ndev) in mlx5_vdpa_dev_add()3366 mdev = mgtdev->madev->mdev; in mlx5_vdpa_dev_add()3367 device_features = mgtdev->mgtdev.supported_features; in mlx5_vdpa_dev_add()3510 mvdev->vdev.mdev = &mgtdev->mgtdev; in mlx5_vdpa_dev_add()3515 mgtdev->ndev = ndev; in mlx5_vdpa_dev_add()3536 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_del() local3546 mgtdev->ndev = NULL; in mlx5_vdpa_dev_del()3565 struct mlx5_vdpa_mgmtdev *mgtdev; in mlx5v_probe() local[all …]