| /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() 153 for (i = 0; i < bp->pf->max_vfs; i++) { in bnxt_free_filter_mem()
|
| H A D | bnxt.h | 240 #define BNXT_MAX_VFS(bp) ((bp)->pf->max_vfs) 254 uint16_t max_vfs; member
|
| H A D | bnxt_hwrm.c | 805 for (i = 0; i < bp->pf->max_vfs; i++) { in bnxt_free_vf_info() 815 static int bnxt_alloc_vf_info(struct bnxt *bp, uint16_t max_vfs) in bnxt_alloc_vf_info() argument 823 vf_info = rte_zmalloc("bnxt_vf_info", sizeof(*vf_info) * max_vfs, 0); in bnxt_alloc_vf_info() 829 bp->pf->max_vfs = max_vfs; in bnxt_alloc_vf_info() 830 for (i = 0; i < max_vfs; i++) { in bnxt_alloc_vf_info() 880 bp->pf->total_vfs = rte_le_to_cpu_16(resp->max_vfs); in __bnxt_hwrm_func_qcaps() 881 new_max_vfs = bp->pdev->max_vfs; in __bnxt_hwrm_func_qcaps() 882 if (new_max_vfs != bp->pf->max_vfs) { in __bnxt_hwrm_func_qcaps() 903 if (!BNXT_CHIP_P5(bp) && !bp->pdev->max_vfs) in __bnxt_hwrm_func_qcaps() 1212 if (!BNXT_CHIP_P5(bp) && !bp->pdev->max_vfs) in bnxt_hwrm_func_resc_qcaps() [all …]
|
| /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 …]
|
| /dpdk/drivers/bus/pci/linux/ |
| H A D | pci.c | 274 dev->max_vfs = 0; in pci_scan_one() 278 dev->max_vfs = (uint16_t)tmp; in pci_scan_one() 285 dev->max_vfs = (uint16_t)tmp; in pci_scan_one() 350 dev2->max_vfs = dev->max_vfs; in pci_scan_one() 365 dev2->max_vfs != dev->max_vfs || in pci_scan_one()
|
| /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()
|
| /dpdk/doc/guides/nics/ |
| H A D | intel_vf.rst | 115 insmod fm0k.ko max_vfs=2,2 (To enable two Virtual Functions per port) 146 insmod i40e.ko max_vfs=2,2 (To enable two Virtual Functions per port) 196 insmod ixgbe max_vfs=2,2 (To enable two Virtual Functions per port) 220 * If the max number of VFs (max_vfs) is set in the range of 1 to 32: 228 * If the max number of VFs (max_vfs) is in the range of 33 to 64: 282 insmod igb max_vfs=2,2 (To enable two Virtual Functions per port) 405 modprobe ixgbe max_vfs=2,2 414 echo 2 > /sys/bus/pci/devices/0000\:02\:00.0/max_vfs 415 echo 2 > /sys/bus/pci/devices/0000\:02\:00.1/max_vfs 416 echo 2 > /sys/bus/pci/devices/0000\:0e\:00.0/max_vfs [all …]
|
| /dpdk/drivers/bus/pci/windows/ |
| H A D | pci.c | 382 dev->max_vfs = 0; /* TODO: get max_vfs */ in pci_scan_one() 409 dev2->max_vfs = dev->max_vfs; in pci_scan_one()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_dev.c | 978 vf_mbase = mbox_mem_map(pa, MBOX_SIZE * pci_dev->max_vfs); in dev_vf_mbase_get() 990 if (!vf_mbase || !pci_dev->max_vfs || !roc_model_is_cn9k()) in dev_vf_mbase_put() 993 mbox_mem_unmap((void *)vf_mbase, MBOX_SIZE * pci_dev->max_vfs); in dev_vf_mbase_put() 1126 dev->maxvf = pci_dev->max_vfs; in dev_init() 1179 if (pci_dev->max_vfs > 0) { in dev_init() 1188 pci_dev->max_vfs, intr_offset); in dev_init() 1194 MBOX_DIR_PFVF_UP, pci_dev->max_vfs, intr_offset); in dev_init()
|
| /dpdk/drivers/bus/pci/bsd/ |
| H A D | pci.c | 249 dev->max_vfs = 0; in pci_scan_one() 304 dev2->max_vfs = dev->max_vfs; in pci_scan_one()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_sriov.c | 55 sriov->num_vfs = pci_dev->max_vfs; in sfc_sriov_attach()
|
| /dpdk/drivers/bus/pci/ |
| H A D | rte_bus_pci.h | 74 uint16_t max_vfs; /**< sriov enable if not zero */ member
|
| /dpdk/drivers/net/failsafe/ |
| H A D | failsafe_ops.c | 1104 info->max_vfs = RTE_MIN(info->max_vfs, sinfo->max_vfs); in fs_dev_merge_info() 1172 infos->max_vfs = UINT16_MAX; in fs_dev_infos_get()
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_vf_representor.c | 658 if (vf->vf_id >= pdev->max_vfs) { in enic_vf_representor_init() 660 vf->vf_id, pdev->max_vfs); in enic_vf_representor_init()
|
| /dpdk/doc/guides/bbdevs/ |
| H A D | acc100.rst | 143 enable to ``max_vfs`` file.. 147 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
|
| /dpdk/examples/ethtool/lib/ |
| H A D | rte_ethtool.c | 395 num_vfs = dev_info.max_vfs; in rte_ethtool_net_set_rx_mode()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev_ops.c | 22 devinfo->max_vfs = pci_dev->max_vfs; in cnxk_nix_info_get()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev_vf.c | 488 dev_info->max_vfs = pci_dev->max_vfs; in txgbevf_dev_info_get()
|
| H A D | txgbe_ethdev.c | 1342 pci_dev->max_vfs * RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool; in txgbe_check_vf_rss_rxq_num() 1551 if (vf >= pci_dev->max_vfs) in txgbe_set_vf_rate_limit() 1570 for (vf_idx = 0; vf_idx < pci_dev->max_vfs; vf_idx++) { in txgbe_set_vf_rate_limit() 1716 for (vf = 0; vf < pci_dev->max_vfs; vf++) in txgbe_dev_start() 1878 for (vf = 0; vfinfo != NULL && vf < pci_dev->max_vfs; vf++) in txgbe_dev_stop() 2596 dev_info->max_vfs = pci_dev->max_vfs; in txgbe_dev_info_get() 3447 txgbe_add_rar(dev, addr, 0, pci_dev->max_vfs); in txgbe_set_default_mac_addr()
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_pf.c | 34 return pci_dev->max_vfs; in dev_num_vf()
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_ethdev.c | 1165 for (vf = 0; vfinfo != NULL && vf < pci_dev->max_vfs; vf++) in ngbe_dev_stop() 1761 dev_info->max_vfs = pci_dev->max_vfs; in ngbe_dev_info_get() 2451 ngbe_add_rar(dev, addr, 0, pci_dev->max_vfs); in ngbe_set_default_mac_addr()
|