Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dbnxt_ulp.h65 struct bnxt_ulp_context { struct
101 ulp_ctx_deinit_allowed(struct bnxt_ulp_context *ulp_ctx);
113 bnxt_ulp_cntxt_mem_type_get(struct bnxt_ulp_context *ulp_ctx,
118 bnxt_ulp_cntxt_mem_type_set(struct bnxt_ulp_context *ulp_ctx,
123 bnxt_ulp_cntxt_tbl_scope_id_set(struct bnxt_ulp_context *ulp_ctx,
128 bnxt_ulp_cntxt_tbl_scope_id_get(struct bnxt_ulp_context *ulp_ctx,
137 bnxt_ulp_cntxt_tfp_get(struct bnxt_ulp_context *ulp);
144 bnxt_ulp_ctxt_ptr2_mark_db_set(struct bnxt_ulp_context *ulp_ctx,
148 bnxt_ulp_ctxt_ptr2_mark_db_get(struct bnxt_ulp_context *ulp_ctx);
152 bnxt_ulp_cntxt_ptr2_flow_db_set(struct bnxt_ulp_context *ulp_ctx,
[all …]
H A Dulp_flow_db.h102 int32_t ulp_flow_db_init(struct bnxt_ulp_context *ulp_ctxt);
113 int32_t ulp_flow_db_deinit(struct bnxt_ulp_context *ulp_ctxt);
126 ulp_flow_db_fid_alloc(struct bnxt_ulp_context *ulp_ctxt,
143 ulp_flow_db_resource_add(struct bnxt_ulp_context *ulp_ctxt,
161 ulp_flow_db_resource_del(struct bnxt_ulp_context *ulp_ctxt,
176 ulp_flow_db_fid_free(struct bnxt_ulp_context *ulp_ctxt,
192 ulp_flow_db_resource_get(struct bnxt_ulp_context *ulp_ctxt,
207 ulp_flow_db_flush_flows(struct bnxt_ulp_context *ulp_ctx,
242 ulp_flow_db_validate_flow_func(struct bnxt_ulp_context *ulp_ctx,
280 ulp_flow_db_parent_flow_free(struct bnxt_ulp_context *ulp_ctxt,
[all …]
H A Dulp_port_db.h98 int32_t ulp_port_db_deinit(struct bnxt_ulp_context *ulp_ctxt);
135 ulp_port_db_function_id_get(struct bnxt_ulp_context *ulp_ctxt,
150 ulp_port_db_svif_get(struct bnxt_ulp_context *ulp_ctxt,
164 ulp_port_db_spif_get(struct bnxt_ulp_context *ulp_ctxt,
179 ulp_port_db_parif_get(struct bnxt_ulp_context *ulp_ctxt,
192 ulp_port_db_default_vnic_get(struct bnxt_ulp_context *ulp_ctxt,
206 ulp_port_db_vport_get(struct bnxt_ulp_context *ulp_ctxt,
219 ulp_port_db_phy_port_vport_get(struct bnxt_ulp_context *ulp_ctxt,
233 ulp_port_db_phy_port_svif_get(struct bnxt_ulp_context *ulp_ctxt,
246 ulp_port_db_port_type_get(struct bnxt_ulp_context *ulp_ctxt,
[all …]
H A Dulp_fc_mgr.h54 ulp_fc_mgr_init(struct bnxt_ulp_context *ctxt);
62 ulp_fc_mgr_deinit(struct bnxt_ulp_context *ctxt);
71 ulp_fc_mgr_thread_start(struct bnxt_ulp_context *ctxt);
88 void ulp_fc_mgr_thread_cancel(struct bnxt_ulp_context *ctxt);
101 int ulp_fc_mgr_start_idx_set(struct bnxt_ulp_context *ctxt, enum tf_dir dir,
117 int ulp_fc_mgr_cntr_set(struct bnxt_ulp_context *ctxt, enum tf_dir dir,
131 int ulp_fc_mgr_cntr_reset(struct bnxt_ulp_context *ctxt, enum tf_dir dir,
142 bool ulp_fc_mgr_start_idx_isset(struct bnxt_ulp_context *ctxt, enum tf_dir dir);
150 bool ulp_fc_mgr_thread_isstarted(struct bnxt_ulp_context *ctxt);
164 int ulp_fc_mgr_query_count_get(struct bnxt_ulp_context *ulp_ctx,
[all …]
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_mapper.h71 struct bnxt_ulp_context *ulp_ctx;
107 ulp_mapper_init(struct bnxt_ulp_context *ulp_ctx);
111 ulp_mapper_deinit(struct bnxt_ulp_context *ulp_ctx);
118 ulp_mapper_flow_create(struct bnxt_ulp_context *ulp_ctx,
123 ulp_mapper_flow_destroy(struct bnxt_ulp_context *ulp_ctx,
132 ulp_mapper_resources_free(struct bnxt_ulp_context *ulp_ctx,
H A Dulp_port_db.c90 int32_t ulp_port_db_deinit(struct bnxt_ulp_context *ulp_ctxt) in ulp_port_db_deinit()
239 ulp_port_db_function_id_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_function_id_get()
271 ulp_port_db_svif_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_svif_get()
311 ulp_port_db_spif_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_spif_get()
351 ulp_port_db_parif_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_parif_get()
391 ulp_port_db_default_vnic_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_default_vnic_get()
426 ulp_port_db_vport_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_vport_get()
454 ulp_port_db_phy_port_vport_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_phy_port_vport_get()
479 ulp_port_db_phy_port_svif_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_phy_port_svif_get()
503 ulp_port_db_port_type_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_port_db_port_type_get()
[all …]
H A Dbnxt_ulp.c38 ulp_ctx_deinit_allowed(struct bnxt_ulp_context *ulp_ctx) in ulp_ctx_deinit_allowed()
548 struct bnxt_ulp_context *ulp_ctx) in ulp_dparms_init()
588 struct bnxt_ulp_context *ulp_ctx) in ulp_dparms_dev_port_intf_update()
1028 sizeof(struct bnxt_ulp_context), 0); in bnxt_ulp_port_init()
1163 bnxt_ulp_cntxt_ptr2_mark_db_set(struct bnxt_ulp_context *ulp_ctx, in bnxt_ulp_cntxt_ptr2_mark_db_set()
1188 bnxt_ulp_cntxt_dev_id_set(struct bnxt_ulp_context *ulp_ctx, in bnxt_ulp_cntxt_dev_id_set()
1201 bnxt_ulp_cntxt_dev_id_get(struct bnxt_ulp_context *ulp_ctx, in bnxt_ulp_cntxt_dev_id_get()
1214 bnxt_ulp_cntxt_mem_type_set(struct bnxt_ulp_context *ulp_ctx, in bnxt_ulp_cntxt_mem_type_set()
1226 bnxt_ulp_cntxt_mem_type_get(struct bnxt_ulp_context *ulp_ctx, in bnxt_ulp_cntxt_mem_type_get()
1278 bnxt_ulp_cntxt_tfp_get(struct bnxt_ulp_context *ulp) in bnxt_ulp_cntxt_tfp_get()
[all …]
H A Dulp_fc_mgr.c60 ulp_fc_mgr_init(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_init()
132 ulp_fc_mgr_deinit(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_deinit()
166 bool ulp_fc_mgr_thread_isstarted(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_thread_isstarted()
183 ulp_fc_mgr_thread_start(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_thread_start()
205 void ulp_fc_mgr_thread_cancel(struct bnxt_ulp_context *ctxt) in ulp_fc_mgr_thread_cancel()
285 static int ulp_get_single_flow_stat(struct bnxt_ulp_context *ctxt, in ulp_get_single_flow_stat()
351 struct bnxt_ulp_context *ctxt = arg; in ulp_fc_mgr_alarm_cb()
496 int32_t ulp_fc_mgr_cntr_set(struct bnxt_ulp_context *ctxt, enum tf_dir dir, in ulp_fc_mgr_cntr_set()
528 int32_t ulp_fc_mgr_cntr_reset(struct bnxt_ulp_context *ctxt, enum tf_dir dir, in ulp_fc_mgr_cntr_reset()
562 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.c416 ulp_flow_db_parent_tun_idx_set(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_parent_tun_idx_set()
449 ulp_flow_db_parent_tun_idx_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_parent_tun_idx_get()
483 ulp_flow_db_init(struct bnxt_ulp_context *ulp_ctxt) in ulp_flow_db_init()
574 ulp_flow_db_deinit(struct bnxt_ulp_context *ulp_ctxt) in ulp_flow_db_deinit()
605 ulp_flow_db_fid_alloc(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_fid_alloc()
661 ulp_flow_db_resource_add(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_resource_add()
753 ulp_flow_db_resource_del(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_resource_del()
867 ulp_flow_db_fid_free(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_fid_free()
934 ulp_flow_db_resource_get(struct bnxt_ulp_context *ulp_ctxt, in ulp_flow_db_resource_get()
1053 ulp_flow_db_flush_flows(struct bnxt_ulp_context *ulp_ctx, in ulp_flow_db_flush_flows()
[all …]
H A Dulp_mark_mgr.c54 ulp_mark_db_init(struct bnxt_ulp_context *ctxt) in ulp_mark_db_init()
139 ulp_mark_db_deinit(struct bnxt_ulp_context *ctxt) in ulp_mark_db_deinit()
172 ulp_mark_db_mark_get(struct bnxt_ulp_context *ctxt, in ulp_mark_db_mark_get()
224 ulp_mark_db_mark_add(struct bnxt_ulp_context *ctxt, in ulp_mark_db_mark_add()
283 ulp_mark_db_mark_del(struct bnxt_ulp_context *ctxt, in ulp_mark_db_mark_del()
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()
409 struct bnxt_ulp_context *ulp_ctx; in ulp_default_flow_destroy()
H A Dbnxt_tf_common.h68 bnxt_ulp_cntxt_ptr2_mark_db_get(struct bnxt_ulp_context *ulp_ctx);
71 bnxt_ulp_cntxt_ptr2_mark_db_set(struct bnxt_ulp_context *ulp_ctx,
H A Dbnxt_ulp_flow.c108 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_create()
226 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_validate()
291 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_destroy()
352 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_flush()
389 struct bnxt_ulp_context *ulp_ctx; in bnxt_ulp_flow_query()
H A Dulp_mapper.c345 ulp_mapper_cache_entry_get(struct bnxt_ulp_context *ulp, in ulp_mapper_cache_entry_get()
386 ulp_mapper_cache_entry_free(struct bnxt_ulp_context *ulp, in ulp_mapper_cache_entry_free()
474 ulp_mapper_index_entry_free(struct bnxt_ulp_context *ulp, in ulp_mapper_index_entry_free()
494 ulp_mapper_em_entry_free(struct bnxt_ulp_context *ulp, in ulp_mapper_em_entry_free()
532 ulp_mapper_mark_free(struct bnxt_ulp_context *ulp, in ulp_mapper_mark_free()
542 ulp_mapper_parent_flow_free(struct bnxt_ulp_context *ulp, in ulp_mapper_parent_flow_free()
580 ulp_mapper_child_flow_free(struct bnxt_ulp_context *ulp, in ulp_mapper_child_flow_free()
2578 ulp_mapper_resource_free(struct bnxt_ulp_context *ulp, in ulp_mapper_resource_free()
2791 ulp_mapper_flow_create(struct bnxt_ulp_context *ulp_ctx, in ulp_mapper_flow_create()
2903 ulp_mapper_init(struct bnxt_ulp_context *ulp_ctx) in ulp_mapper_init()
[all …]
H A Dulp_template_struct.h83 struct bnxt_ulp_context *ulp_ctx;
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt.h819 struct bnxt_ulp_context *ulp_ctx;