Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2455 int rc = 0, req_vfs = bp->requested_nr_virtfn; in bnx2x_enable_sriov() local
2460 if (req_vfs == 0) in bnx2x_enable_sriov()
2467 BP_VFDB(bp)->vf_sbs_pool / req_vfs); in bnx2x_enable_sriov()
2470 for (vf_idx = 0; vf_idx < req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2481 for (vf_idx = first_vf; vf_idx < first_vf + req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2514 for (vf_idx = first_vf; vf_idx < first_vf + req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2533 rc = pci_enable_sriov(bp->pdev, req_vfs); in bnx2x_enable_sriov()
2538 DP(BNX2X_MSG_IOV, "sriov enabled (%d vfs)\n", req_vfs); in bnx2x_enable_sriov()
2539 return req_vfs; in bnx2x_enable_sriov()