Home
last modified time | relevance | path

Searched refs:bnxt_ulp_context (Results 1 – 23 of 23) sorted by relevance

/dpdk/drivers/net/bnxt/tf_ulp/
H A Dbnxt_ulp.h100 struct bnxt_ulp_context { struct
135 struct bnxt_ulp_context *ulp_ctx;
143 ulp_ctx_deinit_allowed(struct bnxt_ulp_context *ulp_ctx);
155 bnxt_ulp_cntxt_mem_type_get(struct bnxt_ulp_context *ulp_ctx,
160 bnxt_ulp_cntxt_mem_type_set(struct bnxt_ulp_context *ulp_ctx,
179 bnxt_ulp_cntxt_shared_tfp_get(struct bnxt_ulp_context *ulp);
187 bnxt_ulp_cntxt_tfp_get(struct bnxt_ulp_context *ulp,
195 bnxt_ulp_ctxt_ptr2_mark_db_set(struct bnxt_ulp_context *ulp_ctx,
215 struct bnxt_ulp_context *
307 bnxt_ulp_cntxt_ha_enabled(struct bnxt_ulp_context *ulp_ctx);
[all …]
H A Dulp_port_db.h101 int32_t ulp_port_db_deinit(struct bnxt_ulp_context *ulp_ctxt);
138 ulp_port_db_function_id_get(struct bnxt_ulp_context *ulp_ctxt,
153 ulp_port_db_svif_get(struct bnxt_ulp_context *ulp_ctxt,
167 ulp_port_db_spif_get(struct bnxt_ulp_context *ulp_ctxt,
182 ulp_port_db_parif_get(struct bnxt_ulp_context *ulp_ctxt,
195 ulp_port_db_default_vnic_get(struct bnxt_ulp_context *ulp_ctxt,
209 ulp_port_db_vport_get(struct bnxt_ulp_context *ulp_ctxt,
249 ulp_port_db_port_type_get(struct bnxt_ulp_context *ulp_ctxt,
275 ulp_port_db_port_func_id_get(struct bnxt_ulp_context *ulp_ctxt,
314 ulp_port_db_parent_vnic_get(struct bnxt_ulp_context *ulp_ctxt,
[all …]
H A Dulp_flow_db.h106 int32_t ulp_flow_db_init(struct bnxt_ulp_context *ulp_ctxt);
117 int32_t ulp_flow_db_deinit(struct bnxt_ulp_context *ulp_ctxt);
130 ulp_flow_db_fid_alloc(struct bnxt_ulp_context *ulp_ctxt,
147 ulp_flow_db_resource_add(struct bnxt_ulp_context *ulp_ctxt,
165 ulp_flow_db_resource_del(struct bnxt_ulp_context *ulp_ctxt,
180 ulp_flow_db_fid_free(struct bnxt_ulp_context *ulp_ctxt,
196 ulp_flow_db_resource_get(struct bnxt_ulp_context *ulp_ctxt,
211 ulp_flow_db_flush_flows(struct bnxt_ulp_context *ulp_ctx,
223 ulp_flow_db_function_flow_flush(struct bnxt_ulp_context *ulp_ctx,
246 ulp_flow_db_validate_flow_func(struct bnxt_ulp_context *ulp_ctx,
[all …]
H A Dulp_fc_mgr.h57 ulp_fc_mgr_init(struct bnxt_ulp_context *ctxt);
65 ulp_fc_mgr_deinit(struct bnxt_ulp_context *ctxt);
74 ulp_fc_mgr_thread_start(struct bnxt_ulp_context *ctxt);
91 void ulp_fc_mgr_thread_cancel(struct bnxt_ulp_context *ctxt);
104 int ulp_fc_mgr_start_idx_set(struct bnxt_ulp_context *ctxt, enum tf_dir dir,
120 int ulp_fc_mgr_cntr_set(struct bnxt_ulp_context *ctxt, enum tf_dir dir,
134 int ulp_fc_mgr_cntr_reset(struct bnxt_ulp_context *ctxt, enum tf_dir dir,
145 bool ulp_fc_mgr_start_idx_isset(struct bnxt_ulp_context *ctxt, enum tf_dir dir);
153 bool ulp_fc_mgr_thread_isstarted(struct bnxt_ulp_context *ctxt);
167 int ulp_fc_mgr_query_count_get(struct bnxt_ulp_context *ulp_ctx,
[all …]
H A Dulp_ha_mgr.h38 ulp_ha_mgr_is_enabled(struct bnxt_ulp_context *ulp_ctx);
41 ulp_ha_mgr_enable(struct bnxt_ulp_context *ulp_ctx);
44 ulp_ha_mgr_init(struct bnxt_ulp_context *ulp_ctx);
47 ulp_ha_mgr_deinit(struct bnxt_ulp_context *ulp_ctx);
50 ulp_ha_mgr_app_type_get(struct bnxt_ulp_context *ulp_ctx,
54 ulp_ha_mgr_state_get(struct bnxt_ulp_context *ulp_ctx,
58 ulp_ha_mgr_open(struct bnxt_ulp_context *ulp_ctx);
61 ulp_ha_mgr_close(struct bnxt_ulp_context *ulp_ctx);
64 ulp_ha_mgr_region_get(struct bnxt_ulp_context *ulp_ctx,
H A Dulp_ha_mgr.c35 ulp_ha_mgr_region_set(struct bnxt_ulp_context *ulp_ctx,
38 ulp_ha_mgr_state_set(struct bnxt_ulp_context *ulp_ctx,
45 ulp_ha_mgr_state_set(struct bnxt_ulp_context *ulp_ctx, in ulp_ha_mgr_state_set()
112 ulp_ha_mgr_region_set(struct bnxt_ulp_context *ulp_ctx, in ulp_ha_mgr_region_set()
133 ulp_ha_mgr_app_type_set(struct bnxt_ulp_context *ulp_ctx, in ulp_ha_mgr_app_type_set()
158 struct bnxt_ulp_context *ulp_ctx; in ulp_ha_mgr_timer_cb()
320 ulp_ha_mgr_init(struct bnxt_ulp_context *ulp_ctx) in ulp_ha_mgr_init()
350 ulp_ha_mgr_deinit(struct bnxt_ulp_context *ulp_ctx) in ulp_ha_mgr_deinit()
390 ulp_ha_mgr_state_get(struct bnxt_ulp_context *ulp_ctx, in ulp_ha_mgr_state_get()
423 ulp_ha_mgr_open(struct bnxt_ulp_context *ulp_ctx) in ulp_ha_mgr_open()
[all …]
H A Dulp_port_db.c92 int32_t ulp_port_db_deinit(struct bnxt_ulp_context *ulp_ctxt) in ulp_port_db_deinit()
247 ulp_port_db_function_id_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_function_id_get()
279 ulp_port_db_svif_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_svif_get()
319 ulp_port_db_spif_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_spif_get()
359 ulp_port_db_parif_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_parif_get()
399 ulp_port_db_default_vnic_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_default_vnic_get()
434 ulp_port_db_vport_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_vport_get()
511 ulp_port_db_port_type_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_port_type_get()
562 ulp_port_db_port_func_id_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_port_func_id_get()
670 ulp_port_db_parent_vnic_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_parent_vnic_get()
[all …]
H A Dbnxt_ulp.c54 ulp_ctx_deinit_allowed(struct bnxt_ulp_context *ulp_ctx) in ulp_ctx_deinit_allowed()
122 bnxt_ulp_named_resources_calc(struct bnxt_ulp_context *ulp_ctx, in bnxt_ulp_named_resources_calc()
233 bnxt_ulp_tf_resources_get(struct bnxt_ulp_context *ulp_ctx, in bnxt_ulp_tf_resources_get()
312 struct bnxt_ulp_context *ulp_ctx = bp->ulp_ctx; in bnxt_ulp_cntxt_app_caps_init()
919 struct bnxt_ulp_context *ulp_ctx) in ulp_dparms_dev_port_intf_update()
1423 sizeof(struct bnxt_ulp_context), 0); in bnxt_ulp_port_init()
1784 bnxt_ulp_cntxt_tfp_get(struct bnxt_ulp_context *ulp, in bnxt_ulp_cntxt_tfp_get()
1845 struct bnxt_ulp_context *
2022 bnxt_ulp_cntxt_list_add(struct bnxt_ulp_context *ulp_ctx) in bnxt_ulp_cntxt_list_add()
2040 bnxt_ulp_cntxt_list_del(struct bnxt_ulp_context *ulp_ctx) in bnxt_ulp_cntxt_list_del()
[all …]
H A Dulp_mapper.h53 struct bnxt_ulp_context *ulp_ctx;
102 ulp_mapper_init(struct bnxt_ulp_context *ulp_ctx);
106 ulp_mapper_deinit(struct bnxt_ulp_context *ulp_ctx);
113 ulp_mapper_flow_create(struct bnxt_ulp_context *ulp_ctx,
118 ulp_mapper_flow_destroy(struct bnxt_ulp_context *ulp_ctx,
127 ulp_mapper_resources_free(struct bnxt_ulp_context *ulp_ctx,
132 ulp_mapper_get_shared_fid(struct bnxt_ulp_context *ulp,
H A Dulp_mark_mgr.h52 ulp_mark_db_init(struct bnxt_ulp_context *ctxt);
60 ulp_mark_db_deinit(struct bnxt_ulp_context *ctxt);
77 ulp_mark_db_mark_get(struct bnxt_ulp_context *ctxt,
96 ulp_mark_db_mark_add(struct bnxt_ulp_context *ctxt,
112 ulp_mark_db_mark_del(struct bnxt_ulp_context *ctxt,
H A Dulp_fc_mgr.c60 ulp_fc_mgr_init(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_init()
139 ulp_fc_mgr_deinit(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_deinit()
178 bool ulp_fc_mgr_thread_isstarted(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_thread_isstarted()
198 ulp_fc_mgr_thread_start(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_thread_start()
219 void ulp_fc_mgr_thread_cancel(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_thread_cancel()
301 ulp_fc_tf_flow_stat_get(struct bnxt_ulp_context *ctxt, in ulp_fc_tf_flow_stat_get()
368 static int ulp_get_single_flow_stat(struct bnxt_ulp_context *ctxt, in ulp_get_single_flow_stat()
442 struct bnxt_ulp_context *ctxt; in ulp_fc_mgr_alarm_cb()
605 int32_t ulp_fc_mgr_cntr_set(struct bnxt_ulp_context *ctxt, enum tf_dir dir, in ulp_fc_mgr_cntr_set()
678 int ulp_fc_mgr_query_count_get(struct bnxt_ulp_context *ctxt, in ulp_fc_mgr_query_count_get()
[all …]
H A Dulp_flow_db.c398 ulp_flow_db_init(struct bnxt_ulp_context *ulp_ctxt) in ulp_flow_db_init()
491 ulp_flow_db_deinit(struct bnxt_ulp_context *ulp_ctxt) in ulp_flow_db_deinit()
522 ulp_flow_db_fid_alloc(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_fid_alloc()
578 ulp_flow_db_resource_add(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_resource_add()
679 ulp_flow_db_resource_del(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_resource_del()
778 ulp_flow_db_fid_free(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_fid_free()
839 ulp_flow_db_resource_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_resource_get()
962 ulp_flow_db_flush_flows(struct bnxt_ulp_context *ulp_ctx, in ulp_flow_db_flush_flows()
1189 ulp_flow_db_pc_db_entry_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_pc_db_entry_get()
1256 ulp_flow_db_pc_db_idx_alloc(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_pc_db_idx_alloc()
[all …]
H A Dulp_def_rules.c16 int32_t (*vfr_func)(struct bnxt_ulp_context *ulp_ctx,
22 ulp_set_svif_in_comp_fld(struct bnxt_ulp_context *ulp_ctx, in ulp_set_svif_in_comp_fld()
47 ulp_set_spif_in_comp_fld(struct bnxt_ulp_context *ulp_ctx, in ulp_set_spif_in_comp_fld()
72 ulp_set_parif_in_comp_fld(struct bnxt_ulp_context *ulp_ctx, in ulp_set_parif_in_comp_fld()
97 ulp_set_vport_in_comp_fld(struct bnxt_ulp_context *ulp_ctx, uint32_t ifindex, in ulp_set_vport_in_comp_fld()
113 ulp_set_vnic_in_comp_fld(struct bnxt_ulp_context *ulp_ctx, in ulp_set_vnic_in_comp_fld()
177 ulp_df_dev_port_handler(struct bnxt_ulp_context *ulp_ctx, in ulp_df_dev_port_handler()
306 struct bnxt_ulp_context *ulp_ctx; in ulp_default_flow_create()
413 struct bnxt_ulp_context *ulp_ctx; in ulp_default_flow_destroy()
H A Dulp_mark_mgr.c54 ulp_mark_db_init(struct bnxt_ulp_context *ctxt) in ulp_mark_db_init()
145 ulp_mark_db_deinit(struct bnxt_ulp_context *ctxt) in ulp_mark_db_deinit()
178 ulp_mark_db_mark_get(struct bnxt_ulp_context *ctxt, in ulp_mark_db_mark_get()
228 ulp_mark_db_mark_add(struct bnxt_ulp_context *ctxt, in ulp_mark_db_mark_add()
287 ulp_mark_db_mark_del(struct bnxt_ulp_context *ctxt, in ulp_mark_db_mark_del()
H A Dbnxt_ulp_flow.c169 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_create()
295 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_validate()
366 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_destroy()
427 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_flush()
464 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_query()
507 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_tunnel_decap_set()
564 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_tunnel_match()
620 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_tunnel_decap_release()
657 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_tunnel_item_release()
H A Dulp_tun.h37 ulp_app_tun_search_entry(struct bnxt_ulp_context *ulp_ctx,
51 ulp_app_tun_match_entry(struct bnxt_ulp_context *ulp_ctx, const void *ctx);
H A Dbnxt_tf_common.h66 bnxt_ulp_cntxt_ptr2_mark_db_get(struct bnxt_ulp_context *ulp_ctx);
69 bnxt_ulp_cntxt_ptr2_mark_db_set(struct bnxt_ulp_context *ulp_ctx,
H A Dulp_gen_tbl.h142 ulp_mapper_gen_tbl_res_free(struct bnxt_ulp_context *ulp_ctx,
154 ulp_mapper_gen_tbl_entry_free(struct bnxt_ulp_context *ulp_ctx,
H A Dulp_tun.c13 ulp_app_tun_search_entry(struct bnxt_ulp_context *ulp_ctx, in ulp_app_tun_search_entry()
94 ulp_app_tun_match_entry(struct bnxt_ulp_context *ulp_ctx, in ulp_app_tun_match_entry()
H A Dulp_mapper.c494 ulp_mapper_tcam_entry_free(struct bnxt_ulp_context *ulp, in ulp_mapper_tcam_entry_free()
532 ulp_mapper_index_entry_free(struct bnxt_ulp_context *ulp, in ulp_mapper_index_entry_free()
552 ulp_mapper_em_entry_free(struct bnxt_ulp_context *ulp, in ulp_mapper_em_entry_free()
586 ulp_mapper_mark_free(struct bnxt_ulp_context *ulp, in ulp_mapper_mark_free()
595 ulp_mapper_parent_flow_free(struct bnxt_ulp_context *ulp, in ulp_mapper_parent_flow_free()
613 ulp_mapper_child_flow_free(struct bnxt_ulp_context *ulp, in ulp_mapper_child_flow_free()
3789 ulp_mapper_resource_free(struct bnxt_ulp_context *ulp, in ulp_mapper_resource_free()
3929 ulp_mapper_flow_destroy(struct bnxt_ulp_context *ulp_ctx, in ulp_mapper_flow_destroy()
3948 ulp_mapper_flow_create(struct bnxt_ulp_context *ulp_ctx, in ulp_mapper_flow_create()
4059 ulp_mapper_init(struct bnxt_ulp_context *ulp_ctx) in ulp_mapper_init()
[all …]
H A Dulp_gen_tbl.c258 ulp_mapper_gen_tbl_entry_free(struct bnxt_ulp_context *ulp_ctx, in ulp_mapper_gen_tbl_entry_free()
278 ulp_mapper_gen_tbl_res_free(struct bnxt_ulp_context *ulp_ctx, in ulp_mapper_gen_tbl_res_free()
H A Dulp_template_struct.h88 struct bnxt_ulp_context *ulp_ctx;
/dpdk/drivers/net/bnxt/
H A Dbnxt.h858 struct bnxt_ulp_context *ulp_ctx;