Home
last modified time | relevance | path

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

/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()
119 int mlx5_vdpa_create_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 *rqtn) in mlx5_vdpa_create_rqt()
132 int mlx5_vdpa_modify_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 rqtn) in mlx5_vdpa_modify_rqt()
142 void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn) in mlx5_vdpa_destroy_rqt()
152 int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) in mlx5_vdpa_create_tir()
165 void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn) in mlx5_vdpa_destroy_tir()
175 int mlx5_vdpa_alloc_transport_domain(struct mlx5_vdpa_dev *mvdev, u32 *tdn) in mlx5_vdpa_alloc_transport_domain()
[all …]
H A Dmr.c63 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()
99 static void fill_destroy_direct_mr(struct mlx5_vdpa_dev *mvdev, in fill_destroy_direct_mr()
110 static void destroy_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in destroy_direct_mr()
169 static void fill_indir(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mkey, void *in) in fill_indir()
211 static int create_direct_keys(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in create_direct_keys()
326 static int create_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in create_indirect_key()
362 static void destroy_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mkey) in destroy_indirect_key()
367 static int map_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr, in map_direct_mr()
433 static void unmap_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in unmap_direct_mr()
[all …]
H A Dmlx5_vdpa.h72 struct mlx5_vdpa_dev *mvdev; member
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c147 static bool is_index_valid(struct mlx5_vdpa_dev *mvdev, u16 idx) in is_index_valid()
180 static inline bool mlx5_vdpa_is_little_endian(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_is_little_endian()
186 static u16 mlx5vdpa16_to_cpu(struct mlx5_vdpa_dev *mvdev, __virtio16 val) in mlx5vdpa16_to_cpu()
191 static __virtio16 cpu_to_mlx5vdpa16(struct mlx5_vdpa_dev *mvdev, u16 val) in cpu_to_mlx5vdpa16()
196 static u16 ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev) in ctrl_vq_idx()
204 static bool is_ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev, u16 idx) in is_ctrl_vq_idx()
209 static void print_status(struct mlx5_vdpa_dev *mvdev, u8 status, bool set) in print_status()
232 static void print_features(struct mlx5_vdpa_dev *mvdev, u64 features, bool set) in print_features()
283 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis() local
863 static bool counters_supported(const struct mlx5_vdpa_dev *mvdev) in counters_supported()
[all …]
H A Dmlx5_vnet.h44 struct mlx5_vdpa_dev mvdev; member