Home
last modified time | relevance | path

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

/linux/drivers/vdpa/mlx5/core/
A Dmlx5_vdpa.h68 struct mlx5_vdpa_dev *mvdev;
71 struct mlx5_vdpa_dev { struct
88 int mlx5_vdpa_alloc_pd(struct mlx5_vdpa_dev *dev, u32 *pdn, u16 uid); argument
89 int mlx5_vdpa_dealloc_pd(struct mlx5_vdpa_dev *dev, u32 pdn, u16 uid);
92 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn);
95 void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn);
97 void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn);
100 int mlx5_vdpa_alloc_resources(struct mlx5_vdpa_dev *mvdev);
101 void mlx5_vdpa_free_resources(struct mlx5_vdpa_dev *mvdev);
104 int mlx5_vdpa_destroy_mkey(struct mlx5_vdpa_dev *mvdev, u32 mkey);
[all …]
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()
241 static void cleanup_ctrl_vq(struct mlx5_vdpa_dev *mvdev) in cleanup_ctrl_vq()
246 int mlx5_vdpa_alloc_resources(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_alloc_resources()
[all …]
A Dmr.c52 static int create_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in create_direct_mr()
182 static int create_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in create_indirect_key()
223 static int map_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr, in map_direct_mr()
359 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()
481 static void destroy_user_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in destroy_user_mr()
494 void mlx5_vdpa_destroy_mr(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_destroy_mr()
[all …]
/linux/drivers/vdpa/mlx5/net/
A Dmlx5_vnet.c148 struct mlx5_vdpa_dev mvdev;
299 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis()
1603 struct mlx5_vdpa_dev *mvdev; in mlx5_cvq_kick_handler()
1658 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_kick_vq()
1690 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_address()
1713 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_num()
1726 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_cb()
1755 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_ready()
2480 struct mlx5_vdpa_dev *mvdev; in update_carrier()
2531 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_dev_add()
[all …]

Completed in 14 milliseconds