Home
last modified time | relevance | path

Searched refs:fid (Results 1 – 25 of 32) sorted by relevance

12

/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_mark_mgr.c34 TF_GET_HASH_TYPE_FROM_GFID(fid, hashtype); in ulp_mark_db_idx_get()
35 TF_GET_HASH_INDEX_FROM_GFID(fid, idx); in ulp_mark_db_idx_get()
42 idx = fid; in ulp_mark_db_idx_get()
180 uint32_t fid, in ulp_mark_db_mark_get() argument
194 idx = ulp_mark_db_idx_get(is_gfid, fid, mtbl); in ulp_mark_db_mark_get()
230 uint32_t fid, in ulp_mark_db_mark_add() argument
261 if (fid >= mtbl->lfid_num_entries) { in ulp_mark_db_mark_add()
266 mtbl->lfid_tbl[fid].mark_id = mark; in ulp_mark_db_mark_add()
289 uint32_t fid) in ulp_mark_db_mark_del() argument
319 if (fid >= mtbl->lfid_num_entries) { in ulp_mark_db_mark_del()
[all …]
H A Dulp_flow_db.c580 uint32_t fid, in ulp_flow_db_resource_add() argument
602 if (fid >= flow_tbl->num_flows || !fid) { in ulp_flow_db_resource_add()
681 uint32_t fid, in ulp_flow_db_resource_del() argument
702 if (fid >= flow_tbl->num_flows || !fid) { in ulp_flow_db_resource_del()
799 if (fid >= flow_tbl->num_flows || !fid) { in ulp_flow_db_fid_free()
841 uint32_t fid, in ulp_flow_db_resource_get() argument
863 if (fid >= flow_tbl->num_flows || !fid) { in ulp_flow_db_resource_get()
949 *fid = lfid; in ulp_flow_db_next_entry_get()
965 uint32_t fid = 0; in ulp_flow_db_flush_flows() local
1560 if (fid >= flow_tbl->num_flows || !fid) { in ulp_flow_db_child_flow_reset()
[all …]
H A Dulp_flow_db.h133 uint32_t *fid);
149 uint32_t fid,
167 uint32_t fid,
182 uint32_t fid);
198 uint32_t fid,
339 uint32_t fid);
H A Dulp_gen_tbl.c286 uint32_t fid = 0; in ulp_mapper_gen_tbl_res_free() local
342 (uint8_t *)&fid, in ulp_mapper_gen_tbl_res_free()
343 sizeof(fid))) { in ulp_mapper_gen_tbl_res_free()
348 fid = tfp_be_to_cpu_32(fid); in ulp_mapper_gen_tbl_res_free()
350 if (fid) { in ulp_mapper_gen_tbl_res_free()
353 fid)) in ulp_mapper_gen_tbl_res_free()
356 fid); in ulp_mapper_gen_tbl_res_free()
H A Dulp_mapper.h54 uint32_t fid; member
120 uint32_t fid);
129 uint32_t fid);
135 uint32_t *fid);
H A Dbnxt_ulp_flow.c102 mapper_cparms->flow_id = params->fid; in bnxt_ulp_init_mapper_params()
173 uint32_t fid; in bnxt_ulp_flow_create() local
227 func_id, &fid); in bnxt_ulp_flow_create()
243 params.fid = fid; in bnxt_ulp_flow_create()
273 flow_id = (struct rte_flow *)((uintptr_t)fid); in bnxt_ulp_flow_create()
277 ulp_flow_db_fid_free(ulp_ctx, BNXT_ULP_FDB_TYPE_REGULAR, fid); in bnxt_ulp_flow_create()
H A Dulp_def_rules.c307 uint32_t type, ulp_flags = 0, fid; in ulp_default_flow_create() local
374 mapper_params.func_id, &fid); in ulp_default_flow_create()
380 mapper_params.flow_id = fid; in ulp_default_flow_create()
386 *flow_id = fid; in ulp_default_flow_create()
390 ulp_flow_db_fid_free(ulp_ctx, mapper_params.flow_type, fid); in ulp_default_flow_create()
H A Dulp_mark_mgr.h79 uint32_t fid,
H A Dulp_mapper.c681 push_fid = parms->fid; in ulp_mapper_fdb_opc_process()
3790 uint32_t fid, in ulp_mapper_resource_free() argument
3826 rc = ulp_mapper_parent_flow_free(ulp, fid, res); in ulp_mapper_resource_free()
3829 rc = ulp_mapper_child_flow_free(ulp, fid, res); in ulp_mapper_resource_free()
3844 uint32_t fid) in ulp_mapper_resources_free() argument
3868 flow_type, fid, rc); in ulp_mapper_resources_free()
3882 flow_type, fid, res_parms.resource_func, in ulp_mapper_resources_free()
3890 fid, in ulp_mapper_resources_free()
3931 uint32_t fid) in ulp_mapper_flow_destroy() argument
3975 parms.fid = cparms->flow_id; in ulp_mapper_flow_create()
[all …]
H A Dulp_tun.c216 tun_entry->outer_tun_flow_id = params->fid; in ulp_tunnel_offload_process()
H A Dulp_template_struct.h81 uint32_t fid; member
H A Dbnxt_tf_pmd_shim.c337 return BNXT_PF(bp) ? bp->fw_fid - 1 : bp->parent->fid - 1; in bnxt_pmd_get_parif()
/dpdk/drivers/event/sw/
H A Dsw_evdev_scheduler.c52 struct sw_fid_t *fid = &qid->fids[flow_id]; in sw_schedule_atomic_to_cq() local
53 int cq = fid->cq; in sw_schedule_atomic_to_cq()
75 fid->cq = cq; /* this pins early */ in sw_schedule_atomic_to_cq()
87 fid->pcount++; in sw_schedule_atomic_to_cq()
93 p->hist_list[head].fid = flow_id; in sw_schedule_atomic_to_cq()
165 p->hist_list[head].fid = SW_HASH_FLOWID(qe->flow_id); in sw_schedule_parallel_to_cq()
391 const uint32_t hist_fid = hist_entry->fid; in __pull_port_lb()
393 struct sw_fid_t *fid = in __pull_port_lb() local
395 fid->pcount -= eop; in __pull_port_lb()
396 if (fid->pcount == 0) in __pull_port_lb()
[all …]
H A Dsw_evdev.h140 int32_t fid; member
H A Dsw_evdev.c205 p->hist_list[i].fid = -1; in sw_port_setup()
238 const struct sw_fid_t fid = {.cq = -1, .pcount = 0}; in qid_init() local
240 qid->fids[i] = fid; in qid_init()
/dpdk/drivers/raw/ifpga/base/
H A Difpga_enumerate.c71 void __iomem *start, u64 fid, unsigned int size, in build_info_add_sub_feature() argument
81 fid = fid?fid:feature_id(start); in build_info_add_sub_feature()
90 feature->id = fid; in build_info_add_sub_feature()
123 feature->name = get_fme_feature_name(fid); in build_info_add_sub_feature()
129 feature->name = get_port_feature_name(fid); in build_info_add_sub_feature()
140 void __iomem *start, u64 fid, in create_feature_instance() argument
144 return build_info_add_sub_feature(binfo, start, fid, size, vec_start, in create_feature_instance()
/dpdk/drivers/net/qede/base/
H A Decore_hw.c369 struct ecore_ptt *p_ptt, u16 fid) in ecore_fid_pretend() argument
382 if (!GET_FIELD(fid, PXP_CONCRETE_FID_VFVALID)) in ecore_fid_pretend()
383 fid = GET_FIELD(fid, PXP_CONCRETE_FID_PFID); in ecore_fid_pretend()
386 p_ptt->pxp.pretend.fid.concrete_fid.fid = OSAL_CPU_TO_LE16(fid); in ecore_fid_pretend()
427 u8 port_id, u16 fid) in ecore_port_fid_pretend() argument
438 if (!GET_FIELD(fid, PXP_CONCRETE_FID_VFVALID)) in ecore_port_fid_pretend()
439 fid = GET_FIELD(fid, PXP_CONCRETE_FID_PFID); in ecore_port_fid_pretend()
442 p_ptt->pxp.pretend.fid.concrete_fid.fid = OSAL_CPU_TO_LE16(fid); in ecore_port_fid_pretend()
H A Decore_hw.h180 u16 fid);
214 u8 port_id, u16 fid);
H A Dcommon_hsi.h1338 __le16 fid; member
1352 __le16 fid; member
1370 union pxp_pretend_fid fid; member
/dpdk/drivers/net/bnxt/
H A Dbnxt_hwrm.h149 int bnxt_hwrm_cfa_vlan_antispoof_cfg(struct bnxt *bp, uint16_t fid,
168 int bnxt_hwrm_func_qstats(struct bnxt *bp, uint16_t fid,
171 int bnxt_hwrm_func_qstats_tx_drop(struct bnxt *bp, uint16_t fid,
173 int bnxt_hwrm_func_clr_stats(struct bnxt *bp, uint16_t fid);
306 int bnxt_hwrm_get_dflt_vnic_svif(struct bnxt *bp, uint16_t fid,
313 int bnxt_hwrm_first_vf_id_query(struct bnxt *bp, uint16_t fid,
H A Dbnxt_hwrm.c554 req.fid = rte_cpu_to_le_16(fid); in bnxt_hwrm_cfa_vlan_antispoof_cfg()
2499 req.fid = rte_cpu_to_le_16(bp->pf->vf_info[vf].fid); in bnxt_hwrm_func_vf_mac()
2521 req.fid = rte_cpu_to_le_16(fid); in bnxt_hwrm_func_qstats_tx_drop()
2545 req.fid = rte_cpu_to_le_16(fid); in bnxt_hwrm_func_qstats()
2589 req.fid = rte_cpu_to_le_16(fid); in bnxt_hwrm_func_clr_stats()
3399 bp->parent->fid = rte_le_to_cpu_16(resp->fid); in bnxt_hwrm_parent_pf_qcfg()
3423 req.fid = rte_cpu_to_le_16(fid); in bnxt_hwrm_get_dflt_vnic_svif()
3599 req.fid = rte_cpu_to_le_16(bp->pf->vf_info[vf].fid); in bnxt_update_max_resources()
4181 fid = bp->pf->vf_info[vf].fid; in bnxt_hwrm_set_default_vlan()
4190 req.fid = rte_cpu_to_le_16(fid); in bnxt_hwrm_set_default_vlan()
[all …]
H A Dbnxt.h220 uint16_t fid; member
232 uint16_t fid; member
/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_session.h373 uint16_t fid);
456 uint16_t fid);
H A Dtf_session.c499 uint16_t fid; in tf_session_close_session() local
527 rc = tfp_get_fid(tfp, &fid); in tf_session_close_session()
532 fid); in tf_session_close_session()
637 uint16_t fid) in tf_session_is_fid_supported() argument
646 if (client->fw_fid == fid) in tf_session_is_fid_supported()
775 uint16_t fid) in tf_session_find_session_client_by_fid() argument
788 if (client->fw_fid == fid) in tf_session_find_session_client_by_fid()
H A Dtfp.c156 *pf = bp->parent->fid - 1; in tfp_get_pf()

12