Home
last modified time | relevance | path

Searched refs:fw_fid (Results 1 – 10 of 10) sorted by relevance

/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dtfp.c166 tfp_get_fid(struct tf *tfp, uint16_t *fw_fid) in tfp_get_fid() argument
170 if (tfp == NULL || fw_fid == NULL) in tfp_get_fid()
177 *fw_fid = bp->fw_fid; in tfp_get_fid()
195 *pf = bp->fw_fid - 1; in tfp_get_pf()
H A Dtf_session.c156 rc = tfp_get_fid(tfp, &client->fw_fid); in tf_session_create()
262 rc = tfp_get_fid(tfp, &client->fw_fid); in tf_session_client_create()
578 if (client->fw_fid == fid) in tf_session_is_fid_supported()
610 uint16_t fw_fid; in tf_session_get_session() local
623 rc = tfp_get_fid(tfp, &fw_fid); in tf_session_get_session()
631 supported = tf_session_is_fid_supported(*tfs, fw_fid); in tf_session_get_session()
704 if (client->fw_fid == fid) in tf_session_find_session_client_by_fid()
H A Dtfp.h222 int tfp_get_fid(struct tf *tfp, uint16_t *fw_fid);
269 int tfp_get_fid(struct tf *tfp, uint16_t *fw_fid);
H A Dtf_session.h143 uint16_t fw_fid; member
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_reps.c146 rc = bnxt_hwrm_get_dflt_vnic_svif(bp, vf_rep_bp->fw_fid, in bnxt_get_dflt_vnic_svif()
220 vf_rep_bp->fw_fid = vf_rep_bp->rep_based_pf + 1; in bnxt_representor_init()
225 vf_rep_bp->fw_fid, in bnxt_representor_init()
232 vf_rep_bp->fw_fid); in bnxt_representor_init()
236 first_vf_id, vf_rep_bp->fw_fid); in bnxt_representor_init()
237 vf_rep_bp->fw_fid = rep_params->vf_id + first_vf_id; in bnxt_representor_init()
240 vf_rep_bp->fw_fid = rep_params->vf_id + parent_bp->first_vf_id; in bnxt_representor_init()
244 vf_rep_bp->parent_pf_idx = parent_bp->fw_fid - 1; in bnxt_representor_init()
247 PMD_DRV_LOG(INFO, "vf_rep->fw_fid = %d\n", vf_rep_bp->fw_fid); in bnxt_representor_init()
H A Dbnxt_cpr.c83 vf_rep_bp->fw_fid == vf_fid) { in bnxt_process_default_vnic_change()
H A Dbnxt.h749 uint16_t fw_fid; member
841 uint16_t fw_fid; member
H A Dbnxt_hwrm.c754 bp->fw_fid = rte_le_to_cpu_32(resp->fid); in __bnxt_hwrm_func_qcaps()
5253 req.dest_fid = bp->fw_fid; in bnxt_hwrm_tunnel_redirect()
5272 req.dest_fid = bp->fw_fid; in bnxt_hwrm_tunnel_redirect_free()
5289 req.src_fid = bp->fw_fid; in bnxt_hwrm_tunnel_redirect_query()
5310 req.src_fid = bp->fw_fid; in bnxt_hwrm_tunnel_redirect_info()
5551 req.target_id = rte_cpu_to_le_16(bp->fw_fid); in bnxt_hwrm_cfa_counter_qcaps()
5633 req.target_id = rte_cpu_to_le_16(bp->fw_fid); in bnxt_hwrm_cfa_counter_cfg()
5679 req.target_id = rte_cpu_to_le_16(bp->fw_fid); in bnxt_hwrm_cfa_counter_qstats()
5735 req.vf_a_id = rte_cpu_to_le_16(bp->fw_fid); in bnxt_hwrm_cfa_pair_alloc()
H A Dbnxt_flow.c1900 tun_dst_fid + bp->first_vf_id, bp->fw_fid); in bnxt_handle_tunnel_redirect_destroy()
1905 if (bp->fw_fid != (tun_dst_fid + bp->first_vf_id)) in bnxt_handle_tunnel_redirect_destroy()
H A Dbnxt_ethdev.c4496 return vfr->fw_fid; in bnxt_get_fw_func_id()
4503 return bp->fw_fid; in bnxt_get_fw_func_id()
4561 return vfr->fw_fid - 1; in bnxt_get_parif()
4568 return BNXT_PF(bp) ? bp->fw_fid - 1 : bp->parent->fid - 1; in bnxt_get_parif()