/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_iov_api.h | 226 * @param vfid 230 int vfid); 297 u16 vfid, 312 u16 vfid, 330 * @brief Check if given VF ID @vfid is valid 351 * @param vfid - Relative VF ID 358 u16 vfid, bool b_enabled_only); 374 * @param vfid 380 int vfid); 387 * @param vfid 765 ecore_iov_process_mbx_req(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, int OSAL_UNUSED vfid) argument 770 ecore_iov_set_link(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED vfid, struct ecore_mcp_link_params OSAL_UNUSED *params, struct ecore_mcp_link_state OSAL_UNUSED *link, struct ecore_mcp_link_capabilities OSAL_UNUSED *p_caps) argument 771 ecore_iov_get_link(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED vfid, struct ecore_mcp_link_params OSAL_UNUSED *params, struct ecore_mcp_link_state OSAL_UNUSED *link, struct ecore_mcp_link_capabilities OSAL_UNUSED *p_caps) argument 782 ecore_iov_get_public_vf_info(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED vfid, bool OSAL_UNUSED b_enabled_only) argument 783 ecore_iov_pf_add_pending_events(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL_UNUSED vfid) argument 785 ecore_iov_copy_vf_msg(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *ptt, int OSAL_UNUSED vfid) argument 786 ecore_iov_bulletin_set_forced_mac(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL_UNUSED *mac, int OSAL_UNUSED vfid) argument 787 ecore_iov_bulletin_set_mac(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL_UNUSED *mac, OSAL_UNUSED int vfid) argument 788 ecore_iov_bulletin_set_forced_untagged_default(struct ecore_hwfn OSAL_UNUSED *p_hwfn, bool OSAL_UNUSED b_untagged_only, int OSAL_UNUSED vfid) argument 789 ecore_iov_get_vfs_opaque_fid(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid, u16 OSAL_UNUSED *opaque_fid) argument 790 ecore_iov_bulletin_set_forced_vlan(struct ecore_hwfn OSAL_UNUSED p_hwfn, u16 OSAL_UNUSED pvid, int OSAL_UNUSED vfid) argument 791 ecore_iov_vf_has_vport_instance(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid) argument 792 ecore_iov_post_vf_bulletin(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid, struct ecore_ptt OSAL_UNUSED *p_ptt) argument 793 ecore_iov_is_vf_stopped(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid) argument 794 ecore_iov_spoofchk_set(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid, bool OSAL_UNUSED val) argument 795 ecore_iov_spoofchk_get(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid) argument 796 ecore_iov_pf_sanity_check(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid) argument 804 ecore_iov_configure_tx_rate(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, int OSAL_UNUSED vfid, int OSAL_UNUSED val) argument 805 ecore_iov_get_vf_stats(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, int OSAL_UNUSED vfid, struct ecore_eth_stats OSAL_UNUSED *p_stats) argument 813 ecore_iov_get_vf_min_rate(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid) argument 814 ecore_iov_configure_min_tx_rate(struct ecore_dev OSAL_UNUSED *p_dev, int OSAL_UNUSED vfid, OSAL_UNUSED u32 rate) argument 816 ecore_iov_bulletin_set_udp_ports(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid, u16 OSAL_UNUSED vxlan_port, u16 OSAL_UNUSED geneve_port) argument 821 ecore_iov_set_vf_hw_channel(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid, bool OSAL_UNUSED b_is_hw) argument [all...] |
H A D | ecore_l2.h | 54 u8 vfid; member in struct:ecore_queue_cid_vf_params 93 u8 vfid; member in struct:ecore_queue_cid
|
H A D | ecore_sriov.c | 361 int vfid, 369 p_vf = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true); 730 static bool _ecore_iov_pf_sanity_check(struct ecore_hwfn *p_hwfn, int vfid, argument 739 if (!ecore_iov_is_valid_vfid(p_hwfn, vfid, true, b_fail_malicious)) 745 bool ecore_iov_pf_sanity_check(struct ecore_hwfn *p_hwfn, int vfid) argument 747 return _ecore_iov_pf_sanity_check(p_hwfn, vfid, true); 1062 u16 vfid, 1067 struct ecore_vf_info *p_vf = ecore_iov_get_vf_info(p_hwfn, vfid, false); 2139 "Failed to get VF info, invalid vfid [%d]\n", 2384 vf_params.vfid 360 ecore_iov_post_vf_bulletin(struct ecore_hwfn *p_hwfn, int vfid, struct ecore_ptt *p_ptt) argument 1061 ecore_iov_set_link(struct ecore_hwfn *p_hwfn, u16 vfid, struct ecore_mcp_link_params *params, struct ecore_mcp_link_state *link, struct ecore_mcp_link_capabilities *p_caps) argument 3937 u16 vfid = p_vf->abs_vf_id; local 4060 u8 vfid; local 4090 ecore_iov_get_link(struct ecore_hwfn *p_hwfn, u16 vfid, struct ecore_mcp_link_params *p_params, struct ecore_mcp_link_state *p_link, struct ecore_mcp_link_capabilities *p_caps) argument 4112 ecore_iov_process_mbx_req(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, int vfid) argument 4393 ecore_iov_copy_vf_msg(struct ecore_hwfn *p_hwfn, struct ecore_ptt *ptt, int vfid) argument 4424 ecore_iov_bulletin_set_forced_mac(struct ecore_hwfn *p_hwfn, u8 *mac, int vfid) argument 4455 ecore_iov_bulletin_set_mac(struct ecore_hwfn *p_hwfn, u8 *mac, int vfid) argument 4488 ecore_iov_bulletin_set_forced_untagged_default(struct ecore_hwfn *p_hwfn, bool b_untagged_only, int vfid) argument 4532 ecore_iov_get_vfs_opaque_fid(struct ecore_hwfn *p_hwfn, int vfid, u16 *opaque_fid) argument 4545 ecore_iov_bulletin_set_forced_vlan(struct ecore_hwfn *p_hwfn, u16 pvid, int vfid) argument 4574 ecore_iov_bulletin_set_udp_ports(struct ecore_hwfn *p_hwfn, int vfid, u16 vxlan_port, u16 geneve_port) argument 4597 ecore_iov_vf_has_vport_instance(struct ecore_hwfn *p_hwfn, int vfid) argument 4608 ecore_iov_is_vf_stopped(struct ecore_hwfn *p_hwfn, int vfid) argument 4619 ecore_iov_spoofchk_get(struct ecore_hwfn *p_hwfn, int vfid) argument 4630 ecore_iov_spoofchk_set(struct ecore_hwfn *p_hwfn, int vfid, bool val) argument 4763 ecore_iov_configure_tx_rate(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, int vfid, int val) argument 4787 ecore_iov_configure_min_tx_rate(struct ecore_dev *p_dev, int vfid, u32 rate) argument 4811 ecore_iov_get_vf_stats(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, int vfid, struct ecore_eth_stats *p_stats) argument 4929 ecore_iov_get_vf_min_rate(struct ecore_hwfn *p_hwfn, int vfid) argument 4947 ecore_iov_set_vf_hw_channel(struct ecore_hwfn *p_hwfn, int vfid, bool b_is_hw) argument [all...] |
H A D | ecore_cxt.h | 184 * @param vfid - engine relative index. ECORE_CXT_PF_CID if belongs to PF 187 u32 cid, u8 vfid); 209 * @param vfid - engine relative index. ECORE_CXT_PF_CID if belongs to PF 215 u32 *p_cid, u8 vfid);
|
H A D | bcm_osal.h | 87 extern int qlnx_iov_chk_ucast(void *p_hwfn, int vfid, void *params); 88 extern int qlnx_iov_update_vport(void *p_hwfn, uint8_t vfid, void *params, 530 #define OSAL_IOV_CHK_UCAST(p_hwfn, vfid, params) \ 531 qlnx_iov_chk_ucast(p_hwfn, vfid, params); 534 #define OSAL_IOV_VF_VPORT_UPDATE(p_hwfn, vfid, params, tlvs) \ 535 qlnx_iov_update_vport(p_hwfn, vfid, params, tlvs)
|
H A D | ecore_hw.h | 243 * @param vfid 245 u32 ecore_vfid_to_concrete(struct ecore_hwfn *p_hwfn, u8 vfid);
|
H A D | ecore_cxt.c | 1993 u32 *p_cid, u8 vfid) 2004 if (vfid >= COMMON_MAX_NUM_VFS && vfid != ECORE_CXT_PF_CID) { 2005 DP_NOTICE(p_hwfn, true, "VF [%02x] is out of range\n", vfid); 2010 if (vfid == ECORE_CXT_PF_CID) 2013 p_map = &p_mngr->acquired_vf[type][vfid]; 2034 "Acquired cid 0x%08x [rel. %08x] vfid %02x type %d\n", 2035 *p_cid, rel_cid, vfid, type); 2048 u32 cid, u8 vfid, 2057 if (vfid 1991 _ecore_cxt_acquire_cid(struct ecore_hwfn *p_hwfn, enum protocol_type type, u32 *p_cid, u8 vfid) argument 2047 ecore_cxt_test_cid_acquired(struct ecore_hwfn *p_hwfn, u32 cid, u8 vfid, enum protocol_type *p_type, struct ecore_cid_acquired_map **pp_map) argument 2089 _ecore_cxt_release_cid(struct ecore_hwfn *p_hwfn, u32 cid, u8 vfid) argument [all...] |
H A D | ecore_l2.c | 216 _ecore_cxt_release_cid(p_hwfn, p_cid->cid, p_cid->vfid); 219 if (p_cid->vfid == ECORE_QUEUE_CID_PF) 256 p_cid->vfid = p_vf_params->vfid; 260 p_cid->vfid = ECORE_QUEUE_CID_PF; 286 if (p_cid->vfid == ECORE_QUEUE_CID_PF) { 329 u8 vfid = ECORE_CXT_PF_CID; local 338 vfid = p_vf_params->vfid; 353 &cid, vfid) ! [all...] |
H A D | qlnx_os.c | 7707 __qlnx_iov_chk_ucast(struct ecore_hwfn *p_hwfn, int vfid, argument 7712 if (!ecore_iov_vf_has_vport_instance(p_hwfn, vfid)) { 7714 "VF[%d] vport not initialized\n", vfid); 7718 vf = ecore_iov_get_public_vf_info(p_hwfn, vfid, true); 7731 qlnx_iov_chk_ucast(void *p_hwfn, int vfid, void *params) argument 7733 return (__qlnx_iov_chk_ucast(p_hwfn, vfid, params)); 7737 __qlnx_iov_update_vport(struct ecore_hwfn *hwfn, uint8_t vfid, argument 7740 if (!ecore_iov_vf_has_vport_instance(hwfn, vfid)) { 7742 "VF[%d] vport not initialized\n", vfid); 7757 qlnx_iov_update_vport(void *hwfn, uint8_t vfid, voi argument 7957 qlnx_sriov_enable_qid_config(struct ecore_hwfn *hwfn, u16 vfid, struct ecore_iov_vf_init_params *params) argument [all...] |
H A D | ecore_hw.c | 445 u32 ecore_vfid_to_concrete(struct ecore_hwfn *p_hwfn, u8 vfid) argument 450 SET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID, vfid);
|
H A D | ecore.h | 991 u8 vfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID); local 997 sw_fid = vfid + MAX_NUM_PFS;
|
/freebsd-current/sys/dev/ixl/ |
H A D | virtchnl.h | 170 u32 vfid; /* used by PF when sending to VF */ member in struct:virtchnl_msg
|
H A D | i40e_prototype.h | 236 enum i40e_status_code i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid,
|
H A D | i40e_common.c | 3372 * @vfid: vf id to send msg 3381 enum i40e_status_code i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid, argument 3391 cmd->id = CPU_TO_LE32(vfid);
|
/freebsd-current/sys/dev/iavf/ |
H A D | virtchnl.h | 184 u32 vfid; /* used by PF when sending to VF */ member in struct:virtchnl_msg
|
/freebsd-current/sys/dev/ice/ |
H A D | virtchnl.h | 352 u32 vfid; /* used by PF when sending to VF */ member in struct:virtchnl_msg
|
/freebsd-current/sys/dev/bxe/ |
H A D | bxe.c | 9500 int vfid, 9524 sb_data_e2.common.p_func.vf_id = vfid; 9498 bxe_init_sb(struct bxe_softc *sc, bus_addr_t busaddr, int vfid, uint8_t vf_valid, int fw_sb_id, int igu_sb_id) argument
|