Searched refs:mgtdev (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/vdpa/virtio_pci/ |
D | vp_vdpa.c | 47 struct vdpa_mgmt_dev mgtdev; member 495 container_of(v_mdev, struct vp_vdpa_mgmtdev, mgtdev); in vp_vdpa_dev_add() 561 vp_vdpa->vdpa.mdev = &vp_vdpa_mgtdev->mgtdev; in vp_vdpa_dev_add() 579 container_of(v_mdev, struct vp_vdpa_mgmtdev, mgtdev); in vp_vdpa_dev_del() 595 struct vdpa_mgmt_dev *mgtdev; in vp_vdpa_probe() local 605 mgtdev = &vp_vdpa_mgtdev->mgtdev; in vp_vdpa_probe() 606 mgtdev->ops = &vp_vdpa_mdev_ops; in vp_vdpa_probe() 607 mgtdev->device = dev; in vp_vdpa_probe() 641 mgtdev->id_table = mdev_id; in vp_vdpa_probe() 642 mgtdev->max_supported_vqs = vp_modern_get_num_queues(mdev); in vp_vdpa_probe() [all …]
|
/linux-6.12.1/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 3762 struct vdpa_mgmt_dev mgtdev; member 3821 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_add() local 3832 if (mgtdev->ndev) in mlx5_vdpa_dev_add() 3835 mdev = mgtdev->madev->mdev; in mlx5_vdpa_dev_add() 3836 device_features = mgtdev->mgtdev.supported_features; in mlx5_vdpa_dev_add() 3879 ndev = vdpa_alloc_device(struct mlx5_vdpa_net, mvdev.vdev, mdev->device, &mgtdev->vdpa_ops, in mlx5_vdpa_dev_add() 3990 mvdev->vdev.mdev = &mgtdev->mgtdev; in mlx5_vdpa_dev_add() 3995 mgtdev->ndev = ndev; in mlx5_vdpa_dev_add() 4020 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_del() local 4035 mgtdev->ndev = NULL; in mlx5_vdpa_dev_del() [all …]
|