/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_domain.c | 8 #define DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, dmn_type) \ argument 13 bool mlx5dr_domain_is_support_ptrn_arg(struct mlx5dr_domain *dmn) in mlx5dr_domain_is_support_ptrn_arg() 163 static int dr_domain_init_resources(struct mlx5dr_domain *dmn) in dr_domain_init_resources() 239 static int dr_domain_query_vport(struct mlx5dr_domain *dmn, in dr_domain_query_vport() 267 static int dr_domain_query_esw_mgr(struct mlx5dr_domain *dmn) in dr_domain_query_esw_mgr() 273 static void dr_domain_query_uplink(struct mlx5dr_domain *dmn) in dr_domain_query_uplink() 351 struct mlx5dr_domain *dmn) in dr_domain_query_fdb_caps() 390 struct mlx5dr_domain *dmn) in dr_domain_caps_init() 462 struct mlx5dr_domain *dmn; in mlx5dr_domain_create() local 541 int mlx5dr_domain_destroy(struct mlx5dr_domain *dmn) in mlx5dr_domain_destroy() [all …]
|
H A D | dr_matcher.c | 117 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_vxlan_gpe() 158 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_geneve() 175 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu() 187 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_dw_0() 199 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_teid() 211 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_dw_2() 223 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_first_ext() 260 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_any() 286 struct mlx5dr_domain *dmn) in dr_mask_is_icmp() 360 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_mpls_over_gre() [all …]
|
H A D | dr_action.c | 676 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_action_get_dest_fw_tbl_addr() local 705 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_action_get_dest_sw_tbl_addr() local 758 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_actions_build_ste_arr() local 1075 struct mlx5dr_domain *dmn = action->range->dmn; in dr_action_create_range_definer() local 1346 struct mlx5dr_domain *dmn, in dr_action_verify_reformat_params() 1705 dr_action_modify_sw_to_hw(struct mlx5dr_domain *dmn, in dr_action_modify_sw_to_hw() 1753 struct mlx5dr_domain *dmn = action->rewrite->dmn; in dr_action_modify_check_set_field_limitation() local 1784 struct mlx5dr_domain *dmn = action->rewrite->dmn; in dr_action_modify_check_add_field_limitation() local 1802 struct mlx5dr_domain *dmn = action->rewrite->dmn; in dr_action_modify_check_copy_field_limitation() local 1839 struct mlx5dr_domain *dmn = action->rewrite->dmn; in dr_action_modify_check_field_limitation() local [all …]
|
H A D | dr_fw.c | 8 mlx5dr_fw_create_recalc_cs_ft(struct mlx5dr_domain *dmn, u16 vport_num) in mlx5dr_fw_create_recalc_cs_ft() 83 void mlx5dr_fw_destroy_recalc_cs_ft(struct mlx5dr_domain *dmn, in mlx5dr_fw_destroy_recalc_cs_ft() 101 int mlx5dr_fw_create_md_tbl(struct mlx5dr_domain *dmn, in mlx5dr_fw_create_md_tbl() 162 void mlx5dr_fw_destroy_md_tbl(struct mlx5dr_domain *dmn, in mlx5dr_fw_destroy_md_tbl()
|
H A D | dr_definer.c | 40 dr_definer_find_obj(struct mlx5dr_domain *dmn, u16 format_id, in dr_definer_find_obj() 57 dr_definer_create_obj(struct mlx5dr_domain *dmn, u16 format_id, in dr_definer_create_obj() 107 static void dr_definer_destroy_obj(struct mlx5dr_domain *dmn, in dr_definer_destroy_obj() 115 int mlx5dr_definer_get(struct mlx5dr_domain *dmn, u16 format_id, in mlx5dr_definer_get() 139 void mlx5dr_definer_put(struct mlx5dr_domain *dmn, u32 definer_id) in mlx5dr_definer_put()
|
H A D | dr_rule.c | 62 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl() local 120 struct mlx5dr_domain *dmn) in dr_rule_handle_one_ste_in_update_list() 147 struct mlx5dr_domain *dmn, in dr_rule_send_update_list() 198 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_handle_collision() local 255 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_copy_ste() local 403 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_htbl() local 542 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_collision() local 688 struct mlx5dr_domain *dmn, in dr_rule_need_enlarge_hash() 722 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_action_stes() local 788 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_empty_entry() local [all …]
|
H A D | dr_send.c | 106 void mlx5dr_send_info_pool_destroy(struct mlx5dr_domain *dmn) in mlx5dr_send_info_pool_destroy() 132 int mlx5dr_send_info_pool_create(struct mlx5dr_domain *dmn) in mlx5dr_send_info_pool_create() 148 *mlx5dr_send_info_alloc(struct mlx5dr_domain *dmn, in mlx5dr_send_info_alloc() 537 static int dr_handle_pending_wc(struct mlx5dr_domain *dmn, in dr_handle_pending_wc() 616 static void dr_fill_data_segs(struct mlx5dr_domain *dmn, in dr_fill_data_segs() 626 static int dr_postsend_icm_data(struct mlx5dr_domain *dmn, in dr_postsend_icm_data() 712 int mlx5dr_send_postsend_htbl(struct mlx5dr_domain *dmn, in mlx5dr_send_postsend_htbl() 836 int mlx5dr_send_postsend_action(struct mlx5dr_domain *dmn, in mlx5dr_send_postsend_action() 994 static int dr_prepare_qp_to_rts(struct mlx5dr_domain *dmn) in dr_prepare_qp_to_rts() 1220 int mlx5dr_send_ring_alloc(struct mlx5dr_domain *dmn) in mlx5dr_send_ring_alloc() [all …]
|
H A D | dr_arg.c | 21 struct mlx5dr_domain *dmn; member 27 struct mlx5dr_domain *dmn; member 130 static struct dr_arg_pool *dr_arg_pool_create(struct mlx5dr_domain *dmn, in dr_arg_pool_create() 230 mlx5dr_arg_mgr_create(struct mlx5dr_domain *dmn) in mlx5dr_arg_mgr_create()
|
H A D | dr_table.c | 6 static int dr_table_set_miss_action_nic(struct mlx5dr_domain *dmn, in dr_table_set_miss_action_nic() 120 static int dr_table_init_nic(struct mlx5dr_domain *dmn, in dr_table_init_nic() 250 struct mlx5dr_table *mlx5dr_table_create(struct mlx5dr_domain *dmn, u32 level, in mlx5dr_table_create()
|
H A D | dr_dbg.c | 73 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_add() local 82 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_del() local 631 dr_dump_domain(struct seq_file *file, struct mlx5dr_domain *dmn) in dr_dump_domain() 662 static int dr_dump_domain_all(struct seq_file *file, struct mlx5dr_domain *dmn) in dr_dump_domain_all() 692 void mlx5dr_dbg_init_dump(struct mlx5dr_domain *dmn) in mlx5dr_dbg_init_dump() 716 void mlx5dr_dbg_uninit_dump(struct mlx5dr_domain *dmn) in mlx5dr_dbg_uninit_dump()
|
H A D | dr_ste.c | 313 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free() local 427 int mlx5dr_ste_htbl_init_and_postsend(struct mlx5dr_domain *dmn, in mlx5dr_ste_htbl_init_and_postsend() 452 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl() local 552 struct mlx5dr_domain *dmn, in mlx5dr_ste_set_actions_tx() 563 struct mlx5dr_domain *dmn, in mlx5dr_ste_set_actions_rx() 640 struct mlx5dr_domain *dmn = action->rewrite->dmn; in dr_ste_alloc_modify_hdr_chunk() local 676 struct mlx5dr_domain *dmn = action->rewrite->dmn; in mlx5dr_ste_alloc_modify_hdr() local 686 struct mlx5dr_domain *dmn = action->rewrite->dmn; in mlx5dr_ste_free_modify_hdr() local 713 int mlx5dr_ste_build_pre_check(struct mlx5dr_domain *dmn, in mlx5dr_ste_build_pre_check() 753 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr() local [all …]
|
H A D | dr_ptrn.c | 16 struct mlx5dr_domain *dmn; member 197 struct mlx5dr_ptrn_mgr *mlx5dr_ptrn_mgr_create(struct mlx5dr_domain *dmn) in mlx5dr_ptrn_mgr_create()
|
H A D | dr_icm_pool.c | 20 struct mlx5dr_domain *dmn; member 48 struct mlx5dr_domain *dmn; member 505 struct mlx5dr_icm_pool *mlx5dr_icm_pool_create(struct mlx5dr_domain *dmn, in mlx5dr_icm_pool_create()
|
H A D | dr_types.h | 26 #define mlx5dr_err(dmn, arg...) mlx5_core_err((dmn)->mdev, ##arg) argument 28 #define mlx5dr_dbg(dmn, arg...) mlx5_core_dbg((dmn)->mdev, ##arg) argument 218 struct mlx5dr_domain *dmn; member 971 struct mlx5dr_domain *dmn; member 1037 struct mlx5dr_domain *dmn; member 1051 struct mlx5dr_domain *dmn; member 1059 struct mlx5dr_domain *dmn; member 1070 struct mlx5dr_domain *dmn; member 1083 struct mlx5dr_domain *dmn; member 1097 struct mlx5dr_domain *dmn; member [all …]
|
H A D | dr_ste_v0.c | 409 dr_ste_v0_set_actions_tx(struct mlx5dr_domain *dmn, in dr_ste_v0_set_actions_tx() 479 dr_ste_v0_set_actions_rx(struct mlx5dr_domain *dmn, in dr_ste_v0_set_actions_rx() 1652 struct mlx5dr_domain *dmn = sb->dmn; in dr_ste_v0_build_src_gvmi_qpn_tag() local
|
H A D | dr_ste_v1.c | 623 void dr_ste_v1_set_actions_tx(struct mlx5dr_domain *dmn, in dr_ste_v1_set_actions_tx() 779 void dr_ste_v1_set_actions_rx(struct mlx5dr_domain *dmn, in dr_ste_v1_set_actions_rx() 1984 struct mlx5dr_domain *dmn = sb->dmn; in dr_ste_v1_build_src_gvmi_qpn_tag() local
|
/openbmc/linux/drivers/powercap/ |
H A D | intel_rapl_common.c | 1292 int dmn, prim; in rapl_update_domain_data() local
|