Home
last modified time | relevance | path

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

/linux/drivers/vdpa/mlx5/core/
H A Dresources.c57 static int create_uctx(struct mlx5_vdpa_dev *mvdev, u16 *uid) in create_uctx()
87 static void destroy_uctx(struct mlx5_vdpa_dev *mvdev, u32 uid) in destroy_uctx()
101 int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn) in mlx5_vdpa_create_tis()
115 void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn) in mlx5_vdpa_destroy_tis()
125 int mlx5_vdpa_create_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 *rqtn) in mlx5_vdpa_create_rqt()
138 int mlx5_vdpa_modify_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 rqtn) in mlx5_vdpa_modify_rqt()
148 void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn) in mlx5_vdpa_destroy_rqt()
158 int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn) in mlx5_vdpa_create_tir()
171 void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn) in mlx5_vdpa_destroy_tir()
181 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.h74 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() argument
180 static inline bool mlx5_vdpa_is_little_endian(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_is_little_endian() argument
186 static u16 mlx5vdpa16_to_cpu(struct mlx5_vdpa_dev *mvdev, __virtio16 val) in mlx5vdpa16_to_cpu() argument
191 cpu_to_mlx5vdpa16(struct mlx5_vdpa_dev * mvdev,u16 val) cpu_to_mlx5vdpa16() argument
196 ctrl_vq_idx(struct mlx5_vdpa_dev * mvdev) ctrl_vq_idx() argument
204 is_ctrl_vq_idx(struct mlx5_vdpa_dev * mvdev,u16 idx) is_ctrl_vq_idx() argument
209 print_status(struct mlx5_vdpa_dev * mvdev,u8 status,bool set) print_status() argument
232 print_features(struct mlx5_vdpa_dev * mvdev,u64 features,bool set) print_features() argument
283 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; create_tis() local
863 counters_supported(const struct mlx5_vdpa_dev * mvdev) counters_supported() argument
869 msix_mode_supported(struct mlx5_vdpa_dev * mvdev) msix_mode_supported() argument
882 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; create_virtqueue() local
1224 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; query_virtqueues() local
1309 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; fill_modify_virtqueue_cmd() local
1379 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; modify_virtqueue_end() local
1557 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; modify_virtqueues() local
2132 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; mlx5_vdpa_change_mac() local
2196 handle_ctrl_mac(struct mlx5_vdpa_dev * mvdev,u8 cmd) handle_ctrl_mac() argument
2228 change_num_qps(struct mlx5_vdpa_dev * mvdev,int newqps) change_num_qps() argument
2277 handle_ctrl_mq(struct mlx5_vdpa_dev * mvdev,u8 cmd) handle_ctrl_mq() argument
2325 handle_ctrl_vlan(struct mlx5_vdpa_dev * mvdev,u8 cmd) handle_ctrl_vlan() argument
2370 struct mlx5_vdpa_dev *mvdev; mlx5_cvq_kick_handler() local
2439 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_kick_vq() local
2464 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_vq_address() local
2488 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_vq_num() local
2509 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_vq_cb() local
2527 set_cvq_ready(struct mlx5_vdpa_dev * mvdev,bool ready) set_cvq_ready() argument
2540 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_vq_ready() local
2568 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_vq_ready() local
2583 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_vq_state() local
2610 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_vq_state() local
2654 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_vq_group() local
2664 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_vq_desc_group() local
2721 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_device_features() local
2728 verify_driver_features(struct mlx5_vdpa_dev * mvdev,u64 features) verify_driver_features() argument
2750 setup_virtqueues(struct mlx5_vdpa_dev * mvdev,bool filled) setup_virtqueues() argument
2779 update_cvq_info(struct mlx5_vdpa_dev * mvdev) update_cvq_info() argument
2816 get_link_state(struct mlx5_vdpa_dev * mvdev) get_link_state() argument
2828 struct mlx5_vdpa_dev *mvdev; update_carrier() local
2914 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_driver_features() local
2954 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_config_cb() local
2978 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_status() local
3053 mlx5_vdpa_change_map(struct mlx5_vdpa_dev * mvdev,struct mlx5_vdpa_mr * new_mr,unsigned int asid) mlx5_vdpa_change_map() argument
3105 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; setup_vq_resources() local
3178 setup_cvq_vring(struct mlx5_vdpa_dev * mvdev) setup_cvq_vring() argument
3200 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_status() local
3252 init_group_to_asid_map(struct mlx5_vdpa_dev * mvdev) init_group_to_asid_map() argument
3261 needs_vqs_reset(const struct mlx5_vdpa_dev * mvdev) needs_vqs_reset() argument
3282 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_compat_reset() local
3335 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_config() local
3350 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_generation() local
3355 set_map_data(struct mlx5_vdpa_dev * mvdev,struct vhost_iotlb * iotlb,unsigned int asid) set_map_data() argument
3392 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_set_map() local
3404 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_reset_map() local
3416 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_get_vq_map() local
3448 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_free() local
3473 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_get_vq_notification() local
3497 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_get_vq_irq() local
3516 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_driver_features() local
3557 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_get_vendor_vq_stats() local
3608 mlx5_vdpa_cvq_suspend(struct mlx5_vdpa_dev * mvdev) mlx5_vdpa_cvq_suspend() argument
3621 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_suspend() local
3638 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_vdpa_resume() local
3658 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); mlx5_set_group_asid() local
3843 struct mlx5_vdpa_dev *mvdev; mlx5_vdpa_dev_add() local
4043 struct mlx5_vdpa_dev *mvdev = to_mvdev(dev); mlx5_vdpa_dev_del() local
4064 struct mlx5_vdpa_dev *mvdev; mlx5_vdpa_set_attr() local
[all...]
H A Dmlx5_vnet.h44 struct mlx5_vdpa_dev mvdev; member
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h111 struct mlx5vf_pci_core_device *mvdev; member