Home
last modified time | relevance | path

Searched refs:mlx4_dev (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/include/linux/mlx4/
Ddevice.h869 struct mlx4_dev *dev;
885 struct mlx4_dev { struct
1041 static inline int mlx4_master_func_num(struct mlx4_dev *dev) in mlx4_master_func_num()
1046 static inline int mlx4_is_master(struct mlx4_dev *dev) in mlx4_is_master()
1051 static inline int mlx4_num_reserved_sqps(struct mlx4_dev *dev) in mlx4_num_reserved_sqps()
1057 static inline int mlx4_is_qp_reserved(struct mlx4_dev *dev, u32 qpn) in mlx4_is_qp_reserved()
1065 static inline int mlx4_is_guest_proxy(struct mlx4_dev *dev, int slave, u32 qpn) in mlx4_is_guest_proxy()
1075 static inline int mlx4_is_mfunc(struct mlx4_dev *dev) in mlx4_is_mfunc()
1080 static inline int mlx4_is_slave(struct mlx4_dev *dev) in mlx4_is_slave()
1085 static inline int mlx4_is_eth(struct mlx4_dev *dev, int port) in mlx4_is_eth()
[all …]
Ddriver.h39 struct mlx4_dev;
58 void * (*add) (struct mlx4_dev *dev);
59 void (*remove)(struct mlx4_dev *dev, void *context);
60 void (*event) (struct mlx4_dev *dev, void *context,
62 void * (*get_dev)(struct mlx4_dev *dev, void *context, u8 port);
63 void (*activate)(struct mlx4_dev *dev, void *context);
72 int mlx4_bond(struct mlx4_dev *dev);
73 int mlx4_unbond(struct mlx4_dev *dev);
74 static inline int mlx4_is_bonded(struct mlx4_dev *dev) in mlx4_is_bonded()
79 static inline int mlx4_is_mf_bonded(struct mlx4_dev *dev) in mlx4_is_mf_bonded()
[all …]
Dcmd.h261 struct mlx4_dev;
268 int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param,
273 static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, in mlx4_cmd()
282 static inline int mlx4_cmd_box(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_box()
295 static inline int mlx4_cmd_imm(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_imm()
303 struct mlx4_cmd_mailbox *mlx4_alloc_cmd_mailbox(struct mlx4_dev *dev);
304 void mlx4_free_cmd_mailbox(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox);
306 int mlx4_get_counter_stats(struct mlx4_dev *dev, int counter_index,
308 int mlx4_get_vf_stats(struct mlx4_dev *dev, int port, int vf_idx,
311 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u8 *mac);
[all …]
Dqp.h473 struct mlx4_qp *mlx4_qp_lookup(struct mlx4_dev *dev, u32 qpn);
474 int mlx4_update_qp(struct mlx4_dev *dev, u32 qpn,
477 int mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt,
482 int mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp,
485 int mlx4_qp_to_ready(struct mlx4_dev *dev, struct mlx4_mtt *mtt,
489 static inline struct mlx4_qp *__mlx4_qp_lookup(struct mlx4_dev *dev, u32 qpn) in __mlx4_qp_lookup()
494 void mlx4_qp_remove(struct mlx4_dev *dev, struct mlx4_qp *qp);
504 u16 mlx4_qp_roce_entropy(struct mlx4_dev *dev, u32 qpn);
Dcq.h177 int mlx4_cq_modify(struct mlx4_dev *dev, struct mlx4_cq *cq,
179 int mlx4_cq_resize(struct mlx4_dev *dev, struct mlx4_cq *cq,
Dsrq.h42 struct mlx4_srq *mlx4_srq_lookup(struct mlx4_dev *dev, u32 srqn);