Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/qed/ !
Dqed_iov_if.h14 int (*configure)(struct qed_dev *cdev, int num_vfs_param);
/linux-6.6.21/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.6.21/drivers/net/ethernet/qlogic/qede/ !
Dqede_main.c151 static int qede_sriov_configure(struct pci_dev *pdev, int num_vfs_param) in qede_sriov_configure() argument
161 DP_VERBOSE(edev, QED_MSG_IOV, "Requested %d VFs\n", num_vfs_param); in qede_sriov_configure()
163 rc = edev->ops->iov->configure(edev->cdev, num_vfs_param); in qede_sriov_configure()
166 if ((rc == num_vfs_param) && netif_running(edev->ndev) && in qede_sriov_configure()
170 vport_params->tx_switching_flg = num_vfs_param ? 1 : 0; in qede_sriov_configure()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ !
Dqed_sriov.c4616 static int qed_sriov_configure(struct qed_dev *cdev, int num_vfs_param) in qed_sriov_configure() argument
4623 if (num_vfs_param) in qed_sriov_configure()
4624 return qed_sriov_enable(cdev, num_vfs_param); in qed_sriov_configure()