Home
last modified time | relevance | path

Searched refs:mlx5_core_dev (Results 1 – 11 of 11) sorted by relevance

/include/linux/mlx5/
Dtransobj.h38 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, int inlen);
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, int inlen);
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 …]
Dvport.h66 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
67 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
69 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev,
71 int mlx5_query_mac_address(struct mlx5_core_dev *mdev, u8 *addr);
72 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev,
74 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, u8 *min_inline);
75 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev,
77 int mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev *dev,
79 int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu);
80 int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 mtu);
[all …]
Dport.h130 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps);
131 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys,
133 int mlx5_query_port_link_width_oper(struct mlx5_core_dev *dev,
135 int mlx5_query_port_ib_proto_oper(struct mlx5_core_dev *dev,
137 void mlx5_toggle_port_link(struct mlx5_core_dev *dev);
138 int mlx5_set_port_admin_status(struct mlx5_core_dev *dev,
140 int mlx5_query_port_admin_status(struct mlx5_core_dev *dev,
142 int mlx5_set_port_beacon(struct mlx5_core_dev *dev, u16 beacon_duration);
144 int mlx5_set_port_mtu(struct mlx5_core_dev *dev, u16 mtu, u8 port);
145 void mlx5_query_port_max_mtu(struct mlx5_core_dev *dev, u16 *max_mtu, u8 port);
[all …]
Ddriver.h197 struct mlx5_core_dev *dev;
409 struct mlx5_core_dev *mdev;
474 struct mlx5_core_dev *dev;
651 struct mlx5_core_dev *mdev;
674 struct mlx5_core_dev { struct
818 static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) in pci2mlx5_core_dev()
825 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj()
830 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min()
835 static inline u16 fw_rev_sub(struct mlx5_core_dev *dev) in fw_rev_sub()
840 static inline u16 cmdif_rev(struct mlx5_core_dev *dev) in cmdif_rev()
[all …]
Dfs.h138 mlx5_get_fdb_sub_ns(struct mlx5_core_dev *dev, int n);
140 mlx5_get_flow_namespace(struct mlx5_core_dev *dev,
143 mlx5_get_flow_vport_acl_namespace(struct mlx5_core_dev *dev,
227 struct mlx5_fc *mlx5_fc_create(struct mlx5_core_dev *dev, bool aging);
228 void mlx5_fc_destroy(struct mlx5_core_dev *dev, struct mlx5_fc *counter);
232 int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter,
236 int mlx5_fs_add_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn);
237 int mlx5_fs_remove_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn);
239 struct mlx5_modify_hdr *mlx5_modify_header_alloc(struct mlx5_core_dev *dev,
242 void mlx5_modify_header_dealloc(struct mlx5_core_dev *dev,
[all …]
Deq.h13 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,
Dqp.h556 static inline struct mlx5_core_qp *__mlx5_qp_lookup(struct mlx5_core_dev *dev, u32 qpn) in __mlx5_qp_lookup()
561 int mlx5_core_create_dct(struct mlx5_core_dev *dev,
565 int mlx5_core_create_qp(struct mlx5_core_dev *dev,
569 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, u16 opcode,
572 int mlx5_core_destroy_qp(struct mlx5_core_dev *dev,
574 int mlx5_core_destroy_dct(struct mlx5_core_dev *dev,
576 int mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp,
578 int mlx5_core_dct_query(struct mlx5_core_dev *dev, struct mlx5_core_dct *dct,
581 int mlx5_core_set_delay_drop(struct mlx5_core_dev *dev,
584 int mlx5_core_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn);
[all …]
Daccel.h98 struct mlx5_core_dev *mdev;
119 u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev);
122 mlx5_accel_esp_create_xfrm(struct mlx5_core_dev *mdev,
131 static inline u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev) { return 0; } in mlx5_accel_ipsec_device_caps()
134 mlx5_accel_esp_create_xfrm(struct mlx5_core_dev *mdev, in mlx5_accel_esp_create_xfrm()
Dcq.h187 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
189 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
190 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
192 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
194 int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev,
197 static inline void mlx5_dump_err_cqe(struct mlx5_core_dev *dev, in mlx5_dump_err_cqe()
203 int mlx5_debug_cq_add(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
204 void mlx5_debug_cq_remove(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
Deswitch.h34 int (*load)(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep);
67 u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev);
71 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev);
85 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_encap_mode()
Dfs_helpers.h81 static inline bool _mlx5_fs_is_outer_ipv_flow(struct mlx5_core_dev *mdev, in _mlx5_fs_is_outer_ipv_flow()
119 mlx5_fs_is_outer_ipv4_flow(struct mlx5_core_dev *mdev, const u32 *match_c, in mlx5_fs_is_outer_ipv4_flow()
127 mlx5_fs_is_outer_ipv6_flow(struct mlx5_core_dev *mdev, const u32 *match_c, in mlx5_fs_is_outer_ipv6_flow()