Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/qed/ !
Dqed_iov_if.h14 int (*configure)(struct qed_dev *cdev, int num_vfs_param);
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ !
Dbnx2x_sriov.c1170 int num_vfs_param) in bnx2x_iov_init_one() argument
1191 if (!num_vfs_param) in bnx2x_iov_init_one()
1244 iov->nr_virtfn = min_t(u16, iov->total, num_vfs_param); in bnx2x_iov_init_one()
1247 num_vfs_param, iov->nr_virtfn); in bnx2x_iov_init_one()
2409 int bnx2x_sriov_configure(struct pci_dev *dev, int num_vfs_param) in bnx2x_sriov_configure() argument
2419 num_vfs_param, BNX2X_NR_VIRTFN(bp)); in bnx2x_sriov_configure()
2428 if (num_vfs_param > BNX2X_NR_VIRTFN(bp)) { in bnx2x_sriov_configure()
2430 num_vfs_param, BNX2X_NR_VIRTFN(bp)); in bnx2x_sriov_configure()
2431 num_vfs_param = BNX2X_NR_VIRTFN(bp); in bnx2x_sriov_configure()
2434 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-6.1.9/drivers/net/ethernet/qlogic/qede/ !
Dqede_main.c152 static int qede_sriov_configure(struct pci_dev *pdev, int num_vfs_param) in qede_sriov_configure() argument
162 DP_VERBOSE(edev, QED_MSG_IOV, "Requested %d VFs\n", num_vfs_param); in qede_sriov_configure()
164 rc = edev->ops->iov->configure(edev->cdev, num_vfs_param); in qede_sriov_configure()
167 if ((rc == num_vfs_param) && netif_running(edev->ndev) && in qede_sriov_configure()
171 vport_params->tx_switching_flg = num_vfs_param ? 1 : 0; in qede_sriov_configure()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ !
Dqed_sriov.c4613 static int qed_sriov_configure(struct qed_dev *cdev, int num_vfs_param) in qed_sriov_configure() argument
4620 if (num_vfs_param) in qed_sriov_configure()
4621 return qed_sriov_enable(cdev, num_vfs_param); in qed_sriov_configure()