Home
last modified time | relevance | path

Searched refs:vf_id (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/sys/dev/ixgbe/
H A Dixgbe_mbx.c724 static void ixgbe_clear_msg_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_clear_msg_pf() argument
726 u32 vf_shift = IXGBE_PFMBICR_SHIFT(vf_id); in ixgbe_clear_msg_pf()
727 s32 index = IXGBE_PFMBICR_INDEX(vf_id); in ixgbe_clear_msg_pf()
739 static void ixgbe_clear_ack_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_clear_ack_pf() argument
741 u32 vf_shift = IXGBE_PFMBICR_SHIFT(vf_id); in ixgbe_clear_ack_pf()
742 s32 index = IXGBE_PFMBICR_INDEX(vf_id); in ixgbe_clear_ack_pf()
772 static s32 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_check_for_msg_pf() argument
774 u32 vf_shift = IXGBE_PFMBICR_SHIFT(vf_id); in ixgbe_check_for_msg_pf()
775 s32 index = IXGBE_PFMBICR_INDEX(vf_id); in ixgbe_check_for_msg_pf()
793 static s32 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_check_for_ack_pf() argument
[all …]
H A Dixgbe_mbx.h202 void ixgbe_init_mbx_params_pf_id(struct ixgbe_hw *hw, u16 vf_id);
203 void ixgbe_upgrade_mbx_params_pf(struct ixgbe_hw *hw, u16 vf_id);
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_sriov.c137 req.vf_id = cpu_to_le16(i); in bnxt_hwrm_func_vf_resource_free()
187 static int bnxt_set_vf_params(struct bnxt_softc *softc, int vf_id) in bnxt_set_vf_params() argument
195 vf = &softc->pf.vf[vf_id]; in bnxt_set_vf_params()
393 bnxt_set_vf_trust(struct bnxt_softc *softc, int vf_id, bool trusted) in bnxt_set_vf_trust() argument
399 if (softc->pf.num_vfs == 0 || vf_id >= softc->pf.num_vfs) { in bnxt_set_vf_trust()
403 vf = &softc->pf.vf[vf_id]; in bnxt_set_vf_trust()
415 if (softc->pf.num_vfs != 0 && vf_id < softc->pf.num_vfs) { in bnxt_set_vf_trust()
416 vf = &softc->pf.vf[vf_id]; in bnxt_set_vf_trust()
516 u32 i = 0, active_vfs = softc->pf.active_vfs, vf_id; in bnxt_hwrm_exec_fwd_req() local
520 vf_id = find_next_bit(softc->pf.vf_event_bmap, active_vfs, i); in bnxt_hwrm_exec_fwd_req()
[all …]
H A Dbnxt_sriov.h102 int bnxt_set_vf_trust(struct bnxt_softc *softc, int vf_id, bool trusted);
106 int bnxt_set_vf_spoofchk(struct bnxt_softc *sc, int vf_id, bool enable);
/freebsd/sys/dev/vnic/
H A Dnic.h299 uint8_t vf_id; member
380 uint8_t vf_id; member
416 uint8_t vf_id; member
423 uint8_t vf_id; member
430 uint8_t vf_id; member
438 uint8_t vf_id; member
445 uint8_t vf_id; member
455 uint8_t vf_id; member
472 uint8_t vf_id; member
H A Dnic_main.c447 mbx.nic_cfg.vf_id = vf; in nic_mbx_send_ready()
529 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats()
530 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats()
533 mbx.bgx_stats.vf_id = bgx->vf_id; in nic_get_bgx_stats()
543 nic_send_msg_to_vf(nic, bgx->vf_id, &mbx); in nic_get_bgx_stats()
696 vnic = cfg->vf_id; in nic_config_cpi()
720 qset = cfg->vf_id; in nic_config_cpi()
760 nic->cpi_base[cfg->vf_id] = cpi_base; in nic_config_cpi()
761 nic->rssi_base[cfg->vf_id] = rssi_base; in nic_config_cpi()
790 rssi_base = nic->rssi_base[cfg->vf_id] + cfg->tbl_offset; in nic_config_rss()
[all …]
H A Dnicvf_main.c860 (mbx->msg.msg & 0xFF), nic->vf_id); in nicvf_send_msg_to_pf()
917 nic->vf_id = mbx.nic_cfg.vf_id & 0x7F; in nicvf_handle_mbx_intr()
968 mbx.frs.vf_id = nic->vf_id; in nicvf_update_hw_max_frs()
979 mbx.mac.vf_id = nic->vf_id; in nicvf_hw_set_mac_addr()
991 mbx.cpi_cfg.vf_id = nic->vf_id; in nicvf_config_cpi()
1004 mbx.rss_size.vf_id = nic->vf_id; in nicvf_get_rss_size()
1020 mbx.rss_cfg.vf_id = nic->vf_id; in nicvf_config_rss()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_iro.h42 #define USTORM_VF_PF_CHANNEL_READY_OFFSET(vf_id) (IRO[3].base + ((vf_id) * IRO[3… argument
93 #define MSTORM_ETH_VF_PRODS_OFFSET(vf_id,vf_queue_id) (IRO[20].base + ((vf_id) * IRO[… argument
H A Decore_iov_api.h258 u16 vf_id,
733 u16 vf_id, u16 qid);
767 …ore_iov_set_vf_ctx(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED vf_id, OSAL_UNUSED void … in ecore_iov_set_vf_ctx() argument
H A Decore_init_fw_funcs.h467 u8 vf_id,
H A Decore_mcp.h327 u8 vf_id, u8 num);
H A Decore_l2_api.h525 u8 vf_id; member
H A Decore_hsi_common.h1554 u8 vf_id /* Malicious VF ID */; member
1564 u8 vf_id /* VF ID */; member
2054 u8 vf_id /* VF ID */; member
2067 u8 vf_id /* VF ID */; member
H A Decore_init_fw_funcs.c1620 u32 ecore_get_mstorm_eth_vf_prods_offset(struct ecore_hwfn *p_hwfn, u8 vf_id, u8 vf_queue_id, u16 v… in ecore_get_mstorm_eth_vf_prods_offset() argument
1622 u32 offset = MSTORM_ETH_VF_PRODS_OFFSET(vf_id, vf_queue_id); in ecore_get_mstorm_eth_vf_prods_offset()
1626 offset += (1 << MSTORM_VF_ZONE_DEFAULT_SIZE_LOG) * vf_id; in ecore_get_mstorm_eth_vf_prods_offset()
1628 offset += 3 * (1 << MSTORM_VF_ZONE_DEFAULT_SIZE_LOG) * vf_id; in ecore_get_mstorm_eth_vf_prods_offset()
H A Decore_hsi_rdma.h490 …u8 vf_id /* This field should be assigned to Virtual Function ID if vf_valid == 1. Otherwise its d… member
594 …u8 vf_id /* This field should be assigned to Virtual Function ID if vf_valid == 1. Otherwise its d… member
672 …u8 vf_id /* This field should be assigned to Virtual Function ID if vf_valid == 1. Otherwise its d… member
H A Decore_sriov.c127 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in ecore_sp_vf_start()
188 p_ramrod->vf_id = GET_FIELD(concrete_vfid, PXP_CONCRETE_FID_VFID); in ecore_sp_vf_stop()
783 u16 vf_id, in ecore_iov_set_vf_ctx() argument
787 struct ecore_vf_info *vf = ecore_iov_get_vf_info(p_hwfn, vf_id, true); in ecore_iov_set_vf_ctx()
3744 u16 vf_id, u16 qid) in ecore_iov_pf_configure_vf_queue_coalesce() argument
3751 if (!ecore_iov_is_valid_vfid(p_hwfn, vf_id, true, true)) { in ecore_iov_pf_configure_vf_queue_coalesce()
3754 vf_id); in ecore_iov_pf_configure_vf_queue_coalesce()
3758 vf = &p_hwfn->pf_iov_info->vfs_array[vf_id]; in ecore_iov_pf_configure_vf_queue_coalesce()
4324 p_vf = ecore_sriov_get_vf_from_absid(p_hwfn, p_data->vf_id); in ecore_sriov_vfpf_malicious()
H A Decore_mcp.c2882 u8 vf_id, u8 num) in ecore_mcp_config_vf_msix_bb() argument
2892 param |= (vf_id << DRV_MB_PARAM_CFG_VF_MSIX_VF_ID_OFFSET) & in ecore_mcp_config_vf_msix_bb()
2902 vf_id); in ecore_mcp_config_vf_msix_bb()
2907 num, vf_id); in ecore_mcp_config_vf_msix_bb()
2938 u8 vf_id, u8 num) in ecore_mcp_config_vf_msix() argument
2941 return ecore_mcp_config_vf_msix_bb(p_hwfn, p_ptt, vf_id, num); in ecore_mcp_config_vf_msix()
H A Decore_dbg_fw_funcs.c3173 u8 port_id, pf_id, vf_id; in ecore_grc_dump_registers() local
3212 for (vf_id = 0; vf_id < chip_platform->num_vfs; vf_id++) { in ecore_grc_dump_registers()
3214 …ecore_fid_pretend(p_hwfn, p_ptt, (1 << PXP_PRETEND_CONCRETE_FID_VFVALID_SHIFT) | (vf_id << PXP_PRE… in ecore_grc_dump_registers()
3215 … p_ptt, curr_input_regs_arr, dump_buf + offset, dump, block_enable, "vf", vf_id, param_name, param… in ecore_grc_dump_registers()
/freebsd/sys/dev/ice/
H A Dice_vf_mbx.c297 void ice_mbx_vf_clear_cnt_e830(struct ice_hw *hw, u16 vf_id) in ice_mbx_vf_clear_cnt_e830() argument
299 u32 reg = rd32(hw, E830_MBX_VF_IN_FLIGHT_MSGS_AT_PF_CNT(vf_id)); in ice_mbx_vf_clear_cnt_e830()
301 wr32(hw, E830_MBX_VF_DEC_TRIG(vf_id), reg); in ice_mbx_vf_clear_cnt_e830()
H A Dice_vf_mbx.h60 void ice_mbx_vf_clear_cnt_e830(struct ice_hw *hw, u16 vf_id);
H A Dice_adminq_cmd.h487 u8 vf_id; member
516 u8 vf_id; member
/freebsd/sys/dev/qat/include/
H A Dicp_qat_fw_init_admin.h93 u8 vf_id; member
/freebsd/sys/dev/irdma/
H A Dirdma_hmc.h151 u32 vf_id; member
/freebsd/sys/dev/liquidio/base/
H A Dlio_common.h823 uint64_t vf_id:8; member
827 uint64_t vf_id:8;
/freebsd/sys/dev/ocs_fc/
H A Docs_fcp.h104 vf_id:12,

12