Home
last modified time | relevance | path

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

123

/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_core.h87 int mlx5_query_hca_caps(struct mlx5_core_dev *dev);
88 int mlx5_query_board_id(struct mlx5_core_dev *dev);
89 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev);
90 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev);
91 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev);
92 void mlx5_core_event(struct mlx5_core_dev *dev, enum mlx5_dev_event event,
94 void mlx5_core_page_fault(struct mlx5_core_dev *dev,
96 void mlx5_port_module_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe);
97 void mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force);
98 void mlx5_disable_device(struct mlx5_core_dev *dev);
[all …]
Dfs_cmd.h36 int mlx5_cmd_create_flow_table(struct mlx5_core_dev *dev,
43 int mlx5_cmd_destroy_flow_table(struct mlx5_core_dev *dev,
46 int mlx5_cmd_modify_flow_table(struct mlx5_core_dev *dev,
50 int mlx5_cmd_create_flow_group(struct mlx5_core_dev *dev,
54 int mlx5_cmd_destroy_flow_group(struct mlx5_core_dev *dev,
58 int mlx5_cmd_create_fte(struct mlx5_core_dev *dev,
63 int mlx5_cmd_update_fte(struct mlx5_core_dev *dev,
69 int mlx5_cmd_delete_fte(struct mlx5_core_dev *dev,
73 int mlx5_cmd_update_root_ft(struct mlx5_core_dev *dev,
77 int mlx5_cmd_fc_alloc(struct mlx5_core_dev *dev, u32 *id);
[all …]
Dfw.c40 static int mlx5_cmd_query_adapter(struct mlx5_core_dev *dev, u32 *out, in mlx5_cmd_query_adapter()
49 int mlx5_query_board_id(struct mlx5_core_dev *dev) in mlx5_query_board_id()
74 int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id) in mlx5_core_query_vendor_id()
96 static int mlx5_get_pcam_reg(struct mlx5_core_dev *dev) in mlx5_get_pcam_reg()
103 static int mlx5_get_mcam_reg(struct mlx5_core_dev *dev) in mlx5_get_mcam_reg()
110 int mlx5_query_hca_caps(struct mlx5_core_dev *dev) in mlx5_query_hca_caps()
189 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev) in mlx5_cmd_init_hca()
198 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_teardown_hca()
207 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_force_teardown_hca()
244 static int mlx5_reg_mcc_set(struct mlx5_core_dev *dev, in mlx5_reg_mcc_set()
[all …]
Ddev.c50 struct mlx5_core_dev *dev;
61 struct mlx5_core_dev *dev, in add_delayed_event()
83 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in delayed_event_release()
121 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in mlx5_add_device()
176 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in mlx5_remove_device()
204 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in mlx5_attach_interface()
232 void mlx5_attach_device(struct mlx5_core_dev *dev) in mlx5_attach_device()
246 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in mlx5_detach_interface()
265 void mlx5_detach_device(struct mlx5_core_dev *dev) in mlx5_detach_device()
276 bool mlx5_device_registered(struct mlx5_core_dev *dev) in mlx5_device_registered()
[all …]
Dport.c39 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in, in mlx5_core_access_reg()
77 int mlx5_query_pcam_reg(struct mlx5_core_dev *dev, u32 *pcam, u8 feature_group, in mlx5_query_pcam_reg()
89 int mlx5_query_mcam_reg(struct mlx5_core_dev *dev, u32 *mcam, u8 feature_group, in mlx5_query_mcam_reg()
111 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps) in mlx5_set_port_caps()
125 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys, in mlx5_query_port_ptys()
137 int mlx5_set_port_beacon(struct mlx5_core_dev *dev, u16 beacon_duration) in mlx5_set_port_beacon()
148 int mlx5_query_port_proto_cap(struct mlx5_core_dev *dev, in mlx5_query_port_proto_cap()
167 int mlx5_query_port_proto_admin(struct mlx5_core_dev *dev, in mlx5_query_port_proto_admin()
186 int mlx5_query_port_link_width_oper(struct mlx5_core_dev *dev, in mlx5_query_port_link_width_oper()
202 int mlx5_query_port_eth_proto_oper(struct mlx5_core_dev *dev, in mlx5_query_port_eth_proto_oper()
[all …]
Dtransobj.c37 int mlx5_core_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn) in mlx5_core_alloc_transport_domain()
55 void mlx5_core_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn) in mlx5_core_dealloc_transport_domain()
67 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in mlx5_core_create_rq()
81 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen) in mlx5_core_modify_rq()
93 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn) in mlx5_core_destroy_rq()
104 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out) in mlx5_core_query_rq()
116 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) in mlx5_core_create_sq()
129 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen) in mlx5_core_modify_sq()
139 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq()
149 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) in mlx5_core_query_sq()
[all …]
Dhealth.c73 static u8 get_nic_state(struct mlx5_core_dev *dev) in get_nic_state()
78 static void trigger_cmd_completions(struct mlx5_core_dev *dev) in trigger_cmd_completions()
101 static int in_fatal(struct mlx5_core_dev *dev) in in_fatal()
115 void mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force) in mlx5_enter_error_state()
134 static void mlx5_handle_bad_state(struct mlx5_core_dev *dev) in mlx5_handle_bad_state()
162 struct mlx5_core_dev *dev; in health_recover()
169 dev = container_of(priv, struct mlx5_core_dev, priv); in health_recover()
187 struct mlx5_core_dev *dev; in health_care()
193 dev = container_of(priv, struct mlx5_core_dev, priv); in health_care()
236 static void print_health_info(struct mlx5_core_dev *dev) in print_health_info()
[all …]
Dlag.c43 struct mlx5_core_dev *dev;
77 static int mlx5_cmd_create_lag(struct mlx5_core_dev *dev, u8 remap_port1, in mlx5_cmd_create_lag()
92 static int mlx5_cmd_modify_lag(struct mlx5_core_dev *dev, u8 remap_port1, in mlx5_cmd_modify_lag()
108 static int mlx5_cmd_destroy_lag(struct mlx5_core_dev *dev) in mlx5_cmd_destroy_lag()
118 int mlx5_cmd_create_vport_lag(struct mlx5_core_dev *dev) in mlx5_cmd_create_vport_lag()
129 int mlx5_cmd_destroy_vport_lag(struct mlx5_core_dev *dev) in mlx5_cmd_destroy_vport_lag()
140 static struct mlx5_lag *mlx5_lag_dev_get(struct mlx5_core_dev *dev) in mlx5_lag_dev_get()
181 struct mlx5_core_dev *dev0 = ldev->pf[0].dev; in mlx5_activate_lag()
198 struct mlx5_core_dev *dev0 = ldev->pf[0].dev; in mlx5_deactivate_lag()
212 struct mlx5_core_dev *dev0 = ldev->pf[0].dev; in mlx5_do_bond()
[all …]
Dsriov.c39 bool mlx5_sriov_is_enabled(struct mlx5_core_dev *dev) in mlx5_sriov_is_enabled()
46 static int sriov_restore_guids(struct mlx5_core_dev *dev, int vf) in sriov_restore_guids()
78 static int mlx5_device_enable_sriov(struct mlx5_core_dev *dev, int num_vfs) in mlx5_device_enable_sriov()
125 static void mlx5_device_disable_sriov(struct mlx5_core_dev *dev) in mlx5_device_disable_sriov()
156 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); in mlx5_pci_enable_sriov()
178 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); in mlx5_sriov_enable()
202 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); in mlx5_sriov_disable()
212 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); in mlx5_core_sriov_configure()
237 int mlx5_sriov_attach(struct mlx5_core_dev *dev) in mlx5_sriov_attach()
248 void mlx5_sriov_detach(struct mlx5_core_dev *dev) in mlx5_sriov_detach()
[all …]
Dqp.c42 static struct mlx5_core_rsc_common *mlx5_get_rsc(struct mlx5_core_dev *dev, in mlx5_get_rsc()
117 void mlx5_rsc_event(struct mlx5_core_dev *dev, u32 rsn, int event_type) in mlx5_rsc_event()
146 static int create_qprqsq_common(struct mlx5_core_dev *dev, in create_qprqsq_common()
169 static void destroy_qprqsq_common(struct mlx5_core_dev *dev, in destroy_qprqsq_common()
183 int mlx5_core_create_qp(struct mlx5_core_dev *dev, in mlx5_core_create_qp()
224 int mlx5_core_destroy_qp(struct mlx5_core_dev *dev, in mlx5_core_destroy_qp()
246 int mlx5_core_set_delay_drop(struct mlx5_core_dev *dev, in mlx5_core_set_delay_drop()
288 static int modify_qp_mbox_alloc(struct mlx5_core_dev *dev, u16 opcode, int qpn, in modify_qp_mbox_alloc()
365 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, u16 opcode, in mlx5_core_qp_modify()
383 void mlx5_init_qp_table(struct mlx5_core_dev *dev) in mlx5_init_qp_table()
[all …]
Ddebugfs.c103 int mlx5_qp_debugfs_init(struct mlx5_core_dev *dev) in mlx5_qp_debugfs_init()
117 void mlx5_qp_debugfs_cleanup(struct mlx5_core_dev *dev) in mlx5_qp_debugfs_cleanup()
125 int mlx5_eq_debugfs_init(struct mlx5_core_dev *dev) in mlx5_eq_debugfs_init()
137 void mlx5_eq_debugfs_cleanup(struct mlx5_core_dev *dev) in mlx5_eq_debugfs_cleanup()
194 int mlx5_cmdif_debugfs_init(struct mlx5_core_dev *dev) in mlx5_cmdif_debugfs_init()
248 void mlx5_cmdif_debugfs_cleanup(struct mlx5_core_dev *dev) in mlx5_cmdif_debugfs_cleanup()
256 int mlx5_cq_debugfs_init(struct mlx5_core_dev *dev) in mlx5_cq_debugfs_init()
268 void mlx5_cq_debugfs_cleanup(struct mlx5_core_dev *dev) in mlx5_cq_debugfs_cleanup()
276 static u64 qp_read_field(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp, in qp_read_field()
361 static u64 eq_read_field(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in eq_read_field()
[all …]
Dmain.c165 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili) in wait_fw_init()
181 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version()
246 static int mlx5_pci_enable_device(struct mlx5_core_dev *dev) in mlx5_pci_enable_device()
262 static void mlx5_pci_disable_device(struct mlx5_core_dev *dev) in mlx5_pci_disable_device()
295 static int mlx5_alloc_irq_vectors(struct mlx5_core_dev *dev) in mlx5_alloc_irq_vectors()
327 static void mlx5_free_irq_vectors(struct mlx5_core_dev *dev) in mlx5_free_irq_vectors()
347 static u16 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size) in to_fw_pkey_sz()
368 static int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, in mlx5_core_get_caps_mode()
416 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps()
426 static int set_caps(struct mlx5_core_dev *dev, void *in, int in_sz, int opmod) in set_caps()
[all …]
Dpagealloc.c48 struct mlx5_core_dev *dev;
74 static int insert_page(struct mlx5_core_dev *dev, u64 addr, struct page *page, u16 func_id) in insert_page()
112 static struct fw_page *find_fw_page(struct mlx5_core_dev *dev, u64 addr) in find_fw_page()
134 static int mlx5_cmd_query_pages(struct mlx5_core_dev *dev, u16 *func_id, in mlx5_cmd_query_pages()
156 static int alloc_4k(struct mlx5_core_dev *dev, u64 *addr) in alloc_4k()
182 static void free_4k(struct mlx5_core_dev *dev, u64 addr) in free_4k()
209 static int alloc_system_page(struct mlx5_core_dev *dev, u16 func_id) in alloc_system_page()
255 static void page_notify_fail(struct mlx5_core_dev *dev, u16 func_id) in page_notify_fail()
271 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages()
334 static int reclaim_pages_cmd(struct mlx5_core_dev *dev, in reclaim_pages_cmd()
[all …]
Dsrq.c42 void mlx5_srq_event(struct mlx5_core_dev *dev, u32 srqn, int event_type) in mlx5_srq_event()
135 struct mlx5_core_srq *mlx5_core_get_srq(struct mlx5_core_dev *dev, u32 srqn) in mlx5_core_get_srq()
152 static int create_srq_cmd(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq, in create_srq_cmd()
187 static int destroy_srq_cmd(struct mlx5_core_dev *dev, in destroy_srq_cmd()
201 static int arm_srq_cmd(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq, in arm_srq_cmd()
216 static int query_srq_cmd(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq, in query_srq_cmd()
245 static int create_xrc_srq_cmd(struct mlx5_core_dev *dev, in create_xrc_srq_cmd()
285 static int destroy_xrc_srq_cmd(struct mlx5_core_dev *dev, in destroy_xrc_srq_cmd()
299 static int arm_xrc_srq_cmd(struct mlx5_core_dev *dev, in arm_xrc_srq_cmd()
314 static int query_xrc_srq_cmd(struct mlx5_core_dev *dev, in query_xrc_srq_cmd()
[all …]
Dvport.c42 static int _mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, in _mlx5_query_vport_state()
57 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state()
67 u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_admin_state()
77 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state()
95 static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport, in mlx5_query_nic_vport_context()
109 static int mlx5_modify_nic_vport_context(struct mlx5_core_dev *mdev, void *in, in mlx5_modify_nic_vport_context()
119 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_min_inline()
133 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_min_inline()
150 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_modify_nic_vport_min_inline()
170 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_mac_address()
[all …]
Dfs_cmd.c42 int mlx5_cmd_update_root_ft(struct mlx5_core_dev *dev, in mlx5_cmd_update_root_ft()
65 int mlx5_cmd_create_flow_table(struct mlx5_core_dev *dev, in mlx5_cmd_create_flow_table()
119 int mlx5_cmd_destroy_flow_table(struct mlx5_core_dev *dev, in mlx5_cmd_destroy_flow_table()
137 int mlx5_cmd_modify_flow_table(struct mlx5_core_dev *dev, in mlx5_cmd_modify_flow_table()
182 int mlx5_cmd_create_flow_group(struct mlx5_core_dev *dev, in mlx5_cmd_create_flow_group()
207 int mlx5_cmd_destroy_flow_group(struct mlx5_core_dev *dev, in mlx5_cmd_destroy_flow_group()
227 static int mlx5_cmd_set_fte(struct mlx5_core_dev *dev, in mlx5_cmd_set_fte()
326 int mlx5_cmd_create_fte(struct mlx5_core_dev *dev, in mlx5_cmd_create_fte()
334 int mlx5_cmd_update_fte(struct mlx5_core_dev *dev, in mlx5_cmd_update_fte()
351 int mlx5_cmd_delete_fte(struct mlx5_core_dev *dev, in mlx5_cmd_delete_fte()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.h41 void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev,
45 u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev);
46 unsigned int mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev);
47 int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters,
50 int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev);
51 void mlx5_fpga_ipsec_cleanup(struct mlx5_core_dev *mdev);
55 static inline void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_sa_cmd_exec()
66 static inline u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps()
72 mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count()
77 static inline int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_counters_read()
[all …]
Dcmd.h68 int mlx5_fpga_caps(struct mlx5_core_dev *dev);
69 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query);
70 int mlx5_fpga_ctrl_op(struct mlx5_core_dev *dev, u8 op);
71 int mlx5_fpga_access_reg(struct mlx5_core_dev *dev, u8 size, u64 addr,
73 int mlx5_fpga_sbu_caps(struct mlx5_core_dev *dev, void *caps, int size);
75 int mlx5_fpga_create_qp(struct mlx5_core_dev *dev, void *fpga_qpc,
77 int mlx5_fpga_modify_qp(struct mlx5_core_dev *dev, u32 fpga_qpn,
79 int mlx5_fpga_query_qp(struct mlx5_core_dev *dev, u32 fpga_qpn, void *fpga_qpc);
80 int mlx5_fpga_query_qp_counters(struct mlx5_core_dev *dev, u32 fpga_qpn,
82 int mlx5_fpga_destroy_qp(struct mlx5_core_dev *dev, u32 fpga_qpn);
Dcore.h42 struct mlx5_core_dev *mdev;
80 int mlx5_fpga_init(struct mlx5_core_dev *mdev);
81 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev);
82 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev);
83 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev);
84 void mlx5_fpga_event(struct mlx5_core_dev *mdev, u8 event, void *data);
88 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init()
93 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup()
97 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start()
102 static inline void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop()
[all …]
Dcmd.c44 int mlx5_fpga_access_reg(struct mlx5_core_dev *dev, u8 size, u64 addr, in mlx5_fpga_access_reg()
74 int mlx5_fpga_caps(struct mlx5_core_dev *dev) in mlx5_fpga_caps()
83 int mlx5_fpga_ctrl_op(struct mlx5_core_dev *dev, u8 op) in mlx5_fpga_ctrl_op()
94 int mlx5_fpga_sbu_caps(struct mlx5_core_dev *dev, void *caps, int size) in mlx5_fpga_sbu_caps()
126 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query) in mlx5_fpga_query()
143 int mlx5_fpga_create_qp(struct mlx5_core_dev *dev, void *fpga_qpc, in mlx5_fpga_create_qp()
164 int mlx5_fpga_modify_qp(struct mlx5_core_dev *dev, u32 fpga_qpn, in mlx5_fpga_modify_qp()
180 int mlx5_fpga_query_qp(struct mlx5_core_dev *dev, in mlx5_fpga_query_qp()
199 int mlx5_fpga_destroy_qp(struct mlx5_core_dev *dev, u32 fpga_qpn) in mlx5_fpga_destroy_qp()
210 int mlx5_fpga_query_qp_counters(struct mlx5_core_dev *dev, u32 fpga_qpn, in mlx5_fpga_query_qp_counters()
/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dipsec.h103 void *mlx5_accel_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev,
114 u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev);
116 unsigned int mlx5_accel_ipsec_counters_count(struct mlx5_core_dev *mdev);
117 int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters,
120 int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev);
121 void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev);
127 static inline int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_init()
132 static inline void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_cleanup()
Dipsec.c40 void *mlx5_accel_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_accel_ipsec_sa_cmd_exec()
54 u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_device_caps()
59 unsigned int mlx5_accel_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_counters_count()
64 int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, in mlx5_accel_ipsec_counters_read()
70 int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_init()
75 void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_cleanup()
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.h85 int mlx5_mpfs_init(struct mlx5_core_dev *dev);
86 void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev);
87 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac);
88 int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac);
90 static inline int mlx5_mpfs_init(struct mlx5_core_dev *dev) { return 0; } in mlx5_mpfs_init()
91 static inline void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev) {} in mlx5_mpfs_cleanup()
92 static inline int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_add_mac()
93 static inline int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_del_mac()
Dmlx5.h36 void mlx5_init_reserved_gids(struct mlx5_core_dev *dev);
37 void mlx5_cleanup_reserved_gids(struct mlx5_core_dev *dev);
38 int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count);
39 void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count);
40 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index);
41 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index);
Dgid.c39 void mlx5_init_reserved_gids(struct mlx5_core_dev *dev) in mlx5_init_reserved_gids()
48 void mlx5_cleanup_reserved_gids(struct mlx5_core_dev *dev) in mlx5_cleanup_reserved_gids()
56 int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count) in mlx5_core_reserve_gids()
80 void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count) in mlx5_core_unreserve_gids()
93 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index) in mlx5_core_reserved_gid_alloc()
110 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index) in mlx5_core_reserved_gid_free()
116 unsigned int mlx5_core_reserved_gids_count(struct mlx5_core_dev *dev) in mlx5_core_reserved_gids_count()
122 int mlx5_core_roce_gid_set(struct mlx5_core_dev *dev, unsigned int index, in mlx5_core_roce_gid_set()

123