Searched refs:mlx5_core_dev (Results 1 – 12 of 12) sorted by relevance
| /include/linux/mlx5/ |
| D | vport.h | 58 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport); 59 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, 61 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, 63 int mlx5_query_mac_address(struct mlx5_core_dev *mdev, u8 *addr); 64 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, 66 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, u8 *min_inline); 67 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev, 69 int mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev *dev, 71 int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu); 72 int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 mtu); [all …]
|
| D | transobj.h | 38 int mlx5_core_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn); 39 void mlx5_core_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn); 40 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, 42 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in); 43 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn); 44 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out); 45 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, 47 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in); 48 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn); 49 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out); [all …]
|
| D | driver.h | 217 struct mlx5_core_dev *dev; 412 struct mlx5_core_dev *mdev; 479 struct mlx5_core_dev *dev; 564 struct mlx5_core_dev *mdev; 644 struct mlx5_core_dev *parent_mdev; 780 struct mlx5_core_dev { struct 934 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj() 939 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min() 944 static inline u16 fw_rev_sub(struct mlx5_core_dev *dev) in fw_rev_sub() 1003 void mlx5_cmd_use_events(struct mlx5_core_dev *dev); [all …]
|
| D | mpfs.h | 8 struct mlx5_core_dev; 11 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac); 12 int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac); 14 static inline int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_add_mac() 15 static inline int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_del_mac()
|
| D | eswitch.h | 39 int (*load)(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep); 80 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev); 153 u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev); 154 u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev); 155 struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw); 159 static inline u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_mode() 165 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_encap_mode() 194 static inline u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_total_vports() 199 static inline struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw) in mlx5_eswitch_get_core_dev() 206 static inline bool is_mdev_legacy_mode(struct mlx5_core_dev *dev) in is_mdev_legacy_mode() [all …]
|
| D | fs.h | 192 mlx5_get_fdb_sub_ns(struct mlx5_core_dev *dev, int n); 194 mlx5_get_flow_namespace(struct mlx5_core_dev *dev, 197 mlx5_get_flow_vport_acl_namespace(struct mlx5_core_dev *dev, 301 struct mlx5_fc *mlx5_fc_create(struct mlx5_core_dev *dev, bool aging); 304 struct mlx5_fc *mlx5_fc_create_ex(struct mlx5_core_dev *dev, bool aging); 306 void mlx5_fc_destroy(struct mlx5_core_dev *dev, struct mlx5_fc *counter); 312 int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter, 316 int mlx5_fs_add_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn); 317 int mlx5_fs_remove_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn); 319 struct mlx5_modify_hdr *mlx5_modify_header_alloc(struct mlx5_core_dev *dev, [all …]
|
| D | eq.h | 13 struct mlx5_core_dev; 22 mlx5_eq_create_generic(struct mlx5_core_dev *dev, struct mlx5_eq_param *param); 24 mlx5_eq_destroy_generic(struct mlx5_core_dev *dev, struct mlx5_eq *eq); 25 int mlx5_eq_enable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, 27 void mlx5_eq_disable(struct mlx5_core_dev *dev, struct mlx5_eq *eq,
|
| D | cq.h | 187 int mlx5_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 189 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 191 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq); 192 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 194 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 196 int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev, 199 static inline void mlx5_dump_err_cqe(struct mlx5_core_dev *dev, in mlx5_dump_err_cqe() 205 int mlx5_debug_cq_add(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq); 206 void mlx5_debug_cq_remove(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
|
| D | port.h | 141 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps); 142 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys, 146 int mlx5_query_ib_port_oper(struct mlx5_core_dev *dev, u16 *link_width_oper, 149 void mlx5_query_port_max_mtu(struct mlx5_core_dev *dev, u16 *max_mtu, u8 port); 150 void mlx5_query_port_oper_mtu(struct mlx5_core_dev *dev, u16 *oper_mtu, 153 int mlx5_query_port_vl_hw_cap(struct mlx5_core_dev *dev,
|
| D | fs_helpers.h | 41 static inline bool _mlx5_fs_is_outer_ipv_flow(struct mlx5_core_dev *mdev, in _mlx5_fs_is_outer_ipv_flow() 79 mlx5_fs_is_outer_ipv4_flow(struct mlx5_core_dev *mdev, const u32 *match_c, in mlx5_fs_is_outer_ipv4_flow() 87 mlx5_fs_is_outer_ipv6_flow(struct mlx5_core_dev *mdev, const u32 *match_c, in mlx5_fs_is_outer_ipv6_flow()
|
| D | rsc_dump.h | 46 struct mlx5_rsc_dump_cmd *mlx5_rsc_dump_cmd_create(struct mlx5_core_dev *dev, 49 int mlx5_rsc_dump_next(struct mlx5_core_dev *dev, struct mlx5_rsc_dump_cmd *cmd,
|
| D | qp.h | 530 int mlx5_debug_qp_add(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp); 531 void mlx5_debug_qp_remove(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp); 578 static inline int mlx5_get_qp_default_ts(struct mlx5_core_dev *dev) in mlx5_get_qp_default_ts()
|