Home
last modified time | relevance | path

Searched refs:MLX5_SET (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_fs_cmd.c47 MLX5_SET(set_flow_table_root_in, in, opcode, in mlx5_cmd_update_root_ft()
49 MLX5_SET(set_flow_table_root_in, in, table_type, type); in mlx5_cmd_update_root_ft()
50 MLX5_SET(set_flow_table_root_in, in, table_id, id); in mlx5_cmd_update_root_ft()
67 MLX5_SET(create_flow_table_in, in, opcode, in mlx5_cmd_fs_create_ft()
70 MLX5_SET(create_flow_table_in, in, table_type, type); in mlx5_cmd_fs_create_ft()
71 MLX5_SET(create_flow_table_in, in, flow_table_context.level, level); in mlx5_cmd_fs_create_ft()
72 MLX5_SET(create_flow_table_in, in, flow_table_context.log_size, in mlx5_cmd_fs_create_ft()
75 MLX5_SET(create_flow_table_in, in, vport_number, vport); in mlx5_cmd_fs_create_ft()
76 MLX5_SET(create_flow_table_in, in, other_vport, 1); in mlx5_cmd_fs_create_ft()
96 MLX5_SET(destroy_flow_table_in, in, opcode, in mlx5_cmd_fs_destroy_ft()
[all …]
HDmlx5_transobj.c39 MLX5_SET(alloc_transport_domain_in, in, opcode, in mlx5_alloc_transport_domain()
55 MLX5_SET(dealloc_transport_domain_in, in, opcode, in mlx5_dealloc_transport_domain()
57 MLX5_SET(dealloc_transport_domain_in, in, transport_domain, tdn); in mlx5_dealloc_transport_domain()
67 MLX5_SET(create_rq_in, in, opcode, MLX5_CMD_OP_CREATE_RQ); in mlx5_core_create_rq()
80 MLX5_SET(modify_rq_in, in, opcode, MLX5_CMD_OP_MODIFY_RQ); in mlx5_core_modify_rq()
90 MLX5_SET(destroy_rq_in, in, opcode, MLX5_CMD_OP_DESTROY_RQ); in mlx5_core_destroy_rq()
91 MLX5_SET(destroy_rq_in, in, rqn, rqn); in mlx5_core_destroy_rq()
101 MLX5_SET(query_rq_in, in, opcode, MLX5_CMD_OP_QUERY_RQ); in mlx5_core_query_rq()
102 MLX5_SET(query_rq_in, in, rqn, rqn); in mlx5_core_query_rq()
112 MLX5_SET(create_sq_in, in, opcode, MLX5_CMD_OP_CREATE_SQ); in mlx5_core_create_sq()
[all …]
HDmlx5_vport.c42 MLX5_SET(query_vport_state_in, in, opcode, in _mlx5_query_vport_state()
44 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in _mlx5_query_vport_state()
45 MLX5_SET(query_vport_state_in, in, vport_number, vport); in _mlx5_query_vport_state()
47 MLX5_SET(query_vport_state_in, in, other_vport, 1); in _mlx5_query_vport_state()
83 MLX5_SET(modify_vport_state_in, in, opcode, in mlx5_modify_vport_admin_state()
85 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
86 MLX5_SET(modify_vport_state_in, in, vport_number, vport); in mlx5_modify_vport_admin_state()
89 MLX5_SET(modify_vport_state_in, in, other_vport, 1); in mlx5_modify_vport_admin_state()
91 MLX5_SET(modify_vport_state_in, in, admin_state, state); in mlx5_modify_vport_admin_state()
106 MLX5_SET(query_nic_vport_context_in, in, opcode, in mlx5_query_nic_vport_context()
[all …]
HDmlx5_port.c51 MLX5_SET(access_register_in, in, opcode, MLX5_CMD_OP_ACCESS_REG); in mlx5_core_access_reg()
52 MLX5_SET(access_register_in, in, op_mod, !write); in mlx5_core_access_reg()
53 MLX5_SET(access_register_in, in, argument, arg); in mlx5_core_access_reg()
54 MLX5_SET(access_register_in, in, register_id, reg_num); in mlx5_core_access_reg()
75 MLX5_SET(qcam_reg, in, feature_group, feature_group); in mlx5_query_qcam_reg()
76 MLX5_SET(qcam_reg, in, access_reg_group, access_reg_group); in mlx5_query_qcam_reg()
88 MLX5_SET(pcam_reg, in, feature_group, feature_group); in mlx5_query_pcam_reg()
89 MLX5_SET(pcam_reg, in, access_reg_group, access_reg_group); in mlx5_query_pcam_reg()
100 MLX5_SET(mcam_reg, in, feature_group, feature_group); in mlx5_query_mcam_reg()
101 MLX5_SET(mcam_reg, in, access_reg_group, access_reg_group); in mlx5_query_mcam_reg()
[all …]
HDmlx5_cq.c111 MLX5_SET(create_cq_in, in, opcode, MLX5_CMD_OP_CREATE_CQ); in mlx5_core_create_cq()
142 MLX5_SET(destroy_cq_in, din, opcode, MLX5_CMD_OP_DESTROY_CQ); in mlx5_core_create_cq()
143 MLX5_SET(destroy_cq_in, din, cqn, cq->cqn); in mlx5_core_create_cq()
178 MLX5_SET(destroy_cq_in, in, opcode, MLX5_CMD_OP_DESTROY_CQ); in mlx5_core_destroy_cq()
179 MLX5_SET(destroy_cq_in, in, cqn, cq->cqn); in mlx5_core_destroy_cq()
201 MLX5_SET(query_cq_in, in, opcode, MLX5_CMD_OP_QUERY_CQ); in mlx5_core_query_cq()
202 MLX5_SET(query_cq_in, in, cqn, cq->cqn); in mlx5_core_query_cq()
214 MLX5_SET(modify_cq_in, in, opcode, MLX5_CMD_OP_MODIFY_CQ); in mlx5_core_modify_cq()
227 MLX5_SET(modify_cq_in, in, cqn, cq->cqn); in mlx5_core_modify_cq_moderation()
229 MLX5_SET(cqc, cqc, cq_period, cq_period); in mlx5_core_modify_cq_moderation()
[all …]
HDmlx5_srq.c62 MLX5_SET(wq, wq, wq_signature, !!(in->flags & MLX5_SRQ_FLAG_WQ_SIG)); in set_wq()
63 MLX5_SET(wq, wq, log_wq_pg_sz, in->log_page_size); in set_wq()
64 MLX5_SET(wq, wq, log_wq_stride, in->wqe_shift + 4); in set_wq()
65 MLX5_SET(wq, wq, log_wq_sz, in->log_size); in set_wq()
66 MLX5_SET(wq, wq, page_offset, in->page_offset); in set_wq()
67 MLX5_SET(wq, wq, lwm, in->lwm); in set_wq()
68 MLX5_SET(wq, wq, pd, in->pd); in set_wq()
74 MLX5_SET(srqc, srqc, wq_signature, !!(in->flags & MLX5_SRQ_FLAG_WQ_SIG)); in set_srqc()
75 MLX5_SET(srqc, srqc, log_page_size, in->log_page_size); in set_srqc()
76 MLX5_SET(srqc, srqc, log_rq_stride, in->wqe_shift); in set_srqc()
[all …]
HDmlx5_qp.c130 MLX5_SET(create_qp_in, in, opcode, MLX5_CMD_OP_CREATE_QP); in mlx5_core_create_qp()
148 MLX5_SET(destroy_qp_in, in, opcode, MLX5_CMD_OP_DESTROY_QP); in mlx5_core_create_qp()
149 MLX5_SET(destroy_qp_in, in, qpn, qp->qpn); in mlx5_core_create_qp()
165 MLX5_SET(destroy_qp_in, in, opcode, MLX5_CMD_OP_DESTROY_QP); in mlx5_core_destroy_qp()
166 MLX5_SET(destroy_qp_in, in, qpn, qp->qpn); in mlx5_core_destroy_qp()
215 MLX5_SET(typ##_in, in, opcode, _opcode); \ in modify_qp_mbox_alloc()
216 MLX5_SET(typ##_in, in, qpn, _qpn) in modify_qp_mbox_alloc()
219 MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ in modify_qp_mbox_alloc()
318 MLX5_SET(query_qp_in, in, opcode, MLX5_CMD_OP_QUERY_QP); in mlx5_core_qp_query()
319 MLX5_SET(query_qp_in, in, qpn, qp->qpn); in mlx5_core_qp_query()
[all …]
HDmlx5_mr.c70 MLX5_SET(create_mkey_in, in, opcode, MLX5_CMD_OP_CREATE_MKEY); in mlx5_core_create_mkey_cb()
71 MLX5_SET(mkc, mkc, mkey_7_0, key); in mlx5_core_create_mkey_cb()
75 MLX5_SET(mkc, mkc, relaxed_ordering_write, 1); in mlx5_core_create_mkey_cb()
138 MLX5_SET(destroy_mkey_in, in, opcode, MLX5_CMD_OP_DESTROY_MKEY); in mlx5_core_destroy_mkey()
139 MLX5_SET(destroy_mkey_in, in, mkey_index, mlx5_mkey_to_idx(mkey->key)); in mlx5_core_destroy_mkey()
151 MLX5_SET(query_mkey_in, in, opcode, MLX5_CMD_OP_QUERY_MKEY); in mlx5_core_query_mkey()
152 MLX5_SET(query_mkey_in, in, mkey_index, mlx5_mkey_to_idx(mkey->key)); in mlx5_core_query_mkey()
165 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5_core_dump_fill_mkey()
195 MLX5_SET(create_psv_in, in, opcode, MLX5_CMD_OP_CREATE_PSV); in mlx5_core_create_psv()
196 MLX5_SET(create_psv_in, in, pd, pdn); in mlx5_core_create_psv()
[all …]
HDmlx5_fw.c40 MLX5_SET(query_adapter_in, in, opcode, MLX5_CMD_OP_QUERY_ADAPTER); in mlx5_cmd_query_adapter()
101 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5_core_query_special_contexts()
244 MLX5_SET(init_hca_in, in, opcode, MLX5_CMD_OP_INIT_HCA); in mlx5_cmd_init_hca()
255 MLX5_SET(teardown_hca_in, in, opcode, MLX5_CMD_OP_TEARDOWN_HCA); in mlx5_cmd_teardown_hca()
271 MLX5_SET(teardown_hca_in, in, opcode, MLX5_CMD_OP_TEARDOWN_HCA); in mlx5_cmd_force_teardown_hca()
272 MLX5_SET(teardown_hca_in, in, profile, MLX5_TEARDOWN_HCA_IN_PROFILE_FORCE_CLOSE); in mlx5_cmd_force_teardown_hca()
301 MLX5_SET(teardown_hca_in, in, opcode, MLX5_CMD_OP_TEARDOWN_HCA); in mlx5_cmd_fast_teardown_hca()
302 MLX5_SET(teardown_hca_in, in, profile, in mlx5_cmd_fast_teardown_hca()
342 MLX5_SET(set_dc_cnak_trace_in, in, opcode, MLX5_CMD_OP_SET_DC_CNAK_TRACE); in mlx5_core_set_dc_cnak_trace()
343 MLX5_SET(set_dc_cnak_trace_in, in, enable, enable); in mlx5_core_set_dc_cnak_trace()
[all …]
HDmlx5_mpfs.c67 MLX5_SET(set_l2_table_entry_in, in, opcode, MLX5_CMD_OP_SET_L2_TABLE_ENTRY); in mlx5_mpfs_add_mac()
68 MLX5_SET(set_l2_table_entry_in, in, table_index, index); in mlx5_mpfs_add_mac()
69 MLX5_SET(set_l2_table_entry_in, in, vlan_valid, vlan_valid); in mlx5_mpfs_add_mac()
70 MLX5_SET(set_l2_table_entry_in, in, vlan, vlan); in mlx5_mpfs_add_mac()
99 MLX5_SET(delete_l2_table_entry_in, in, opcode, MLX5_CMD_OP_DELETE_L2_TABLE_ENTRY); in mlx5_mpfs_del_mac()
100 MLX5_SET(delete_l2_table_entry_in, in, table_index, index); in mlx5_mpfs_del_mac()
HDmlx5_eswitch.c94 MLX5_SET(modify_nic_vport_context_in, in, in arm_vport_context_events_cmd()
96 MLX5_SET(modify_nic_vport_context_in, in, field_select.change_event, 1); in arm_vport_context_events_cmd()
97 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport); in arm_vport_context_events_cmd()
99 MLX5_SET(modify_nic_vport_context_in, in, other_vport, 1); in arm_vport_context_events_cmd()
103 MLX5_SET(nic_vport_context, nic_vport_ctx, arm_change_event, 1); in arm_vport_context_events_cmd()
106 MLX5_SET(nic_vport_context, nic_vport_ctx, in arm_vport_context_events_cmd()
109 MLX5_SET(nic_vport_context, nic_vport_ctx, in arm_vport_context_events_cmd()
121 MLX5_SET(query_nic_vport_context_in, in, opcode, in query_esw_vport_context_cmd()
124 MLX5_SET(query_esw_vport_context_in, in, vport_number, vport); in query_esw_vport_context_cmd()
126 MLX5_SET(query_esw_vport_context_in, in, other_vport, 1); in query_esw_vport_context_cmd()
[all …]
HDmlx5_mcg.c39 MLX5_SET(attach_to_mcg_in, in, opcode, MLX5_CMD_OP_ATTACH_TO_MCG); in mlx5_core_attach_mcg()
40 MLX5_SET(attach_to_mcg_in, in, qpn, qpn); in mlx5_core_attach_mcg()
53 MLX5_SET(detach_from_mcg_in, in, opcode, MLX5_CMD_OP_DETACH_FROM_MCG); in mlx5_core_detach_mcg()
54 MLX5_SET(detach_from_mcg_in, in, qpn, qpn); in mlx5_core_detach_mcg()
HDmlx5_pagealloc.c303 MLX5_SET(query_pages_in, in, opcode, MLX5_CMD_OP_QUERY_PAGES); in mlx5_cmd_query_pages()
304 MLX5_SET(query_pages_in, in, op_mod, boot ? in mlx5_cmd_query_pages()
343 MLX5_SET(manage_pages_in, in, opcode, MLX5_CMD_OP_MANAGE_PAGES); in give_pages()
344 MLX5_SET(manage_pages_in, in, op_mod, MLX5_PAGES_GIVE); in give_pages()
345 MLX5_SET(manage_pages_in, in, function_id, func_id); in give_pages()
346 MLX5_SET(manage_pages_in, in, input_num_entries, npages); in give_pages()
368 MLX5_SET(manage_pages_in, nin, opcode, MLX5_CMD_OP_MANAGE_PAGES); in give_pages()
369 MLX5_SET(manage_pages_in, nin, op_mod, MLX5_PAGES_CANT_GIVE); in give_pages()
370 MLX5_SET(manage_pages_in, nin, function_id, func_id); in give_pages()
411 MLX5_SET(manage_pages_out, out, output_num_entries, i); in reclaim_pages_cmd()
[all …]
HDmlx5_diagnostics.c110 MLX5_SET(diagnostic_params_context, diag_params_ctx, in mlx5_core_set_diagnostics_full()
112 MLX5_SET(diagnostic_params_context, diag_params_ctx, in mlx5_core_set_diagnostics_full()
114 MLX5_SET(diagnostic_params_context, diag_params_ctx, in mlx5_core_set_diagnostics_full()
140 MLX5_SET(diagnostic_params_context, in mlx5_core_set_diagnostics_full()
152 MLX5_SET(diagnostic_params_context, diag_params_ctx, in mlx5_core_set_diagnostics_full()
230 MLX5_SET(mpcnt_reg, in, grp, in mlx5_core_get_diagnostics_full()
246 MLX5_SET(mpcnt_reg, in, grp, in mlx5_core_get_diagnostics_full()
HDmlx5_pd.c39 MLX5_SET(alloc_pd_in, in, opcode, MLX5_CMD_OP_ALLOC_PD); in mlx5_core_alloc_pd()
55 MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD); in mlx5_core_dealloc_pd()
56 MLX5_SET(dealloc_pd_in, in, pd, pdn); in mlx5_core_dealloc_pd()
HDmlx5_mad.c49 MLX5_SET(mad_ifc_in, in, opcode, MLX5_CMD_OP_MAD_IFC); in mlx5_core_mad_ifc()
50 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_core_mad_ifc()
51 MLX5_SET(mad_ifc_in, in, port, port); in mlx5_core_mad_ifc()
HDmlx5_eq.c94 MLX5_SET(destroy_eq_in, in, opcode, MLX5_CMD_OP_DESTROY_EQ); in mlx5_cmd_destroy_eq()
95 MLX5_SET(destroy_eq_in, in, eq_number, eqn); in mlx5_cmd_destroy_eq()
453 MLX5_SET(create_eq_in, in, opcode, MLX5_CMD_OP_CREATE_EQ); in mlx5_create_map_eq()
457 MLX5_SET(eqc, eqc, log_eq_size, ilog2(eq->nent)); in mlx5_create_map_eq()
458 MLX5_SET(eqc, eqc, uar_page, uar->index); in mlx5_create_map_eq()
459 MLX5_SET(eqc, eqc, intr, vecidx); in mlx5_create_map_eq()
460 MLX5_SET(eqc, eqc, log_page_size, in mlx5_create_map_eq()
636 MLX5_SET(query_eq_in, in, opcode, MLX5_CMD_OP_QUERY_EQ); in mlx5_core_eq_query()
637 MLX5_SET(query_eq_in, in, eq_number, eq->eqn); in mlx5_core_eq_query()
/freebsd-11-stable/sys/dev/mlx5/mlx5_fpga/
HDmlx5fpga_conn.c235 MLX5_SET(mkc, mkc, access_mode_1_0, MLX5_MKC_ACCESS_MODE_PA); in mlx5_fpga_conn_create_mkey()
236 MLX5_SET(mkc, mkc, lw, 1); in mlx5_fpga_conn_create_mkey()
237 MLX5_SET(mkc, mkc, lr, 1); in mlx5_fpga_conn_create_mkey()
239 MLX5_SET(mkc, mkc, pd, pdn); in mlx5_fpga_conn_create_mkey()
240 MLX5_SET(mkc, mkc, length64, 1); in mlx5_fpga_conn_create_mkey()
241 MLX5_SET(mkc, mkc, qpn, 0xffffff); in mlx5_fpga_conn_create_mkey()
441 MLX5_SET(cqc, temp_cqc, log_cq_size, ilog2(cq_size)); in mlx5_fpga_conn_create_cq()
469 MLX5_SET(cqc, cqc, log_cq_size, ilog2(cq_size)); in mlx5_fpga_conn_create_cq()
470 MLX5_SET(cqc, cqc, c_eqn, eqn); in mlx5_fpga_conn_create_cq()
471 MLX5_SET(cqc, cqc, uar_page, fdev->conn_res.uar->index); in mlx5_fpga_conn_create_cq()
[all …]
HDmlx5fpga_cmd.c59 MLX5_SET(fpga_access_reg, in, size, size); in mlx5_fpga_access_reg()
89 MLX5_SET(fpga_ctrl, in, operation, op); in mlx5_fpga_ctrl_op()
133 MLX5_SET(fpga_ctrl, in, operation, op); in mlx5_fpga_ctrl_write()
134 MLX5_SET(fpga_ctrl, in, flash_select_admin, image); in mlx5_fpga_ctrl_write()
187 MLX5_SET(fpga_ctrl, in, operation, *connect); in mlx5_fpga_ctrl_connect()
202 MLX5_SET(mtmp_reg, in, sensor_index, temp->index); in mlx5_fpga_query_mtmp()
203 MLX5_SET(mtmp_reg, in, i, in mlx5_fpga_query_mtmp()
234 MLX5_SET(fpga_create_qp_in, in, opcode, MLX5_CMD_OP_FPGA_CREATE_QP); in mlx5_fpga_create_qp()
255 MLX5_SET(fpga_modify_qp_in, in, opcode, MLX5_CMD_OP_FPGA_MODIFY_QP); in mlx5_fpga_modify_qp()
256 MLX5_SET(fpga_modify_qp_in, in, field_select, fields); in mlx5_fpga_modify_qp()
[all …]
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
HDmlx5_en_main.c674 MLX5_SET(mpcnt_reg, in, grp, MLX5_PCIE_PERFORMANCE_COUNTERS_GROUP); in mlx5e_update_pcie_counters()
682 MLX5_SET(mpcnt_reg, in, grp, MLX5_PCIE_TIMERS_AND_STATES_COUNTERS_GROUP); in mlx5e_update_pcie_counters()
689 MLX5_SET(mpcnt_reg, in, grp, MLX5_PCIE_LANE_COUNTERS_GROUP); in mlx5e_update_pcie_counters()
734 MLX5_SET(ppcnt_reg, in, local_port, 1); in mlx5e_update_pport_counters()
737 MLX5_SET(ppcnt_reg, in, grp, MLX5_IEEE_802_3_COUNTERS_GROUP); in mlx5e_update_pport_counters()
744 MLX5_SET(ppcnt_reg, in, grp, MLX5_RFC_2819_COUNTERS_GROUP); in mlx5e_update_pport_counters()
754 MLX5_SET(ppcnt_reg, in, grp, MLX5_RFC_2863_COUNTERS_GROUP); in mlx5e_update_pport_counters()
760 MLX5_SET(ppcnt_reg, in, grp, MLX5_PHYSICAL_LAYER_COUNTERS_GROUP); in mlx5e_update_pport_counters()
766 MLX5_SET(ppcnt_reg, in, grp, MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP); in mlx5e_update_pport_counters()
776 MLX5_SET(ppcnt_reg, in, grp, MLX5_PHYSICAL_LAYER_STATISTICAL_GROUP); in mlx5e_update_pport_counters()
[all …]
HDmlx5_en_dim.c44 MLX5_SET(cqc, cqc, cq_period, prof.usec); in mlx5e_dim_build_cq_param()
45 MLX5_SET(cqc, cqc, cq_max_count, prof.pkts); in mlx5e_dim_build_cq_param()
51 MLX5_SET(cqc, cqc, cq_period, prof.usec); in mlx5e_dim_build_cq_param()
52 MLX5_SET(cqc, cqc, cq_max_count, prof.pkts); in mlx5e_dim_build_cq_param()
HDmlx5_en_ethtool.c362 MLX5_SET(pplm_reg, in, local_port, 1); in mlx5e_fec_update()
451 MLX5_SET(pplm_reg, in, local_port, 1); in mlx5e_fec_mask_10x_25x_handler()
480 MLX5_SET(pplm_reg, in, local_port, 1); in mlx5e_fec_mask_10x_25x_handler()
483 MLX5_SET(pplm_reg, in, fec_override_admin_10g_40g, fec_mask_10x_25x[0]); in mlx5e_fec_mask_10x_25x_handler()
484 MLX5_SET(pplm_reg, in, fec_override_admin_25g, fec_mask_10x_25x[1]); in mlx5e_fec_mask_10x_25x_handler()
485 MLX5_SET(pplm_reg, in, fec_override_admin_50g, fec_mask_10x_25x[1]); in mlx5e_fec_mask_10x_25x_handler()
486 MLX5_SET(pplm_reg, in, fec_override_admin_56g, fec_mask_10x_25x[2]); in mlx5e_fec_mask_10x_25x_handler()
487 MLX5_SET(pplm_reg, in, fec_override_admin_100g, fec_mask_10x_25x[3]); in mlx5e_fec_mask_10x_25x_handler()
490 MLX5_SET(pplm_reg, in, fec_override_admin_50g_1x, priv->params_ethtool.fec_mask_50x[0]); in mlx5e_fec_mask_10x_25x_handler()
491 MLX5_SET(pplm_reg, in, fec_override_admin_100g_2x, priv->params_ethtool.fec_mask_50x[1]); in mlx5e_fec_mask_10x_25x_handler()
[all …]
HDmlx5_en_flow_table.c34 #define MLX5_SET_CFG(p, f, v) MLX5_SET(create_flow_group_in, p, f, v)
281 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
294 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
305 MLX5_SET(fte_match_param, mv, outer_headers.ip_protocol, IPPROTO_UDP); in mlx5e_add_eth_addr_rule_sub()
310 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
323 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
333 MLX5_SET(fte_match_param, mv, outer_headers.ip_protocol, IPPROTO_TCP); in mlx5e_add_eth_addr_rule_sub()
338 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
351 MLX5_SET(fte_match_param, mv, outer_headers.ethertype, in mlx5e_add_eth_addr_rule_sub()
362 MLX5_SET(fte_match_param, mv, outer_headers.ip_protocol, IPPROTO_AH); in mlx5e_add_eth_addr_rule_sub()
[all …]
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
HDmlx5_ib_mr.c184 MLX5_SET(mkc, mkc, free, 1); in add_keys()
185 MLX5_SET(mkc, mkc, umr_en, 1); in add_keys()
186 MLX5_SET(mkc, mkc, access_mode, MLX5_ACCESS_MODE_MTT); in add_keys()
188 MLX5_SET(mkc, mkc, qpn, 0xffffff); in add_keys()
189 MLX5_SET(mkc, mkc, translations_octword_size, (npages + 1) / 2); in add_keys()
190 MLX5_SET(mkc, mkc, log_page_size, 12); in add_keys()
498 MLX5_SET(mkc, mkc, access_mode, MLX5_ACCESS_MODE_PA); in mlx5_ib_get_dma_mr()
499 MLX5_SET(mkc, mkc, a, !!(acc & IB_ACCESS_REMOTE_ATOMIC)); in mlx5_ib_get_dma_mr()
500 MLX5_SET(mkc, mkc, rw, !!(acc & IB_ACCESS_REMOTE_WRITE)); in mlx5_ib_get_dma_mr()
501 MLX5_SET(mkc, mkc, rr, !!(acc & IB_ACCESS_REMOTE_READ)); in mlx5_ib_get_dma_mr()
[all …]
HDmlx5_ib_qp.c845 MLX5_SET(qpc, qpc, log_page_size, page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_user_qp()
846 MLX5_SET(qpc, qpc, page_offset, offset); in create_user_qp()
848 MLX5_SET(qpc, qpc, uar_page, uar_index); in create_user_qp()
953 MLX5_SET(qpc, qpc, uar_page, uar_index); in create_kernel_qp()
954 MLX5_SET(qpc, qpc, log_page_size, qp->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_kernel_qp()
957 MLX5_SET(qpc, qpc, fre, 1); in create_kernel_qp()
958 MLX5_SET(qpc, qpc, rlky, 1); in create_kernel_qp()
961 MLX5_SET(qpc, qpc, deth_sqpn, 1); in create_kernel_qp()
1045 MLX5_SET(tisc, tisc, transport_domain, tdn); in create_raw_packet_qp_tis()
1086 MLX5_SET(sqc, sqc, flush_in_error_en, 1); in create_raw_packet_qp_sq()
[all …]

12