Home
last modified time | relevance | path

Searched refs:mlx5_vdpa_dev (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/vdpa/mlx5/core/
H A Dmlx5_vdpa.h71 struct mlx5_vdpa_dev *mvdev;
84 struct mlx5_vdpa_dev { struct
103 int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn); argument
104 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn);
107 void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn);
109 void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn);
112 int mlx5_vdpa_alloc_resources(struct mlx5_vdpa_dev *mvdev);
113 void mlx5_vdpa_free_resources(struct mlx5_vdpa_dev *mvdev);
114 int mlx5_vdpa_create_mkey(struct mlx5_vdpa_dev *mvdev, u32 *mkey, u32 *in,
116 int mlx5_vdpa_destroy_mkey(struct mlx5_vdpa_dev *mvdev, u32 mkey);
[all …]
H A Dresources.c8 static int alloc_pd(struct mlx5_vdpa_dev *dev, u32 *pdn, u16 uid) in alloc_pd()
26 static int dealloc_pd(struct mlx5_vdpa_dev *dev, u32 pdn, u16 uid) in dealloc_pd()
37 static int get_null_mkey(struct mlx5_vdpa_dev *dev, u32 *null_mkey) in get_null_mkey()
51 static int create_uctx(struct mlx5_vdpa_dev *mvdev, u16 *uid) in create_uctx()
81 static void destroy_uctx(struct mlx5_vdpa_dev *mvdev, u32 uid) in destroy_uctx()
109 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn) in mlx5_vdpa_destroy_tis()
142 void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn) in mlx5_vdpa_destroy_rqt()
230 static int init_ctrl_vq(struct mlx5_vdpa_dev *mvdev) in init_ctrl_vq()
242 static void cleanup_ctrl_vq(struct mlx5_vdpa_dev *mvdev) in cleanup_ctrl_vq()
247 int mlx5_vdpa_alloc_resources(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_alloc_resources()
[all …]
H A Dmr.c359 static int create_user_mr(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb) in create_user_mr()
422 static int create_dma_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in create_dma_mr()
450 static void destroy_dma_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in destroy_dma_mr()
455 static int dup_iotlb(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *src) in dup_iotlb()
476 static void prune_iotlb(struct mlx5_vdpa_dev *mvdev) in prune_iotlb()
520 void mlx5_vdpa_destroy_mr_asid(struct mlx5_vdpa_dev *mvdev, unsigned int asid) in mlx5_vdpa_destroy_mr_asid()
532 void mlx5_vdpa_destroy_mr(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_destroy_mr()
538 static int _mlx5_vdpa_create_cvq_mr(struct mlx5_vdpa_dev *mvdev, in _mlx5_vdpa_create_cvq_mr()
548 static int _mlx5_vdpa_create_dvq_mr(struct mlx5_vdpa_dev *mvdev, in _mlx5_vdpa_create_dvq_mr()
574 static int _mlx5_vdpa_create_mr(struct mlx5_vdpa_dev *mvdev, in _mlx5_vdpa_create_mr()
[all …]
/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c263 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis()
2016 struct mlx5_vdpa_dev *mvdev; in mlx5_cvq_kick_handler()
2085 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_kick_vq()
2110 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_address()
2133 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_num()
2153 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_cb()
2184 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_ready()
2217 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_ready()
2471 struct mlx5_vdpa_dev *mvdev; in update_carrier()
3360 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_dev_add()
[all …]
H A Dmlx5_vnet.h11 #define to_mvdev(__vdev) container_of((__vdev), struct mlx5_vdpa_dev, vdev)
44 struct mlx5_vdpa_dev mvdev;