Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/mlx5/
Dport.h113 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps);
114 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys,
116 int mlx5_query_port_proto_cap(struct mlx5_core_dev *dev,
118 int mlx5_query_port_proto_admin(struct mlx5_core_dev *dev,
120 int mlx5_query_port_link_width_oper(struct mlx5_core_dev *dev,
122 int mlx5_query_port_ib_proto_oper(struct mlx5_core_dev *dev,
124 int mlx5_query_port_eth_proto_oper(struct mlx5_core_dev *dev,
126 int mlx5_set_port_ptys(struct mlx5_core_dev *dev, bool an_disable,
128 void mlx5_toggle_port_link(struct mlx5_core_dev *dev);
129 int mlx5_set_port_admin_status(struct mlx5_core_dev *dev,
[all …]
Dvport.h45 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
46 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
48 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev,
50 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev,
52 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, u8 *min_inline);
53 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev,
55 int mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev *dev,
57 int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu);
58 int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 mtu);
59 int mlx5_query_nic_vport_system_image_guid(struct mlx5_core_dev *mdev,
[all …]
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 …]
Ddriver.h200 struct mlx5_core_dev *dev;
392 struct mlx5_core_dev *dev;
506 struct mlx5_core_dev *mdev;
707 void (*pfault)(struct mlx5_core_dev *dev,
813 struct mlx5_core_dev *mdev;
822 struct mlx5_core_dev { struct
845 void (*event) (struct mlx5_core_dev *dev, argument
965 static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) in pci2mlx5_core_dev()
972 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj()
977 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min()
[all …]
Dqp.h547 static inline struct mlx5_core_qp *__mlx5_qp_lookup(struct mlx5_core_dev *dev, u32 qpn) in __mlx5_qp_lookup()
552 static inline struct mlx5_core_mkey *__mlx5_mr_lookup(struct mlx5_core_dev *dev, u32 key) in __mlx5_mr_lookup()
557 int mlx5_core_create_dct(struct mlx5_core_dev *dev,
560 int mlx5_core_create_qp(struct mlx5_core_dev *dev,
564 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, u16 opcode,
567 int mlx5_core_destroy_qp(struct mlx5_core_dev *dev,
569 int mlx5_core_destroy_dct(struct mlx5_core_dev *dev,
571 int mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp,
573 int mlx5_core_dct_query(struct mlx5_core_dev *dev, struct mlx5_core_dct *dct,
576 int mlx5_core_set_delay_drop(struct mlx5_core_dev *dev,
[all …]
Dcq.h186 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
188 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
189 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
191 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
193 int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev,
196 static inline void mlx5_dump_err_cqe(struct mlx5_core_dev *dev, in mlx5_dump_err_cqe()
202 int mlx5_debug_cq_add(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
203 void mlx5_debug_cq_remove(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
Dfs.h104 mlx5_get_flow_namespace(struct mlx5_core_dev *dev,
107 mlx5_get_flow_vport_acl_namespace(struct mlx5_core_dev *dev,
189 struct mlx5_fc *mlx5_fc_create(struct mlx5_core_dev *dev, bool aging);
190 void mlx5_fc_destroy(struct mlx5_core_dev *dev, struct mlx5_fc *counter);
194 int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter,
197 int mlx5_fs_add_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn);
198 int mlx5_fs_remove_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn);
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()
Dsrq.h66 struct mlx5_core_dev;
68 void mlx5_init_srq_table(struct mlx5_core_dev *dev);
69 void mlx5_cleanup_srq_table(struct mlx5_core_dev *dev);
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()
Deswitch.h27 int (*load)(struct mlx5_core_dev *dev,