Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2498 int rc = 0, req_vfs = bp->requested_nr_virtfn; in bnx2x_enable_sriov() local
2503 if (req_vfs == 0) in bnx2x_enable_sriov()
2510 BP_VFDB(bp)->vf_sbs_pool / req_vfs); in bnx2x_enable_sriov()
2513 for (vf_idx = 0; vf_idx < req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2524 for (vf_idx = first_vf; vf_idx < first_vf + req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2557 for (vf_idx = first_vf; vf_idx < first_vf + req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2576 rc = pci_enable_sriov(bp->pdev, req_vfs); in bnx2x_enable_sriov()
2581 DP(BNX2X_MSG_IOV, "sriov enabled (%d vfs)\n", req_vfs); in bnx2x_enable_sriov()
2582 return req_vfs; in bnx2x_enable_sriov()