| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_sriov.c | 55 sriov->num_vfs = pci_dev->max_vfs; in sfc_sriov_attach() 56 if (sriov->num_vfs == 0) in sfc_sriov_attach() 59 vport_config = calloc(sriov->num_vfs + 1, sizeof(*vport_config)); in sfc_sriov_attach() 69 for (i = 1; i <= sriov->num_vfs; ++i) { in sfc_sriov_attach() 86 sriov->num_vfs = 0; in sfc_sriov_attach() 99 sriov->num_vfs = 0; in sfc_sriov_detach() 113 if (sriov->num_vfs == 0) { in sfc_sriov_vswitch_create() 129 rc = efx_evb_vswitch_create(sa->nic, sriov->num_vfs + 1, in sfc_sriov_vswitch_create() 155 if (sriov->num_vfs == 0) in sfc_sriov_vswitch_destroy()
|
| H A D | sfc_sriov.h | 21 unsigned int num_vfs; member
|
| /f-stack/dpdk/drivers/net/fm10k/base/ |
| H A D | fm10k_pf.c | 477 if (!hw->iov.num_vfs) in fm10k_update_int_moderator_pf() 621 u16 num_vfs = hw->iov.num_vfs; in fm10k_vf_queue_index() local 667 if ((num_vfs > num_pools) || (num_vfs > hw->iov.total_vfs)) in fm10k_iov_assign_resources_pf() 671 hw->iov.num_vfs = num_vfs; in fm10k_iov_assign_resources_pf() 684 for (i = 0; i < num_vfs; i++) { in fm10k_iov_assign_resources_pf() 722 for (i = 0; i < num_vfs; i++) { in fm10k_iov_assign_resources_pf() 777 if (vf_idx >= hw->iov.num_vfs) in fm10k_iov_configure_tc_pf() 835 if (vf_idx >= hw->iov.num_vfs) in fm10k_iov_assign_int_moderator_pf() 849 if (vf_idx == (hw->iov.num_vfs - 1)) in fm10k_iov_assign_int_moderator_pf() 989 if (vf_idx >= hw->iov.num_vfs) in fm10k_iov_reset_resources_pf() [all …]
|
| H A D | fm10k_type.h | 700 u16 num_vfs; member
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_dcf_parent.c | 72 ice_dcf_update_vf_vsi_map(struct ice_hw *hw, uint16_t num_vfs, in ice_dcf_update_vf_vsi_map() argument 77 for (vf_id = 0; vf_id < num_vfs; vf_id++) in ice_dcf_update_vf_vsi_map() 124 hw->num_vfs, hw->vf_vsi_map); in ice_dcf_vsi_update_service_handler() 400 parent_adapter->pf.main_vsi->idx = hw->num_vfs; in ice_dcf_init_parent_adapter() 404 ice_dcf_update_vf_vsi_map(parent_hw, hw->num_vfs, hw->vf_vsi_map); in ice_dcf_init_parent_adapter()
|
| H A D | ice_dcf.c | 297 valid_msg_len = (vsi_map->num_vfs - 1) * sizeof(vsi_map->vf_vsi[0]) + in ice_dcf_get_vf_vsi_map() 305 if (hw->num_vfs != 0 && hw->num_vfs != vsi_map->num_vfs) { in ice_dcf_get_vf_vsi_map() 307 vsi_map->num_vfs, hw->num_vfs); in ice_dcf_get_vf_vsi_map() 311 len = vsi_map->num_vfs * sizeof(vsi_map->vf_vsi[0]); in ice_dcf_get_vf_vsi_map() 320 hw->num_vfs = vsi_map->num_vfs; in ice_dcf_get_vf_vsi_map()
|
| H A D | ice_dcf.h | 44 uint16_t num_vfs; member
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_hwrm.c | 3369 int num_vfs) in bnxt_fill_vf_func_cfg_req_new() argument 3372 (num_vfs + 1)); in bnxt_fill_vf_func_cfg_req_new() 3377 (num_vfs + 1)); in bnxt_fill_vf_func_cfg_req_new() 3389 (num_vfs + 1)); in bnxt_fill_vf_func_cfg_req_new() 3398 int num_vfs) in bnxt_fill_vf_func_cfg_req_old() argument 3416 (num_vfs + 1)); in bnxt_fill_vf_func_cfg_req_old() 3419 (num_vfs + 1)); in bnxt_fill_vf_func_cfg_req_old() 3426 (num_vfs + 1)); in bnxt_fill_vf_func_cfg_req_old() 3506 int num_vfs) in bnxt_calculate_pf_resources() argument 3508 if (!num_vfs) { in bnxt_calculate_pf_resources() [all …]
|
| H A D | bnxt_hwrm.h | 140 int bnxt_hwrm_func_buf_rgtr(struct bnxt *bp, int num_vfs); 210 int bnxt_hwrm_allocate_vfs(struct bnxt *bp, int num_vfs);
|
| /f-stack/dpdk/examples/ethtool/lib/ |
| H A D | rte_ethtool.c | 386 uint16_t num_vfs; in rte_ethtool_net_set_rx_mode() local 395 num_vfs = dev_info.max_vfs; in rte_ethtool_net_set_rx_mode() 398 for (vf = 0; vf < num_vfs; vf++) { in rte_ethtool_net_set_rx_mode()
|
| /f-stack/freebsd/net/ |
| H A D | ifdi_if.m | 119 null_iov_init(if_ctx_t _ctx __unused, uint16_t num_vfs __unused, const nvlist_t *params __unused) 125 null_vf_add(if_ctx_t _ctx __unused, uint16_t num_vfs __unused, const nvlist_t *params __unused) 366 uint16_t num_vfs; 376 uint16_t num_vfs;
|
| /f-stack/dpdk/drivers/net/qede/ |
| H A D | qede_if.h | 85 void (*sriov_configure)(struct ecore_dev *edev, int num_vfs);
|
| /f-stack/dpdk/drivers/raw/octeontx2_ep/ |
| H A D | otx2_ep_rawdev.h | 430 uint32_t num_vfs; member
|
| /f-stack/dpdk/doc/guides/cryptodevs/ |
| H A D | octeontx.rst | 87 echo <num_vfs> > /sys/bus/pci/devices/<dev_bus_id>/sriov_numvfs
|
| /f-stack/dpdk/doc/guides/rawdevs/ |
| H A D | octeontx2_ep.rst | 30 echo <num_vfs> > /sys/bus/pci/drivers/octeontx2-ep/0000\:04\:00.0/sriov_numvfs
|
| H A D | octeontx2_dma.rst | 49 echo <num_vfs> > /sys/bus/pci/drivers/octeontx2-dpi/0000\:05\:00.0/sriov_numvfs
|
| /f-stack/dpdk/drivers/net/qede/base/ |
| H A D | ecore_sriov.c | 429 &iov->num_vfs); in ecore_iov_pci_cfg_info() 430 if (iov->num_vfs) { in ecore_iov_pci_cfg_info() 437 iov->num_vfs = 0; in ecore_iov_pci_cfg_info() 465 if (iov->num_vfs > NUM_OF_VFS(p_dev) || in ecore_iov_pci_cfg_info() 474 iov->num_vfs); in ecore_iov_pci_cfg_info() 476 iov->num_vfs = 0; in ecore_iov_pci_cfg_info() 545 u16 num_vfs = 0; in ecore_iov_allocate_vfdb() local 547 num_vfs = p_hwfn->p_dev->p_iov_info->total_vfs; in ecore_iov_allocate_vfdb() 571 num_vfs; in ecore_iov_allocate_vfdb() 1248 p_hwfn->p_dev->p_iov_info->num_vfs++; in ecore_iov_init_hw_for_vf() [all …]
|
| H A D | ecore_iov_api.h | 165 u16 num_vfs; /* number of vfs that have been started */ member
|
| H A D | ecore_hsi_debug_tools.h | 1043 u8 num_vfs /* Number of VFs in the chip */; member
|
| H A D | ecore_dev.c | 1734 u16 num_pf_rls, num_vfs = ecore_init_qm_get_num_vfs(p_hwfn); in ecore_init_qm_get_num_pf_rls() local 1745 if (num_pf_rls < num_vfs + NUM_DEFAULT_RLS) { in ecore_init_qm_get_num_pf_rls() 1748 " [num_pf_rls %d num_vfs %d]\n", num_pf_rls, num_vfs); in ecore_init_qm_get_num_pf_rls() 1753 num_pf_rls -= num_vfs + NUM_DEFAULT_RLS; in ecore_init_qm_get_num_pf_rls() 2110 u16 vf_idx, num_vfs = ecore_init_qm_get_num_vfs(p_hwfn); in ecore_init_qm_vf_pqs() local 2117 qm_info->num_vf_pqs = num_vfs; in ecore_init_qm_vf_pqs() 2118 for (vf_idx = 0; vf_idx < num_vfs; vf_idx++) in ecore_init_qm_vf_pqs()
|
| H A D | ecore_sp_commands.c | 399 p_ramrod->num_vfs = (u8)p_iov->total_vfs; in ecore_sp_pf_start()
|
| /f-stack/dpdk/drivers/net/liquidio/ |
| H A D | lio_struct.h | 454 uint32_t num_vfs; member
|
| /f-stack/dpdk/drivers/common/iavf/ |
| H A D | virtchnl.h | 727 u16 num_vfs; /* The actual number of VFs allocated */ member
|
| /f-stack/dpdk/drivers/net/i40e/base/ |
| H A D | i40e_common.c | 1445 u32 num_vfs; in i40e_clear_hw() local 1473 num_vfs = (j - i) + 1; in i40e_clear_hw() 1475 num_vfs = 0; in i40e_clear_hw() 1489 for (i = 0; i < num_vfs; i++) in i40e_clear_hw() 3922 p->num_vfs = number; in i40e_parse_discover_capabilities() 3926 p->num_vfs); in i40e_parse_discover_capabilities()
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | mlx4.rst | 110 - **num_vfs** (integer or triplet, optionally prefixed by device address
|