Searched refs:mlx5_vdpa_dev (Results 1 - 5 of 5) sorted by relevance
/linux-master/drivers/vdpa/mlx5/core/ |
H A D | mlx5_vdpa.h | 72 struct mlx5_vdpa_dev *mvdev; 86 struct mlx5_vdpa_dev { struct 108 int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn); 109 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn); 110 int mlx5_vdpa_create_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 *rqtn); 111 int mlx5_vdpa_modify_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 rqtn); 112 void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn); 113 int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn); 114 void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn); 115 int mlx5_vdpa_alloc_transport_domain(struct mlx5_vdpa_dev *mvde [all...] |
H A D | resources.c | 8 static int alloc_pd(struct mlx5_vdpa_dev *dev, u32 *pdn, u16 uid) 26 static int dealloc_pd(struct mlx5_vdpa_dev *dev, u32 pdn, u16 uid) 37 static int get_null_mkey(struct mlx5_vdpa_dev *dev, u32 *null_mkey) 51 static int create_uctx(struct mlx5_vdpa_dev *mvdev, u16 *uid) 81 static void destroy_uctx(struct mlx5_vdpa_dev *mvdev, u32 uid) 95 int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn) 109 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn) 119 int mlx5_vdpa_create_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 *rqtn) 132 int mlx5_vdpa_modify_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 rqtn) 142 void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvde [all...] |
H A D | mr.c | 52 static int create_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) 89 static void destroy_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) 145 static void fill_indir(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mkey, void *in) 182 static int create_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) 218 static void destroy_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mkey) 223 static int map_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr, 295 static void unmap_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) 304 static int add_direct_chain(struct mlx5_vdpa_dev *mvdev, 360 static int create_user_mr(struct mlx5_vdpa_dev *mvdev, 424 static int create_dma_mr(struct mlx5_vdpa_dev *mvde [all...] |
/linux-master/drivers/vdpa/mlx5/net/ |
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;
|
H A D | mlx5_vnet.c | 135 static bool is_index_valid(struct mlx5_vdpa_dev *mvdev, u16 idx) 149 static int setup_driver(struct mlx5_vdpa_dev *mvdev); 167 static inline bool mlx5_vdpa_is_little_endian(struct mlx5_vdpa_dev *mvdev) 173 static u16 mlx5vdpa16_to_cpu(struct mlx5_vdpa_dev *mvdev, __virtio16 val) 178 static __virtio16 cpu_to_mlx5vdpa16(struct mlx5_vdpa_dev *mvdev, u16 val) 183 static u16 ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev) 191 static bool is_ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev, u16 idx) 196 static void print_status(struct mlx5_vdpa_dev *mvdev, u8 status, bool set) 219 static void print_features(struct mlx5_vdpa_dev *mvdev, u64 features, bool set) 270 struct mlx5_vdpa_dev *mvde [all...] |
Completed in 233 milliseconds