Home
last modified time | relevance | path

Searched refs:gvmi (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste_v1.c328 static void dr_ste_v1_set_hit_gvmi(u8 *hw_ste_p, u16 gvmi) in dr_ste_v1_set_hit_gvmi() argument
330 MLX5_SET(ste_match_bwc_v1, hw_ste_p, next_table_base_63_48, gvmi); in dr_ste_v1_set_hit_gvmi()
341 void dr_ste_v1_init(u8 *hw_ste_p, u16 lu_type, bool is_rx, u16 gvmi) in dr_ste_v1_init() argument
346 MLX5_SET(ste_match_bwc_v1, hw_ste_p, gvmi, gvmi); in dr_ste_v1_init()
347 MLX5_SET(ste_match_bwc_v1, hw_ste_p, next_table_base_63_48, gvmi); in dr_ste_v1_init()
348 MLX5_SET(ste_match_bwc_v1, hw_ste_p, miss_address_63_48, gvmi); in dr_ste_v1_init()
602 u16 gvmi) in dr_ste_v1_arr_init_next_match() argument
608 dr_ste_v1_init(*last_ste, MLX5DR_STE_LU_TYPE_DONT_CARE, 0, gvmi); in dr_ste_v1_arr_init_next_match()
617 u16 gvmi) in dr_ste_v1_arr_init_next_match_range() argument
619 dr_ste_v1_arr_init_next_match(last_ste, added_stes, gvmi); in dr_ste_v1_arr_init_next_match_range()
[all …]
H A Ddr_ste_v0.c289 static void dr_ste_v0_set_hit_gvmi(u8 *hw_ste_p, u16 gvmi) in dr_ste_v0_set_hit_gvmi() argument
291 MLX5_SET(ste_general, hw_ste_p, next_table_base_63_48, gvmi); in dr_ste_v0_set_hit_gvmi()
303 enum dr_ste_v0_entry_type entry_type, u16 gvmi) in dr_ste_v0_init_full() argument
312 MLX5_SET(ste_rx_steering_mult, hw_ste_p, gvmi, gvmi); in dr_ste_v0_init_full()
313 MLX5_SET(ste_rx_steering_mult, hw_ste_p, next_table_base_63_48, gvmi); in dr_ste_v0_init_full()
314 MLX5_SET(ste_rx_steering_mult, hw_ste_p, miss_address_63_48, gvmi); in dr_ste_v0_init_full()
318 bool is_rx, u16 gvmi) in dr_ste_v0_init() argument
323 dr_ste_v0_init_full(hw_ste_p, lu_type, entry_type, gvmi); in dr_ste_v0_init()
400 u16 gvmi) in dr_ste_v0_arr_init_next() argument
405 entry_type, gvmi); in dr_ste_v0_arr_init_next()
[all …]
H A Dmlx5_ifc_dr.h55 u8 gvmi[0x10]; member
91 u8 gvmi[0x10]; member
129 u8 gvmi[0x10]; member
H A Ddr_ste_v1.h18 void dr_ste_v1_init(u8 *hw_ste_p, u16 lu_type, bool is_rx, u16 gvmi);
H A Ddr_domain.c236 uplink_vport->vhca_gvmi = dmn->info.caps.gvmi; in dr_domain_fill_uplink_caps()
262 vport_caps->vhca_gvmi = dmn->info.caps.gvmi; in dr_domain_query_vport()
H A Ddr_types.h279 u16 gvmi; member
865 u16 gvmi; member
1306 bool other_vport, u16 vport_number, u16 *gvmi);
1404 u16 gvmi,
H A Ddr_ste.h151 bool is_rx, u16 gvmi);
H A Ddr_action.c775 attr.gvmi = dmn->info.caps.gvmi; in mlx5dr_actions_build_ste_arr()
776 attr.hit_gvmi = dmn->info.caps.gvmi; in mlx5dr_actions_build_ste_arr()
944 attr.gvmi, rx_rule); in mlx5dr_actions_build_ste_arr()
2115 (vhca_id != dmn->info.caps.gvmi); in mlx5dr_action_create_dest_vport()
H A Ddr_ste.c402 u16 gvmi, in mlx5dr_ste_set_formatted_ste() argument
411 ste_ctx->ste_init(formatted_ste, htbl->lu_type, is_rx, gvmi); in mlx5dr_ste_set_formatted_ste()
436 dmn->info.caps.gvmi, in mlx5dr_ste_htbl_init_and_postsend()
768 dmn->info.caps.gvmi); in mlx5dr_ste_build_ste_arr()
H A Ddr_cmd.c35 u16 vport_number, u16 *gvmi) in mlx5dr_cmd_query_gvmi() argument
62 *gvmi = MLX5_GET(query_hca_cap_out, out, capability.cmd_hca_cap.vhca_id); in mlx5dr_cmd_query_gvmi()
119 caps->gvmi = MLX5_CAP_GEN(mdev, vhca_id); in mlx5dr_cmd_query_device()
H A Dmlx5_ifc_dr_ste_v1.h137 u8 gvmi[0xe]; member
H A Ddr_dbg.c941 DR_DUMP_REC_TYPE_DOMAIN_INFO_CAPS, domain_id, caps->gvmi, in dr_dump_domain_info_caps()
1018 domain_id, dmn->type, dmn->info.caps.gvmi, in dr_dump_domain()
H A Ddr_rule.c435 dmn->info.caps.gvmi, in dr_rule_rehash_htbl()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_cmd.h359 u16 vport_number, u16 *gvmi);
H A Dmlx5hws_cmd.c1268 u16 vport_number, u16 *gvmi) in mlx5hws_cmd_query_gvmi() argument
1295 *gvmi = MLX5_GET(query_hca_cap_out, out, capability.cmd_hca_cap.vhca_id); in mlx5hws_cmd_query_gvmi()