Symbol: mlx5_vdpa_dev
drivers/vdpa/mlx5/core/mlx5_vdpa.h
135
int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
136
void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
137
int mlx5_vdpa_create_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 *rqtn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
138
int mlx5_vdpa_modify_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 rqtn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
139
void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
140
int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
141
void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
142
int mlx5_vdpa_alloc_transport_domain(struct mlx5_vdpa_dev *mvdev, u32 *tdn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
143
void mlx5_vdpa_dealloc_transport_domain(struct mlx5_vdpa_dev *mvdev, u32 tdn);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
144
int mlx5_vdpa_alloc_resources(struct mlx5_vdpa_dev *mvdev);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
145
void mlx5_vdpa_free_resources(struct mlx5_vdpa_dev *mvdev);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
146
int mlx5_vdpa_create_mkey(struct mlx5_vdpa_dev *mvdev, u32 *mkey, u32 *in,
drivers/vdpa/mlx5/core/mlx5_vdpa.h
148
int mlx5_vdpa_destroy_mkey(struct mlx5_vdpa_dev *mvdev, u32 mkey);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
149
struct mlx5_vdpa_mr *mlx5_vdpa_create_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mlx5_vdpa.h
151
int mlx5_vdpa_init_mr_resources(struct mlx5_vdpa_dev *mvdev);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
152
void mlx5_vdpa_destroy_mr_resources(struct mlx5_vdpa_dev *mvdev);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
153
void mlx5_vdpa_clean_mrs(struct mlx5_vdpa_dev *mvdev);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
154
void mlx5_vdpa_get_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mlx5_vdpa.h
156
void mlx5_vdpa_put_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mlx5_vdpa.h
158
void mlx5_vdpa_update_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mlx5_vdpa.h
161
int mlx5_vdpa_update_cvq_iotlb(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mlx5_vdpa.h
164
int mlx5_vdpa_create_dma_mr(struct mlx5_vdpa_dev *mvdev);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
165
int mlx5_vdpa_reset_mr(struct mlx5_vdpa_dev *mvdev, unsigned int asid);
drivers/vdpa/mlx5/core/mlx5_vdpa.h
166
int mlx5_vdpa_exec_async_cmds(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mlx5_vdpa.h
72
struct mlx5_vdpa_dev *mvdev;
drivers/vdpa/mlx5/core/mr.c
110
static void destroy_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr)
drivers/vdpa/mlx5/core/mr.c
169
static void fill_indir(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mkey, void *in)
drivers/vdpa/mlx5/core/mr.c
211
static int create_direct_keys(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr)
drivers/vdpa/mlx5/core/mr.c
281
static int destroy_direct_keys(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr)
drivers/vdpa/mlx5/core/mr.c
325
static int create_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr)
drivers/vdpa/mlx5/core/mr.c
361
static void destroy_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mkey)
drivers/vdpa/mlx5/core/mr.c
366
static int map_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr,
drivers/vdpa/mlx5/core/mr.c
432
static void unmap_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr)
drivers/vdpa/mlx5/core/mr.c
441
static int add_direct_chain(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
497
static int create_user_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
565
static int create_dma_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr)
drivers/vdpa/mlx5/core/mr.c
593
static void destroy_dma_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr)
drivers/vdpa/mlx5/core/mr.c
627
static void destroy_user_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr)
drivers/vdpa/mlx5/core/mr.c
63
static void fill_create_direct_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
641
static void _mlx5_vdpa_destroy_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr)
drivers/vdpa/mlx5/core/mr.c
668
struct mlx5_vdpa_dev *mvdev;
drivers/vdpa/mlx5/core/mr.c
680
mvdev = container_of(mres, struct mlx5_vdpa_dev, mres);
drivers/vdpa/mlx5/core/mr.c
689
static void _mlx5_vdpa_put_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
704
void mlx5_vdpa_put_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
712
static void _mlx5_vdpa_get_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
721
void mlx5_vdpa_get_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
729
void mlx5_vdpa_update_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
743
static void mlx5_vdpa_show_mr_leaks(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/mr.c
760
void mlx5_vdpa_clean_mrs(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/mr.c
773
static int _mlx5_vdpa_create_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
813
struct mlx5_vdpa_mr *mlx5_vdpa_create_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
839
int mlx5_vdpa_update_cvq_iotlb(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
858
int mlx5_vdpa_create_dma_mr(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/mr.c
871
int mlx5_vdpa_reset_mr(struct mlx5_vdpa_dev *mvdev, unsigned int asid)
drivers/vdpa/mlx5/core/mr.c
888
int mlx5_vdpa_init_mr_resources(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/mr.c
90
static void create_direct_mr_end(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/mr.c
906
void mlx5_vdpa_destroy_mr_resources(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/mr.c
99
static void fill_destroy_direct_mr(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/resources.c
109
void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn)
drivers/vdpa/mlx5/core/resources.c
119
int mlx5_vdpa_create_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 *rqtn)
drivers/vdpa/mlx5/core/resources.c
132
int mlx5_vdpa_modify_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32 rqtn)
drivers/vdpa/mlx5/core/resources.c
142
void mlx5_vdpa_destroy_rqt(struct mlx5_vdpa_dev *mvdev, u32 rqtn)
drivers/vdpa/mlx5/core/resources.c
152
int mlx5_vdpa_create_tir(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tirn)
drivers/vdpa/mlx5/core/resources.c
165
void mlx5_vdpa_destroy_tir(struct mlx5_vdpa_dev *mvdev, u32 tirn)
drivers/vdpa/mlx5/core/resources.c
175
int mlx5_vdpa_alloc_transport_domain(struct mlx5_vdpa_dev *mvdev, u32 *tdn)
drivers/vdpa/mlx5/core/resources.c
191
void mlx5_vdpa_dealloc_transport_domain(struct mlx5_vdpa_dev *mvdev, u32 tdn)
drivers/vdpa/mlx5/core/resources.c
201
int mlx5_vdpa_create_mkey(struct mlx5_vdpa_dev *mvdev, u32 *mkey, u32 *in,
drivers/vdpa/mlx5/core/resources.c
220
int mlx5_vdpa_destroy_mkey(struct mlx5_vdpa_dev *mvdev, u32 mkey)
drivers/vdpa/mlx5/core/resources.c
230
static int init_ctrl_vq(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/resources.c
242
static void cleanup_ctrl_vq(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/resources.c
247
int mlx5_vdpa_alloc_resources(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/resources.c
26
static int dealloc_pd(struct mlx5_vdpa_dev *dev, u32 pdn, u16 uid)
drivers/vdpa/mlx5/core/resources.c
306
void mlx5_vdpa_free_resources(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/core/resources.c
331
static int issue_async_cmd(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/resources.c
366
int mlx5_vdpa_exec_async_cmds(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/core/resources.c
37
static int get_null_mkey(struct mlx5_vdpa_dev *dev, u32 *null_mkey)
drivers/vdpa/mlx5/core/resources.c
51
static int create_uctx(struct mlx5_vdpa_dev *mvdev, u16 *uid)
drivers/vdpa/mlx5/core/resources.c
8
static int alloc_pd(struct mlx5_vdpa_dev *dev, u32 *pdn, u16 uid)
drivers/vdpa/mlx5/core/resources.c
81
static void destroy_uctx(struct mlx5_vdpa_dev *mvdev, u32 uid)
drivers/vdpa/mlx5/core/resources.c
95
int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn)
drivers/vdpa/mlx5/net/mlx5_vnet.c
1224
struct mlx5_vdpa_dev *mvdev = &ndev->mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
1309
struct mlx5_vdpa_dev *mvdev = &ndev->mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
1379
struct mlx5_vdpa_dev *mvdev = &ndev->mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
147
static bool is_index_valid(struct mlx5_vdpa_dev *mvdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
1557
struct mlx5_vdpa_dev *mvdev = &ndev->mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
180
static inline bool mlx5_vdpa_is_little_endian(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
186
static u16 mlx5vdpa16_to_cpu(struct mlx5_vdpa_dev *mvdev, __virtio16 val)
drivers/vdpa/mlx5/net/mlx5_vnet.c
191
static __virtio16 cpu_to_mlx5vdpa16(struct mlx5_vdpa_dev *mvdev, u16 val)
drivers/vdpa/mlx5/net/mlx5_vnet.c
196
static u16 ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
204
static bool is_ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
209
static void print_status(struct mlx5_vdpa_dev *mvdev, u8 status, bool set)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2132
struct mlx5_vdpa_dev *mvdev = &ndev->mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
2196
static virtio_net_ctrl_ack handle_ctrl_mac(struct mlx5_vdpa_dev *mvdev, u8 cmd)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2228
static int change_num_qps(struct mlx5_vdpa_dev *mvdev, int newqps)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2277
static virtio_net_ctrl_ack handle_ctrl_mq(struct mlx5_vdpa_dev *mvdev, u8 cmd)
drivers/vdpa/mlx5/net/mlx5_vnet.c
232
static void print_features(struct mlx5_vdpa_dev *mvdev, u64 features, bool set)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2325
static virtio_net_ctrl_ack handle_ctrl_vlan(struct mlx5_vdpa_dev *mvdev, u8 cmd)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2370
struct mlx5_vdpa_dev *mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
2439
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2464
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2488
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2509
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2527
static void set_cvq_ready(struct mlx5_vdpa_dev *mvdev, bool ready)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2540
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2568
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2583
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2610
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2654
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2664
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2721
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2728
static int verify_driver_features(struct mlx5_vdpa_dev *mvdev, u64 features)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2750
static int setup_virtqueues(struct mlx5_vdpa_dev *mvdev, bool filled)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2779
static void update_cvq_info(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2816
static bool get_link_state(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2828
struct mlx5_vdpa_dev *mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
283
struct mlx5_vdpa_dev *mvdev = &ndev->mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
2914
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2954
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
2978
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3053
static int mlx5_vdpa_change_map(struct mlx5_vdpa_dev *mvdev,
drivers/vdpa/mlx5/net/mlx5_vnet.c
3094
struct mlx5_vdpa_dev *mvdev = &ndev->mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
3167
static int setup_cvq_vring(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3189
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3241
static void init_group_to_asid_map(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3250
static bool needs_vqs_reset(const struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3271
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3324
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3339
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3344
static int set_map_data(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb,
drivers/vdpa/mlx5/net/mlx5_vnet.c
3385
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3397
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3409
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3441
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3466
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3490
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3509
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3550
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3601
static void mlx5_vdpa_cvq_suspend(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3614
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3631
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3651
struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
3836
struct mlx5_vdpa_dev *mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
4036
struct mlx5_vdpa_dev *mvdev = to_mvdev(dev);
drivers/vdpa/mlx5/net/mlx5_vnet.c
4057
struct mlx5_vdpa_dev *mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
863
static bool counters_supported(const struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
869
static bool msix_mode_supported(struct mlx5_vdpa_dev *mvdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
882
struct mlx5_vdpa_dev *mvdev = &ndev->mvdev;
drivers/vdpa/mlx5/net/mlx5_vnet.h
11
#define to_mvdev(__vdev) container_of((__vdev), struct mlx5_vdpa_dev, vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.h
44
struct mlx5_vdpa_dev mvdev;