Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnxt/
H A 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()
394 u16 *cfa_code_map) in bnxt_alloc_vf_rep() argument
401 cfa_code_map[vf_rep->rx_cfa_code] = vf_rep->vf_idx; in bnxt_alloc_vf_rep()
420 u16 *cfa_code_map = bp->cfa_code_map, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_alloc() local
427 if (!cfa_code_map) in bnxt_vf_reps_alloc()
431 cfa_code_map[i] = VF_IDX_INVALID; in bnxt_vf_reps_alloc()
437 rc = bnxt_alloc_vf_rep(bp, vf_rep, cfa_code_map); in bnxt_vf_reps_alloc()
[all …]
H A Dbnxt.h2636 u16 *cfa_code_map; /* cfa_code -> vf_idx map */ member