| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | rte_pmd_bnxt.c | 203 if (vf >= bp->pf->max_vfs) in rte_pmd_bnxt_set_vf_rate_limit() 264 if (vf >= dev_info.max_vfs) in rte_pmd_bnxt_set_vf_mac_anti_spoof() 323 if (vf >= dev_info.max_vfs) in rte_pmd_bnxt_set_vf_vlan_anti_spoof() 374 if (vf >= dev_info.max_vfs) in rte_pmd_bnxt_set_vf_vlan_stripq() 421 if (vf >= bp->pdev->max_vfs) in rte_pmd_bnxt_set_vf_rxmode() 465 if (vf >= bp->pdev->max_vfs) in bnxt_set_vf_table() 609 if (vf_id >= dev_info.max_vfs) in rte_pmd_bnxt_get_vf_stats() 645 if (vf_id >= dev_info.max_vfs) in rte_pmd_bnxt_reset_vf_stats() 679 if (vf_id >= dev_info.max_vfs) in rte_pmd_bnxt_get_vf_rx_status() 836 if (vf >= dev_info.max_vfs) in rte_pmd_bnxt_set_vf_vlan_insert() [all …]
|
| H A D | bnxt_filter.c | 84 for (i = 0; i < bp->pf->max_vfs; i++) { in bnxt_free_all_filters() 151 for (i = 0; i < bp->pf->max_vfs; i++) { in bnxt_free_filter_mem()
|
| H A D | bnxt.h | 247 #define BNXT_MAX_VFS(bp) ((bp)->pf->max_vfs) 257 uint16_t max_vfs; member
|
| H A D | bnxt_hwrm.c | 680 for (i = 0; i < bp->pf->max_vfs; i++) { in bnxt_hwrm_free_vf_info() 712 bp->pf->total_vfs = rte_le_to_cpu_16(resp->max_vfs); in __bnxt_hwrm_func_qcaps() 713 new_max_vfs = bp->pdev->max_vfs; in __bnxt_hwrm_func_qcaps() 714 if (new_max_vfs != bp->pf->max_vfs) { in __bnxt_hwrm_func_qcaps() 723 bp->pf->max_vfs = new_max_vfs; in __bnxt_hwrm_func_qcaps() 768 if (!BNXT_CHIP_THOR(bp) && !bp->pdev->max_vfs) in __bnxt_hwrm_func_qcaps() 772 if (bp->pf->max_vfs) in __bnxt_hwrm_func_qcaps() 1058 if (!BNXT_CHIP_THOR(bp) && !bp->pdev->max_vfs) in bnxt_hwrm_func_resc_qcaps() 3910 if (!(BNXT_PF(bp) && bp->pdev->max_vfs)) in bnxt_hwrm_func_buf_unrgtr()
|
| /f-stack/dpdk/doc/guides/howto/ |
| H A D | lm_virtio_vhost_user.rst | 266 cat /sys/bus/pci/devices/0000\:02\:00.0/max_vfs 267 echo 0 > /sys/bus/pci/devices/0000\:02\:00.0/max_vfs 268 cat /sys/bus/pci/devices/0000\:02\:00.0/max_vfs 271 cat /sys/bus/pci/devices/0000\:09\:00.0/max_vfs 272 echo 0 > /sys/bus/pci/devices/0000\:09\:00.0/max_vfs 273 cat /sys/bus/pci/devices/0000\:09\:00.0/max_vfs 342 cat /sys/bus/pci/devices/0000\:06\:00.0/max_vfs 343 echo 0 > /sys/bus/pci/devices/0000\:06\:00.0/max_vfs 344 cat /sys/bus/pci/devices/0000\:06\:00.0/max_vfs 347 cat /sys/bus/pci/devices/0000\:03\:00.0/max_vfs [all …]
|
| /f-stack/dpdk/drivers/bus/pci/linux/ |
| H A D | pci.c | 278 dev->max_vfs = 0; in pci_scan_one() 282 dev->max_vfs = (uint16_t)tmp; in pci_scan_one() 289 dev->max_vfs = (uint16_t)tmp; in pci_scan_one() 354 dev2->max_vfs = dev->max_vfs; in pci_scan_one() 369 dev2->max_vfs != dev->max_vfs || in pci_scan_one()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | rte_pmd_ixgbe.c | 31 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_set_vf_mac_addr() 65 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_ping_vf() 96 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_set_vf_vlan_anti_spoof() 126 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_set_vf_mac_anti_spoof() 155 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_set_vf_vlan_insert() 252 if ((vf >= pci_dev->max_vfs) || (vf > 63)) in rte_pmd_ixgbe_set_vf_split_drop_en() 288 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_set_vf_vlan_stripq() 335 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_set_vf_rxmode() 382 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_set_vf_rx() 433 if (vf >= pci_dev->max_vfs) in rte_pmd_ixgbe_set_vf_tx()
|
| H A D | ixgbe_vf_representor.c | 195 if (representor->vf_id >= pci_dev->max_vfs) in ixgbe_vf_representor_init()
|
| H A D | ixgbe_ethdev.c | 2210 pci_dev->max_vfs * RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool; in ixgbe_check_vf_rss_rxq_num() 2440 if (vf >= pci_dev->max_vfs) in ixgbe_set_vf_rate_limit() 2459 for (vf_idx = 0; vf_idx < pci_dev->max_vfs; vf_idx++) { in ixgbe_set_vf_rate_limit() 2647 for (vf = 0; vf < pci_dev->max_vfs; vf++) in ixgbe_dev_start() 2861 for (vf = 0; vfinfo != NULL && vf < pci_dev->max_vfs; vf++) in ixgbe_dev_stop() 3834 dev_info->max_vfs = pci_dev->max_vfs; in ixgbe_dev_info_get() 3958 dev_info->max_vfs = pci_dev->max_vfs; in ixgbevf_dev_info_get() 5123 ixgbe_add_rar(dev, addr, 0, pci_dev->max_vfs); in ixgbe_set_default_mac_addr()
|
| /f-stack/dpdk/drivers/bus/pci/windows/ |
| H A D | pci.c | 337 dev->max_vfs = 0; /* TODO: get max_vfs */ in pci_scan_one() 364 dev2->max_vfs = dev->max_vfs; in pci_scan_one()
|
| /f-stack/dpdk/kernel/linux/igb_uio/ |
| H A D | igb_uio.c | 62 unsigned long max_vfs; in store_max_vfs() local 65 if (0 != kstrtoul(buf, 0, &max_vfs)) in store_max_vfs() 68 if (0 == max_vfs) in store_max_vfs() 71 err = pci_enable_sriov(pdev, max_vfs); in store_max_vfs() 78 static DEVICE_ATTR(max_vfs, S_IRUGO | S_IWUSR, show_max_vfs, store_max_vfs);
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | intel_vf.rst | 111 insmod fm0k.ko max_vfs=2,2 (To enable two Virtual Functions per port) 142 insmod i40e.ko max_vfs=2,2 (To enable two Virtual Functions per port) 192 insmod ixgbe max_vfs=2,2 (To enable two Virtual Functions per port) 216 * If the max number of VFs (max_vfs) is set in the range of 1 to 32: 224 * If the max number of VFs (max_vfs) is in the range of 33 to 64: 278 insmod igb max_vfs=2,2 (To enable two Virtual Functions per port) 400 modprobe ixgbe max_vfs=2,2 409 echo 2 > /sys/bus/pci/devices/0000\:02\:00.0/max_vfs 410 echo 2 > /sys/bus/pci/devices/0000\:02\:00.1/max_vfs 411 echo 2 > /sys/bus/pci/devices/0000\:0e\:00.0/max_vfs [all …]
|
| /f-stack/dpdk/drivers/common/octeontx2/ |
| H A D | otx2_dev.c | 918 dev->maxvf = pci_dev->max_vfs; in otx2_dev_priv_init() 957 if (pci_dev->max_vfs > 0) { in otx2_dev_priv_init() 966 hwbase = mbox_mem_map(bar4_addr, MBOX_SIZE * pci_dev->max_vfs); in otx2_dev_priv_init() 973 bar2, MBOX_DIR_PFVF, pci_dev->max_vfs, in otx2_dev_priv_init() 980 bar2, MBOX_DIR_PFVF_UP, pci_dev->max_vfs, in otx2_dev_priv_init() 996 mbox_mem_unmap(hwbase, MBOX_SIZE * pci_dev->max_vfs); in otx2_dev_priv_init() 1031 MBOX_SIZE * pci_dev->max_vfs); in otx2_dev_fini()
|
| /f-stack/dpdk/drivers/bus/pci/bsd/ |
| H A D | pci.c | 250 dev->max_vfs = 0; in pci_scan_one() 305 dev2->max_vfs = dev->max_vfs; in pci_scan_one()
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_sriov.c | 55 sriov->num_vfs = pci_dev->max_vfs; in sfc_sriov_attach()
|
| /f-stack/dpdk/drivers/bus/pci/ |
| H A D | rte_bus_pci.h | 75 uint16_t max_vfs; /**< sriov enable if not zero */ member
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_ops.c | 561 devinfo->max_vfs = pci_dev->max_vfs; in otx2_nix_info_get()
|
| /f-stack/dpdk/doc/guides/bbdevs/ |
| H A D | acc100.rst | 142 enable to ``max_vfs`` file.. 146 echo <num-of-vfs> > /sys/bus/pci/devices/0000\:<b>\:<d>.<f>/max_vfs
|
| H A D | fpga_5gnr_fec.rst | 128 enable to ``max_vfs`` file.. 132 echo <num-of-vfs> > /sys/bus/pci/devices/0000\:<b>\:<d>.<f>/max_vfs
|
| H A D | fpga_lte_fec.rst | 127 enable to ``max_vfs`` file.. 131 echo <num-of-vfs> > /sys/bus/pci/devices/0000\:<b>\:<d>.<f>/max_vfs
|
| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_vf_representor.c | 667 if (vf->vf_id >= pdev->max_vfs) { in enic_vf_representor_init() 669 vf->vf_id, pdev->max_vfs); in enic_vf_representor_init()
|
| /f-stack/dpdk/drivers/net/failsafe/ |
| H A D | failsafe_ops.c | 1105 info->max_vfs = RTE_MIN(info->max_vfs, sinfo->max_vfs); in fs_dev_merge_info() 1171 infos->max_vfs = UINT16_MAX; in fs_dev_infos_get()
|
| /f-stack/dpdk/examples/ethtool/lib/ |
| H A D | rte_ethtool.c | 395 num_vfs = dev_info.max_vfs; in rte_ethtool_net_set_rx_mode()
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 1109 pci_dev->max_vfs * RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool; in txgbe_check_vf_rss_rxq_num() 1317 if (vf >= pci_dev->max_vfs) in txgbe_set_vf_rate_limit() 1336 for (vf_idx = 0; vf_idx < pci_dev->max_vfs; vf_idx++) { in txgbe_set_vf_rate_limit() 1488 for (vf = 0; vf < pci_dev->max_vfs; vf++) in txgbe_dev_start() 1640 for (vf = 0; vfinfo != NULL && vf < pci_dev->max_vfs; vf++) in txgbe_dev_stop() 2334 dev_info->max_vfs = pci_dev->max_vfs; in txgbe_dev_info_get() 3138 txgbe_add_rar(dev, addr, 0, pci_dev->max_vfs); in txgbe_set_default_mac_addr()
|
| /f-stack/dpdk/drivers/net/e1000/ |
| H A D | igb_pf.c | 34 return pci_dev->max_vfs; in dev_num_vf()
|