Home
last modified time | relevance | path

Searched refs:vf_num (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/dev/ice/
H A Dice_iov.c93 static struct ice_vf *ice_iov_get_vf(struct ice_softc *sc, int vf_num);
293 sc->vfs[i].vf_num = i; in ice_iov_init()
317 ice_iov_get_vf(struct ice_softc *sc, int vf_num) in ice_iov_get_vf() argument
319 MPASS(vf_num < sc->num_vfs); in ice_iov_get_vf()
321 return &sc->vfs[vf_num]; in ice_iov_get_vf()
355 ICE_IOV_FAIL_POINT(sc, vf->vf_num, mac_anti_spoof_update, error, in ice_iov_configure_mac_anti_spoof()
361 "err %s aq_err %s\n", vf->vf_num, in ice_iov_configure_mac_anti_spoof()
443 vsi->vf_num = vfnum; in ice_iov_add_vf()
451 vf_num_queues, vf->vf_num); in ice_iov_add_vf()
453 device_printf(dev, "Setting VF %d num-queues to 1\n", vf->vf_num); in ice_iov_add_vf()
[all …]
H A Dice_iov.h95 u16 vf_num; member
H A Dice_switch.h74 u8 vf_num;
72 u8 vf_num; global() member
H A Dice_lib.c778 ctx.vf_num = vsi->vf_num; in ice_initialize_vsi()
1680 tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf_num; in ice_setup_tx_ctx()
7972 vsi->vf_num); in ice_replay_all_vsi_cfg()
8482 u16 vf_num = (reg & GL_MDET_TX_TCLAN_VF_NUM_M) >> in ice_handle_mdd_event() local
8492 pf_num, vf_num); in ice_handle_mdd_event()
8506 u16 vf_num = (reg & GL_MDET_TX_PQM_VF_NUM_M) >> in ice_handle_mdd_event() local
8516 pf_num, vf_num); in ice_handle_mdd_event()
8529 u16 vf_num = (reg & GL_MDET_TX_TDPU_VF_NUM_M) >> in ice_handle_mdd_event() local
8538 "PF %u, VF %u\n", event, queue, pf_num, vf_num); in ice_handle_mdd_event()
9053 ctx.vf_num = 0; in ice_pf_vsi_cfg_tc()
[all …]
H A Dice_lib.h629 u8 vf_num; /* Index of owning VF, if applicable */ member
H A Dice_switch.c384 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi()
739 vsi_ctx->vf_num = resp->vf_id; in ice_aq_get_vsi_params()
H A Dice_lan_tx_rx.h1139 u16 vf_num; member
H A Dice_common.c1694 ICE_CTX_STORE(ice_tx_drbell_q_ctx, vf_num, 8, 84),
/freebsd/usr.sbin/iovctl/
H A Dvalidate.c78 u_long vf_num; in parse_vf_num() local
80 vf_num = strtoul(key + matches[1].rm_so, NULL, 10); in parse_vf_num()
82 if (vf_num > UINT16_MAX) in parse_vf_num()
84 vf_num); in parse_vf_num()
86 return (vf_num); in parse_vf_num()
231 uint16_t vf_num, num_vfs; in validate_config() local
263 vf_num = parse_vf_num(key, matches); in validate_config()
264 if (vf_num >= num_vfs) in validate_config()
267 vf_num, num_vfs); in validate_config()
/freebsd/sys/dev/ixl/
H A Dixl_pf_iov.c152 vsi_ctx.vf_num = hw->func_caps.vf_base_id + vf->vf_num; in ixl_vf_alloc_vsi()
294 wr32(hw, I40E_VPLAN_MAPENA(vf->vf_num), in ixl_vf_map_queues()
303 wr32(hw, I40E_VPLAN_QTABLE(i, vf->vf_num), qtable); in ixl_vf_map_queues()
306 wr32(hw, I40E_VPLAN_QTABLE(i, vf->vf_num), in ixl_vf_map_queues()
377 ixl_vf_disable_queue_intr(hw, I40E_VFINT_DYN_CTL0(vf->vf_num)); in ixl_vf_release_resources()
380 vfint_reg = IXL_VFINT_DYN_CTLN_REG(hw, i , vf->vf_num); in ixl_vf_release_resources()
385 ixl_vf_unregister_intr(hw, I40E_VPINT_LNKLST0(vf->vf_num)); in ixl_vf_release_resources()
388 vpint_reg = IXL_VPINT_LNKLSTN_REG(hw, i, vf->vf_num); in ixl_vf_release_resources()
406 global_vf_num = hw->func_caps.vf_base_id + vf->vf_num; in ixl_flush_pcie()
429 ixl_dbg_iov(pf, "Resetting VF-%d\n", vf->vf_num); in ixl_reset_vf()
[all …]
H A Dixl_pf.h59 #define IXL_VPINT_LNKLSTN_REG(hw, vector, vf_num) \ argument
61 (((hw)->func_caps.num_msix_vectors_vf - 1) * (vf_num)))
63 #define IXL_VFINT_DYN_CTLN_REG(hw, vector, vf_num) \ argument
65 (((hw)->func_caps.num_msix_vectors_vf - 1) * (vf_num)))
118 u16 vf_num; member
H A Di40e_type.h1404 u8 vf_num; member
H A Dixl_pf_iflib.c465 ctxt.flags, ctxt.pf_num, ctxt.vf_num, in ixl_initialize_vsi()
H A Dixl_pf_main.c1846 u16 vf_num, queue; in ixl_handle_tx_mdd_event() local
1855 vf_num = (reg & I40E_GL_MDET_TX_VF_NUM_MASK) >> in ixl_handle_tx_mdd_event()
1865 "PF %#x, VF %#x\n", event, queue, pf_num, vf_num); in ixl_handle_tx_mdd_event()
3711 sbuf_printf(buf, "VF-%d Filters:\n", vf->vf_num); in ixl_sysctl_sw_filter_list()
H A Di40e_common.c2268 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi()
/freebsd/sys/dev/pci/
H A Dpci_iov_schema.c816 u_long vf_num; in pci_iov_schema_validate_dev_name() local
835 vf_num = strtoul(number_start, &endp, 10); in pci_iov_schema_validate_dev_name()
840 if (vf_num != 0 && number_start[0] == '0') in pci_iov_schema_validate_dev_name()
844 if (vf_num == 0 && number_start[1] != '\0') in pci_iov_schema_validate_dev_name()
847 if (vf_num >= num_vfs) in pci_iov_schema_validate_dev_name()
/freebsd/sys/dev/mlx5/
H A Dvport.h145 u8 port_num, u16 vf_num, u16 pkey_index,
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_int.c2385 u16 igu_sb_id = 0, vf_num = 0; in ecore_int_igu_relocate_sb() local
2456 vf_num = (u16)p_hwfn->p_dev->p_iov_info->first_vf_in_pf; in ecore_int_igu_relocate_sb()
2458 p_block->function_id = (u8)vf_num; in ecore_int_igu_relocate_sb()
2501 igu_sb_id, vf_num, in ecore_int_igu_relocate_sb()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_vport.c1208 u8 port_num, u16 vf_num, u16 pkey_index, in mlx5_query_hca_vport_pkey() argument
1243 vf_num); in mlx5_query_hca_vport_pkey()
/freebsd/sys/dev/oce/
H A Doce_hw.h2093 uint8_t vf_num; member