Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vdpa/virtio_pci/
Dvp_vdpa.c47 struct vdpa_mgmt_dev mgtdev; member
474 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() local
584 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 …]
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c3294 struct vdpa_mgmt_dev mgtdev; member
3352 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_add() local
3363 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() local
3546 mgtdev->ndev = NULL; in mlx5_vdpa_dev_del()
3565 struct mlx5_vdpa_mgmtdev *mgtdev; in mlx5v_probe() local
[all …]