Home
last modified time | relevance | path

Searched refs:mgtdev (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/vdpa/virtio_pci/
Dvp_vdpa.c45 struct vdpa_mgmt_dev mgtdev; member
472 container_of(v_mdev, struct vp_vdpa_mgmtdev, mgtdev); in vp_vdpa_dev_add()
523 vp_vdpa->vdpa.mdev = &vp_vdpa_mgtdev->mgtdev; in vp_vdpa_dev_add()
541 container_of(v_mdev, struct vp_vdpa_mgmtdev, mgtdev); in vp_vdpa_dev_del()
557 struct vdpa_mgmt_dev *mgtdev; in vp_vdpa_probe() local
567 mgtdev = &vp_vdpa_mgtdev->mgtdev; in vp_vdpa_probe()
568 mgtdev->ops = &vp_vdpa_mdev_ops; in vp_vdpa_probe()
569 mgtdev->device = dev; in vp_vdpa_probe()
599 mgtdev->id_table = mdev_id; in vp_vdpa_probe()
600 mgtdev->max_supported_vqs = vp_modern_get_num_queues(mdev); in vp_vdpa_probe()
[all …]
/linux-5.19.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c2841 struct vdpa_mgmt_dev mgtdev; member
2947 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_add() local
2957 if (mgtdev->ndev) in mlx5_vdpa_dev_add()
2960 mdev = mgtdev->madev->mdev; in mlx5_vdpa_dev_add()
2989 ndev->mvdev.mlx_features = mgtdev->mgtdev.supported_features; in mlx5_vdpa_dev_add()
3065 mvdev->vdev.mdev = &mgtdev->mgtdev; in mlx5_vdpa_dev_add()
3070 mgtdev->ndev = ndev; in mlx5_vdpa_dev_add()
3091 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_del() local
3101 mgtdev->ndev = NULL; in mlx5_vdpa_dev_del()
3120 struct mlx5_vdpa_mgmtdev *mgtdev; in mlx5v_probe() local
[all …]