Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c2448 int rc = 0, req_vfs = bp->requested_nr_virtfn; in bnx2x_enable_sriov() local
2453 if (req_vfs == 0) in bnx2x_enable_sriov()
2460 BP_VFDB(bp)->vf_sbs_pool / req_vfs); in bnx2x_enable_sriov()
2463 for (vf_idx = 0; vf_idx < req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2474 for (vf_idx = first_vf; vf_idx < first_vf + req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2507 for (vf_idx = first_vf; vf_idx < first_vf + req_vfs; vf_idx++) { in bnx2x_enable_sriov()
2526 rc = pci_enable_sriov(bp->pdev, req_vfs); in bnx2x_enable_sriov()
2531 DP(BNX2X_MSG_IOV, "sriov enabled (%d vfs)\n", req_vfs); in bnx2x_enable_sriov()
2532 return req_vfs; in bnx2x_enable_sriov()