Searched refs:BP_VFDB (Results 1 – 3 of 3) sorted by relevance
321 if (!BP_VFDB(bp)->first_vf_igu_entry) in bnx2x_vf_set_igu_info()322 BP_VFDB(bp)->first_vf_igu_entry = igu_sb_id; in bnx2x_vf_set_igu_info()331 BP_VFDB(bp)->vf_sbs_pool++; in bnx2x_vf_set_igu_info()1109 DP(BNX2X_MSG_IOV, "vf_sbs_pool is %d\n", BP_VFDB(bp)->vf_sbs_pool); in bnx2x_get_vf_igu_cam_info()1110 return BP_VFDB(bp)->vf_sbs_pool; in bnx2x_get_vf_igu_cam_info()1349 BNX2X_PCI_FREE(BP_VFDB(bp)->sp_dma.addr, in bnx2x_iov_free_mem()1350 BP_VFDB(bp)->sp_dma.mapping, in bnx2x_iov_free_mem()1351 BP_VFDB(bp)->sp_dma.size); in bnx2x_iov_free_mem()1371 tot_size = (BP_VFDB(bp)->sriov.first_vf_in_pf + BNX2X_NR_VIRTFN(bp)) * in bnx2x_iov_alloc_mem()1391 BP_VFDB(bp)->sp_dma.addr = BNX2X_PCI_ALLOC(&BP_VFDB(bp)->sp_dma.mapping, in bnx2x_iov_alloc_mem()[all …]
317 #define BP_VFDB(bp) ((bp)->vfdb) macro320 #define BP_VF(bp, idx) ((BP_VFDB(bp) && (bp)->vfdb->vfs) ? \
2189 if (vfpf_event->vf_id - BP_VFDB(bp)->sriov.first_vf_in_pf > in bnx2x_vf_mbx_schedule()2199 mutex_lock(&BP_VFDB(bp)->event_mutex); in bnx2x_vf_mbx_schedule()2204 BP_VFDB(bp)->event_occur |= (1ULL << vf_idx); in bnx2x_vf_mbx_schedule()2205 mutex_unlock(&BP_VFDB(bp)->event_mutex); in bnx2x_vf_mbx_schedule()2213 struct bnx2x_vfdb *vfdb = BP_VFDB(bp); in bnx2x_vf_mbx()