Home
last modified time | relevance | path

Searched refs:cfa_code_map (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c190 if (cfa_code && bp->cfa_code_map && BNXT_PF(bp)) { in bnxt_get_vf_rep()
191 vf_idx = bp->cfa_code_map[cfa_code]; in bnxt_get_vf_rep()
357 kfree(bp->cfa_code_map); in bnxt_vf_reps_destroy()
358 bp->cfa_code_map = NULL; in bnxt_vf_reps_destroy()
389 u16 *cfa_code_map) in bnxt_alloc_vf_rep() argument
396 cfa_code_map[vf_rep->rx_cfa_code] = vf_rep->vf_idx; in bnxt_alloc_vf_rep()
415 u16 *cfa_code_map = bp->cfa_code_map, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_alloc() local
422 if (!cfa_code_map) in bnxt_vf_reps_alloc()
426 cfa_code_map[i] = VF_IDX_INVALID; in bnxt_vf_reps_alloc()
432 rc = bnxt_alloc_vf_rep(bp, vf_rep, cfa_code_map); in bnxt_vf_reps_alloc()
[all …]
Dbnxt.h2143 u16 *cfa_code_map; /* cfa_code -> vf_idx map */ member