Home
last modified time | relevance | path

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

/dpdk/drivers/net/bnxt/tf_core/
H A Dtfp.c130 tfp_get_fid(struct tf *tfp, uint16_t *fw_fid) in tfp_get_fid() argument
134 if (tfp == NULL || fw_fid == NULL) in tfp_get_fid()
141 *fw_fid = bp->fw_fid; in tfp_get_fid()
159 *pf = bp->fw_fid - 1; in tfp_get_pf()
H A Dtf_session.c166 rc = tfp_get_fid(tfp, &client->fw_fid); in tf_session_create()
314 rc = tfp_get_fid(tfp, &client->fw_fid); in tf_session_client_create()
646 if (client->fw_fid == fid) in tf_session_is_fid_supported()
678 uint16_t fw_fid; in tf_session_get_session() local
691 rc = tfp_get_fid(tfp, &fw_fid); in tf_session_get_session()
699 supported = tf_session_is_fid_supported(*tfs, fw_fid); in tf_session_get_session()
788 if (client->fw_fid == fid) in tf_session_find_session_client_by_fid()
H A Dtfp.h186 int tfp_get_fid(struct tf *tfp, uint16_t *fw_fid);
H A Dtf_session.h216 uint16_t fw_fid; member
/dpdk/drivers/net/bnxt/
H A Dbnxt_reps.c150 rc = bnxt_hwrm_get_dflt_vnic_svif(bp, vf_rep_bp->fw_fid, in bnxt_get_dflt_vnic_svif()
224 vf_rep_bp->fw_fid = vf_rep_bp->rep_based_pf + 1; in bnxt_representor_init()
229 vf_rep_bp->fw_fid, in bnxt_representor_init()
236 vf_rep_bp->fw_fid); in bnxt_representor_init()
240 first_vf_id, vf_rep_bp->fw_fid); in bnxt_representor_init()
241 vf_rep_bp->fw_fid = rep_params->vf_id + first_vf_id; in bnxt_representor_init()
244 vf_rep_bp->fw_fid = rep_params->vf_id + parent_bp->first_vf_id; in bnxt_representor_init()
248 vf_rep_bp->parent_pf_idx = parent_bp->fw_fid - 1; in bnxt_representor_init()
251 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.h802 uint16_t fw_fid; member
926 uint16_t fw_fid; member
H A Dbnxt_hwrm.c889 bp->fw_fid = rte_le_to_cpu_32(resp->fid); in __bnxt_hwrm_func_qcaps()
5557 req.dest_fid = bp->fw_fid; in bnxt_hwrm_tunnel_redirect()
5576 req.dest_fid = bp->fw_fid; in bnxt_hwrm_tunnel_redirect_free()
5593 req.src_fid = bp->fw_fid; in bnxt_hwrm_tunnel_redirect_query()
5614 req.src_fid = bp->fw_fid; in bnxt_hwrm_tunnel_redirect_info()
5855 req.target_id = rte_cpu_to_le_16(bp->fw_fid); in bnxt_hwrm_cfa_counter_qcaps()
5937 req.target_id = rte_cpu_to_le_16(bp->fw_fid); in bnxt_hwrm_cfa_counter_cfg()
5983 req.target_id = rte_cpu_to_le_16(bp->fw_fid); in bnxt_hwrm_cfa_counter_qstats()
6067 req.vf_a_id = rte_cpu_to_le_16(bp->fw_fid); in bnxt_hwrm_cfa_pair_alloc()
H A Dbnxt_flow.c2166 tun_dst_fid + bp->first_vf_id, bp->fw_fid); in bnxt_handle_tunnel_redirect_destroy()
2171 if (bp->fw_fid != (tun_dst_fid + bp->first_vf_id)) { in bnxt_handle_tunnel_redirect_destroy()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dbnxt_tf_pmd_shim.c265 return vfr->fw_fid; in bnxt_pmd_get_fw_func_id()
272 return bp->fw_fid; in bnxt_pmd_get_fw_func_id()
330 return vfr->fw_fid - 1; in bnxt_pmd_get_parif()
337 return BNXT_PF(bp) ? bp->fw_fid - 1 : bp->parent->fid - 1; in bnxt_pmd_get_parif()