Searched refs:cfa_code_map (Results 1 – 2 of 2) sorted by relevance
186 if (cfa_code && bp->cfa_code_map && BNXT_PF(bp)) { in bnxt_get_vf_rep()187 vf_idx = bp->cfa_code_map[cfa_code]; in bnxt_get_vf_rep()339 kfree(bp->cfa_code_map); in bnxt_vf_reps_destroy()340 bp->cfa_code_map = NULL; in bnxt_vf_reps_destroy()395 u16 *cfa_code_map = NULL, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_create() local408 cfa_code_map = kmalloc_array(MAX_CFA_CODE, sizeof(*bp->cfa_code_map), in bnxt_vf_reps_create()410 if (!cfa_code_map) { in bnxt_vf_reps_create()415 cfa_code_map[i] = VF_IDX_INVALID; in bnxt_vf_reps_create()439 cfa_code_map[vf_rep->rx_cfa_code] = vf_rep->vf_idx; in bnxt_vf_reps_create()461 bp->cfa_code_map = cfa_code_map; in bnxt_vf_reps_create()[all …]
1978 u16 *cfa_code_map; /* cfa_code -> vf_idx map */ member