Home
last modified time | relevance | path

Searched defs:mvdev (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/vdpa/mlx5/core/
H A Dresources.c51 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()
95 int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn) in mlx5_vdpa_create_tis()
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()
165 void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn) in mlx5_vdpa_destroy_tir()
220 int mlx5_vdpa_destroy_mkey(struct mlx5_vdpa_dev *mvdev, u32 mkey) in mlx5_vdpa_destroy_mkey()
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.c357 static int create_user_mr(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb) in create_user_mr()
420 static int create_dma_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in create_dma_mr()
448 static void destroy_dma_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in destroy_dma_mr()
453 static int dup_iotlb(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *src) in dup_iotlb()
474 static void prune_iotlb(struct mlx5_vdpa_dev *mvdev) in prune_iotlb()
518 void mlx5_vdpa_destroy_mr_asid(struct mlx5_vdpa_dev *mvdev, unsigned int asid) in mlx5_vdpa_destroy_mr_asid()
530 void mlx5_vdpa_destroy_mr(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_destroy_mr()
536 static int _mlx5_vdpa_create_cvq_mr(struct mlx5_vdpa_dev *mvdev, in _mlx5_vdpa_create_cvq_mr()
546 static int _mlx5_vdpa_create_dvq_mr(struct mlx5_vdpa_dev *mvdev, in _mlx5_vdpa_create_dvq_mr()
572 static int _mlx5_vdpa_create_mr(struct mlx5_vdpa_dev *mvdev, in _mlx5_vdpa_create_mr()
[all …]
H A Dmlx5_vdpa.h71 struct mlx5_vdpa_dev *mvdev; member
/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dmain.c392 struct mlx5vf_pci_core_device *mvdev = migf->mvdev; in mlx5vf_precopy_ioctl() local
1010 void mlx5vf_disable_fds(struct mlx5vf_pci_core_device *mvdev) in mlx5vf_disable_fds()
1163 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_pci_set_device_state() local
1194 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_pci_get_data_size() local
1211 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_pci_get_device_state() local
1222 struct mlx5vf_pci_core_device *mvdev = mlx5vf_drvdata(pdev); in mlx5vf_pci_aer_reset_done() local
1246 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_pci_open_device() local
1263 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_pci_close_device() local
1284 struct mlx5vf_pci_core_device *mvdev = container_of(core_vdev, in mlx5vf_pci_init_dev() local
1329 struct mlx5vf_pci_core_device *mvdev; in mlx5vf_pci_probe() local
[all …]
H A Dcmd.c145 static void set_tracker_error(struct mlx5vf_pci_core_device *mvdev) in set_tracker_error()
155 struct mlx5vf_pci_core_device *mvdev = in mlx5fv_vf_event() local
177 void mlx5vf_cmd_close_migratable(struct mlx5vf_pci_core_device *mvdev) in mlx5vf_cmd_close_migratable()
200 void mlx5vf_cmd_set_migratable(struct mlx5vf_pci_core_device *mvdev, in mlx5vf_cmd_set_migratable()
347 struct mlx5vf_pci_core_device *mvdev = buf->migf->mvdev; in mlx5vf_dma_data_buffer() local
736 struct mlx5vf_pci_core_device *mvdev, in mlx5vf_create_tracker()
909 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_event_notifier() local
939 struct mlx5vf_pci_core_device *mvdev = in mlx5vf_cq_complete() local
1346 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_stop_page_tracker() local
1364 struct mlx5vf_pci_core_device *mvdev = container_of( in mlx5vf_start_page_tracker() local
[all …]
H A Dcmd.h16 #define MLX5VF_PRE_COPY_SUPP(mvdev) \ argument
102 struct mlx5vf_pci_core_device *mvdev; member
/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c263 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis() local
2016 struct mlx5_vdpa_dev *mvdev; in mlx5_cvq_kick_handler() local
2085 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_kick_vq() local
2110 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_address() local
2133 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_num() local
2153 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_cb() local
2184 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_ready() local
2217 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_ready() local
2471 struct mlx5_vdpa_dev *mvdev; in update_carrier() local
3360 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_dev_add() local
[all …]
H A Dmlx5_vnet.h44 struct mlx5_vdpa_dev mvdev; member