Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/qed/
Dqed_iov_if.h14 int (*configure)(struct qed_dev *cdev, int num_vfs_param);
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1157 int num_vfs_param) in bnx2x_iov_init_one() argument
1178 if (!num_vfs_param) in bnx2x_iov_init_one()
1230 iov->nr_virtfn = min_t(u16, iov->total, num_vfs_param); in bnx2x_iov_init_one()
1233 num_vfs_param, iov->nr_virtfn); in bnx2x_iov_init_one()
2401 int bnx2x_sriov_configure(struct pci_dev *dev, int num_vfs_param) in bnx2x_sriov_configure() argument
2411 num_vfs_param, BNX2X_NR_VIRTFN(bp)); in bnx2x_sriov_configure()
2420 if (num_vfs_param > BNX2X_NR_VIRTFN(bp)) { in bnx2x_sriov_configure()
2422 num_vfs_param, BNX2X_NR_VIRTFN(bp)); in bnx2x_sriov_configure()
2423 num_vfs_param = BNX2X_NR_VIRTFN(bp); in bnx2x_sriov_configure()
2426 bp->requested_nr_virtfn = num_vfs_param; in bnx2x_sriov_configure()
[all …]
Dbnx2x_sriov.h405 int bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param, int num_vfs_param);
579 int num_vfs_param) {return 0; } in bnx2x_iov_init_one() argument
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c157 static int qede_sriov_configure(struct pci_dev *pdev, int num_vfs_param) in qede_sriov_configure() argument
167 DP_VERBOSE(edev, QED_MSG_IOV, "Requested %d VFs\n", num_vfs_param); in qede_sriov_configure()
169 rc = edev->ops->iov->configure(edev->cdev, num_vfs_param); in qede_sriov_configure()
172 if ((rc == num_vfs_param) && netif_running(edev->ndev) && in qede_sriov_configure()
176 vport_params->tx_switching_flg = num_vfs_param ? 1 : 0; in qede_sriov_configure()
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c4573 static int qed_sriov_configure(struct qed_dev *cdev, int num_vfs_param) in qed_sriov_configure() argument
4580 if (num_vfs_param) in qed_sriov_configure()
4581 return qed_sriov_enable(cdev, num_vfs_param); in qed_sriov_configure()