Home
last modified time | relevance | path

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

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_iov_api.h230 int vfid);
297 u16 vfid,
312 u16 vfid,
358 u16 vfid, bool b_enabled_only);
380 int vfid);
390 u8 *mac, int vfid);
401 u8 *mac, int vfid);
417 int vfid);
426 void ecore_iov_get_vfs_opaque_fid(struct ecore_hwfn *p_hwfn, int vfid,
438 u16 pvid, int vfid);
[all …]
H A Decore_sriov.c361 int vfid, in ecore_iov_post_vf_bulletin() argument
369 p_vf = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true); in ecore_iov_post_vf_bulletin()
730 static bool _ecore_iov_pf_sanity_check(struct ecore_hwfn *p_hwfn, int vfid, in _ecore_iov_pf_sanity_check() argument
739 if (!ecore_iov_is_valid_vfid(p_hwfn, vfid, true, b_fail_malicious)) in _ecore_iov_pf_sanity_check()
745 bool ecore_iov_pf_sanity_check(struct ecore_hwfn *p_hwfn, int vfid) in ecore_iov_pf_sanity_check() argument
747 return _ecore_iov_pf_sanity_check(p_hwfn, vfid, true); in ecore_iov_pf_sanity_check()
1062 u16 vfid, in ecore_iov_set_link() argument
1067 struct ecore_vf_info *p_vf = ecore_iov_get_vf_info(p_hwfn, vfid, false); in ecore_iov_set_link()
2384 vf_params.vfid = vf->relative_vf_id; in ecore_iov_vf_mbx_start_rxq()
2658 vf_params.vfid = vf->relative_vf_id; in ecore_iov_vf_mbx_start_txq()
[all …]
H A Decore_l2.h54 u8 vfid; member
93 u8 vfid; member
H A Decore_cxt.h187 u32 cid, u8 vfid);
215 u32 *p_cid, u8 vfid);
H A Dbcm_osal.h87 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,
512 #define OSAL_IOV_CHK_UCAST(p_hwfn, vfid, params) \ argument
513 qlnx_iov_chk_ucast(p_hwfn, vfid, params);
516 #define OSAL_IOV_VF_VPORT_UPDATE(p_hwfn, vfid, params, tlvs) \ argument
517 qlnx_iov_update_vport(p_hwfn, vfid, params, tlvs)
H A Decore_cxt.c1993 u32 *p_cid, u8 vfid) in _ecore_cxt_acquire_cid() argument
2004 if (vfid >= COMMON_MAX_NUM_VFS && vfid != ECORE_CXT_PF_CID) { in _ecore_cxt_acquire_cid()
2005 DP_NOTICE(p_hwfn, true, "VF [%02x] is out of range\n", vfid); in _ecore_cxt_acquire_cid()
2010 if (vfid == ECORE_CXT_PF_CID) in _ecore_cxt_acquire_cid()
2013 p_map = &p_mngr->acquired_vf[type][vfid]; in _ecore_cxt_acquire_cid()
2035 *p_cid, rel_cid, vfid, type); in _ecore_cxt_acquire_cid()
2048 u32 cid, u8 vfid, in ecore_cxt_test_cid_acquired() argument
2057 if (vfid == ECORE_CXT_PF_CID) in ecore_cxt_test_cid_acquired()
2060 *pp_map = &p_mngr->acquired_vf[*p_type][vfid]; in ecore_cxt_test_cid_acquired()
2071 DP_NOTICE(p_hwfn, true, "Invalid CID %d vfid %02x", cid, vfid); in ecore_cxt_test_cid_acquired()
[all …]
H A Decore_l2.c216 _ecore_cxt_release_cid(p_hwfn, p_cid->cid, p_cid->vfid); in ecore_eth_queue_cid_release()
219 if (p_cid->vfid == ECORE_QUEUE_CID_PF) in ecore_eth_queue_cid_release()
256 p_cid->vfid = p_vf_params->vfid; in _ecore_eth_queue_to_cid()
260 p_cid->vfid = ECORE_QUEUE_CID_PF; in _ecore_eth_queue_to_cid()
286 if (p_cid->vfid == ECORE_QUEUE_CID_PF) { in _ecore_eth_queue_to_cid()
329 u8 vfid = ECORE_CXT_PF_CID; in ecore_eth_queue_to_cid() local
338 vfid = p_vf_params->vfid; in ecore_eth_queue_to_cid()
353 &cid, vfid) != ECORE_SUCCESS) { in ecore_eth_queue_to_cid()
362 _ecore_cxt_release_cid(p_hwfn, cid, vfid); in ecore_eth_queue_to_cid()
969 if (p_cid->vfid != ECORE_QUEUE_CID_PF) { in ecore_eth_rxq_start_ramrod()
[all …]
H A Decore_hw.h245 u32 ecore_vfid_to_concrete(struct ecore_hwfn *p_hwfn, u8 vfid);
H A Decore.h991 u8 vfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID); in ecore_concrete_to_sw_fid() local
997 sw_fid = vfid + MAX_NUM_PFS; in ecore_concrete_to_sw_fid()
H A Dqlnx_os.c7716 __qlnx_iov_chk_ucast(struct ecore_hwfn *p_hwfn, int vfid, in __qlnx_iov_chk_ucast() argument
7721 if (!ecore_iov_vf_has_vport_instance(p_hwfn, vfid)) { in __qlnx_iov_chk_ucast()
7723 "VF[%d] vport not initialized\n", vfid); in __qlnx_iov_chk_ucast()
7727 vf = ecore_iov_get_public_vf_info(p_hwfn, vfid, true); in __qlnx_iov_chk_ucast()
7740 qlnx_iov_chk_ucast(void *p_hwfn, int vfid, void *params) in qlnx_iov_chk_ucast() argument
7742 return (__qlnx_iov_chk_ucast(p_hwfn, vfid, params)); in qlnx_iov_chk_ucast()
7746 __qlnx_iov_update_vport(struct ecore_hwfn *hwfn, uint8_t vfid, in __qlnx_iov_update_vport() argument
7749 if (!ecore_iov_vf_has_vport_instance(hwfn, vfid)) { in __qlnx_iov_update_vport()
7751 "VF[%d] vport not initialized\n", vfid); in __qlnx_iov_update_vport()
7766 qlnx_iov_update_vport(void *hwfn, uint8_t vfid, void *params, uint16_t *tlvs) in qlnx_iov_update_vport() argument
[all …]
H A Decore_hw.c445 u32 ecore_vfid_to_concrete(struct ecore_hwfn *p_hwfn, u8 vfid) in ecore_vfid_to_concrete() argument
450 SET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID, vfid); in ecore_vfid_to_concrete()
/freebsd/sys/fs/p9fs/
H A Dp9fs_vfsops.c506 struct p9_fid *vfid; in p9fs_root() local
516 vfid = p9fs_get_fid(clnt, np, curthread->td_ucred, VFID, -1, &error); in p9fs_root()
523 if (vfid == NULL && clnt->trans_status == P9FS_BEGIN_DISCONNECT) in p9fs_root()
524 vfid = vmp->p9fs_session.mnt_fid; in p9fs_root()
531 error = p9fs_vget_common(mp, np, lkflags, np, vfid, vpp, NULL); in p9fs_root()
547 struct p9_fid *vfid; in p9fs_statfs() local
556 vfid = p9fs_get_fid(clnt, np, curthread->td_ucred, VFID, -1, &error); in p9fs_statfs()
561 res = p9_client_statfs(vfid, &statfs); in p9fs_statfs()
H A Dp9fs_vnops.c651 struct p9_fid *vofid, *vfid; in p9fs_open() local
681 vfid = p9fs_get_fid(vses->clnt, np, ap->a_cred, VFID, -1, &error); in p9fs_open()
701 vofid = p9_client_walk(vfid, 0, NULL, 1, &error); in p9fs_open()
834 struct p9_fid *vfid; in p9fs_reload_stats_dotl() local
840 vfid = p9fs_get_fid(vses->clnt, node, cred, VOFID, P9PROTO_OREAD, &error); in p9fs_reload_stats_dotl()
841 if (vfid == NULL) { in p9fs_reload_stats_dotl()
842 vfid = p9fs_get_fid(vses->clnt, node, cred, VFID, -1, &error); in p9fs_reload_stats_dotl()
849 error = p9_client_getattr(vfid, stat, P9PROTO_STATS_ALL); in p9fs_reload_stats_dotl()
1136 struct p9_fid *vfid; in p9fs_setattr_dotl() local
1231 vfid = p9fs_get_fid(vses->clnt, node, cred, VOFID, P9PROTO_OWRITE, &error); in p9fs_setattr_dotl()
[all …]
H A Dp9fs.h196 void p9fs_fid_remove(struct p9fs_node *np, struct p9_fid *vfid,
/freebsd/sys/dev/ixl/
H A Dvirtchnl.h170 u32 vfid; /* used by PF when sending to VF */ member
H A Di40e_prototype.h236 enum i40e_status_code i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid,
H A Di40e_common.c3381 enum i40e_status_code i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid, in i40e_aq_send_msg_to_vf() argument
3391 cmd->id = CPU_TO_LE32(vfid); in i40e_aq_send_msg_to_vf()
/freebsd/sys/dev/iavf/
H A Dvirtchnl.h184 u32 vfid; /* used by PF when sending to VF */ member
/freebsd/sys/dev/ice/
H A Dvirtchnl.h352 u32 vfid; /* used by PF when sending to VF */ member
/freebsd/sys/dev/bxe/
H A Dbxe.c9500 int vfid, in bxe_init_sb() argument
9524 sb_data_e2.common.p_func.vf_id = vfid; in bxe_init_sb()