Searched refs:num_vfs_param (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/include/linux/qed/ |
D | qed_iov_if.h | 14 int (*configure)(struct qed_dev *cdev, int num_vfs_param);
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 1170 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 …]
|
D | bnx2x_sriov.h | 405 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-v6.1/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 152 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-v6.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 4613 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()
|