Home
last modified time | relevance | path

Searched refs:pf_func (Results 1 – 16 of 16) sorted by relevance

/f-stack/dpdk/drivers/common/octeontx2/
H A Dotx2_dev.h75 uint16_t pf_func; \
131 otx2_get_vf(uint16_t pf_func) in otx2_get_vf() argument
133 return (((pf_func >> RVU_PFVF_FUNC_SHIFT) & RVU_PFVF_FUNC_MASK) - 1); in otx2_get_vf()
137 otx2_get_pf(uint16_t pf_func) in otx2_get_pf() argument
139 return (pf_func >> RVU_PFVF_PF_SHIFT) & RVU_PFVF_PF_MASK; in otx2_get_pf()
149 otx2_is_afvf(uint16_t pf_func) in otx2_is_afvf() argument
151 return !(pf_func & ~RVU_PFVF_FUNC_MASK); in otx2_is_afvf()
H A Dotx2_dev.c377 dev->pf_func = msg->pcifunc; in otx2_process_msgs()
435 vf_msg->pcifunc = dev->pf_func; in pf_vf_mbox_send_up_msg()
450 otx2_get_pf(dev->pf_func), otx2_get_vf(dev->pf_func), in otx2_mbox_up_handler_cgx_link_event()
479 otx2_get_pf(dev->pf_func), in otx2_mbox_up_handler_cgx_ptp_rx_info()
480 otx2_get_vf(dev->pf_func), in otx2_mbox_up_handler_cgx_ptp_rx_info()
524 rsp->hdr.pcifunc = dev->pf_func; \ in mbox_process_msgs_up()
948 rc = otx2_send_ready_msg(dev->mbox, &dev->pf_func); in otx2_dev_priv_init()
952 dev->pf = otx2_get_pf(dev->pf_func); in otx2_dev_priv_init()
953 dev->vf = otx2_get_vf(dev->pf_func); in otx2_dev_priv_init()
H A Dotx2_mbox.h1861 int otx2_send_ready_msg(struct otx2_mbox *mbox, uint16_t *pf_func /* out */);
1862 int otx2_reply_invalid_msg(struct otx2_mbox *mbox, int devid, uint16_t pf_func,
/f-stack/dpdk/drivers/regex/octeontx2/
H A Dotx2_regexdev_mbox.c173 msg->hdr.pcifunc = vf->otx2_dev.pf_func; in otx2_ree_af_reg_read()
211 msg->hdr.pcifunc = vf->otx2_dev.pf_func; in otx2_ree_af_reg_write()
250 req->hdr.pcifunc = vf->otx2_dev.pf_func; in otx2_ree_rule_db_get()
278 req->hdr.pcifunc = vf->otx2_dev.pf_func; in otx2_ree_rule_db_get()
317 req->hdr.pcifunc = vf->otx2_dev.pf_func; in otx2_ree_rule_db_len_get()
354 req->hdr.pcifunc = vf->otx2_dev.pf_func; in ree_db_msg()
H A Dotx2_regexdev_hw_access.h65 uint64_t pf_func : 16; member
H A Dotx2_regexdev.c838 pf = otx2_get_pf(dev->pf_func); in ree_get_blkaddr()
/f-stack/dpdk/drivers/crypto/octeontx2/
H A Dotx2_cryptodev_mbox.c165 msg->hdr.pcifunc = vf->otx2_dev.pf_func; in otx2_cpt_af_reg_read()
201 msg->hdr.pcifunc = vf->otx2_dev.pf_func; in otx2_cpt_af_reg_write()
249 msg->nix_pf_func = otx2_eth_dev->pf_func; in otx2_cpt_qp_ethdev_bind()
/f-stack/dpdk/drivers/mempool/octeontx2/
H A Dotx2_mempool.c302 lf->pf_func = dev->pf_func; in otx2_npa_lf_init()
307 idev->npa_pf_func = dev->pf_func; in otx2_npa_lf_init()
316 lf, nr_pools, aura_sz, lf->pf_func, npa_msixoff); in otx2_npa_lf_init()
H A Dotx2_mempool.h41 uint16_t pf_func; member
H A Dotx2_mempool_ops.c522 lf->pf_func, pool_id); in npa_lf_stack_memzone_name()
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_flow_parse.c819 uint16_t pf_func, vf_id; in otx2_flow_parse_actions() local
826 pf_func = otx2_pfvf_func(hw->pf, hw->vf); in otx2_flow_parse_actions()
876 pf_func &= (0xfc00); in otx2_flow_parse_actions()
890 pf_func &= (0xfc00); in otx2_flow_parse_actions()
891 pf_func = (pf_func | (vf_id + 1)); in otx2_flow_parse_actions()
1093 flow->npc_action |= (uint64_t)pf_func << 4; in otx2_flow_parse_actions()
H A Dotx2_vlan.c465 uint16_t pf_func; in nix_vlan_handle_default_tx_entry() local
472 pf_func = (dev->pf_func & 0xff) << 8; in nix_vlan_handle_default_tx_entry()
473 pf_func |= (dev->pf_func >> 8) & 0xff; in nix_vlan_handle_default_tx_entry()
476 entry.kw[0] = (uint64_t)pf_func << 32; in nix_vlan_handle_default_tx_entry()
H A Dotx2_flow_utils.c947 uint16_t pf_func = (flow->npc_action >> 4) & 0xffff; in otx2_flow_mcam_alloc_and_write() local
949 pf_func = htons(pf_func); in otx2_flow_mcam_alloc_and_write()
950 req->entry_data.kw[0] |= ((uint64_t)pf_func << 32); in otx2_flow_mcam_alloc_and_write()
/f-stack/dpdk/drivers/common/octeontx2/hw/
H A Dotx2_nix.h740 uint64_t pf_func : 16; member
928 uint64_t pf_func : 16; member
950 uint64_t pf_func : 16; member
H A Dotx2_npc.h371 uint64_t pf_func :16; member
/f-stack/dpdk/drivers/event/octeontx2/
H A Dotx2_evdev.c1829 otx2_sso_pf_func_set(dev->pf_func); in otx2_sso_init()