Searched refs:mlx5_vdpa_dev (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/vdpa/mlx5/core/ |
| H A D | mlx5_vdpa.h | 72 struct mlx5_vdpa_dev *mvdev; 103 struct mlx5_vdpa_dev { struct 144 int mlx5_vdpa_alloc_resources(struct mlx5_vdpa_dev *mvdev); 145 void mlx5_vdpa_free_resources(struct mlx5_vdpa_dev *mvdev); 153 void mlx5_vdpa_clean_mrs(struct mlx5_vdpa_dev *mvdev); 154 void mlx5_vdpa_get_mr(struct mlx5_vdpa_dev *mvdev, 156 void mlx5_vdpa_put_mr(struct mlx5_vdpa_dev *mvdev, 158 void mlx5_vdpa_update_mr(struct mlx5_vdpa_dev *mvdev, 161 int mlx5_vdpa_update_cvq_iotlb(struct mlx5_vdpa_dev *mvdev, 164 int mlx5_vdpa_create_dma_mr(struct mlx5_vdpa_dev *mvdev); [all …]
|
| H A D | resources.c | 8 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() 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() 306 void mlx5_vdpa_free_resources(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_free_resources() 331 static int issue_async_cmd(struct mlx5_vdpa_dev *mvdev, in issue_async_cmd() [all …]
|
| H A D | mr.c | 63 static void fill_create_direct_mr(struct mlx5_vdpa_dev *mvdev, in fill_create_direct_mr() 90 static void create_direct_mr_end(struct mlx5_vdpa_dev *mvdev, in create_direct_mr_end() 442 static int add_direct_chain(struct mlx5_vdpa_dev *mvdev, in add_direct_chain() 498 static int create_user_mr(struct mlx5_vdpa_dev *mvdev, in create_user_mr() 669 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_mr_gc_handler() 681 mvdev = container_of(mres, struct mlx5_vdpa_dev, mres); in mlx5_vdpa_mr_gc_handler() 705 void mlx5_vdpa_put_mr(struct mlx5_vdpa_dev *mvdev, in mlx5_vdpa_put_mr() 722 void mlx5_vdpa_get_mr(struct mlx5_vdpa_dev *mvdev, in mlx5_vdpa_get_mr() 730 void mlx5_vdpa_update_mr(struct mlx5_vdpa_dev *mvdev, in mlx5_vdpa_update_mr() 761 void mlx5_vdpa_clean_mrs(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_clean_mrs() [all …]
|
| /linux-6.15/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 283 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis() 884 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_virtqueue() 1226 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in query_virtqueues() 1311 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in fill_modify_virtqueue_cmd() 1381 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in modify_virtqueue_end() 1559 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in modify_virtqueues() 2361 struct mlx5_vdpa_dev *mvdev; in mlx5_cvq_kick_handler() 2819 struct mlx5_vdpa_dev *mvdev; in update_carrier() 3085 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in setup_vq_resources() 3824 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_dev_add() [all …]
|
| H A D | mlx5_vnet.h | 11 #define to_mvdev(__vdev) container_of((__vdev), struct mlx5_vdpa_dev, vdev) 44 struct mlx5_vdpa_dev mvdev;
|