| /dpdk/kernel/linux/kni/ |
| H A D | kni_net.c | 58 pa2kva(void *pa) in pa2kva() argument 60 return phys_to_virt((unsigned long)pa); in pa2kva() 65 pa2va(void *pa, struct rte_kni_mbuf *m) in pa2va() argument 69 va = (void *)((unsigned long)pa + in pa2va() 83 get_kva(struct kni_dev *kni, void *pa) in get_kva() argument 87 return iova2kva(kni, pa); in get_kva() 89 return pa2kva(pa); in get_kva() 247 kva = get_kva(kni, kni->pa[i]); in kni_fifo_trans_pa2va() 407 kva = get_kva(kni, kni->pa[i]); in kni_net_rx_normal() 506 kva = get_kva(kni, kni->pa[i]); in kni_net_rx_lo_fifo() [all …]
|
| H A D | kni_dev.h | 88 void *pa[MBUF_BURST_SZ]; member
|
| /dpdk/drivers/common/iavf/ |
| H A D | iavf_adminq.c | 148 CPU_TO_LE32(IAVF_HI_DWORD(bi->pa)); in iavf_alloc_arq_bufs() 150 CPU_TO_LE32(IAVF_LO_DWORD(bi->pa)); in iavf_alloc_arq_bufs() 237 if (hw->aq.asq.r.asq_bi[i].pa) in iavf_free_asq_bufs() 268 wr32(hw, hw->aq.asq.bal, IAVF_LO_DWORD(hw->aq.asq.desc_buf.pa)); in iavf_config_asq_regs() 269 wr32(hw, hw->aq.asq.bah, IAVF_HI_DWORD(hw->aq.asq.desc_buf.pa)); in iavf_config_asq_regs() 273 if (reg != IAVF_LO_DWORD(hw->aq.asq.desc_buf.pa)) in iavf_config_asq_regs() 297 wr32(hw, hw->aq.arq.bal, IAVF_LO_DWORD(hw->aq.arq.desc_buf.pa)); in iavf_config_arq_regs() 298 wr32(hw, hw->aq.arq.bah, IAVF_HI_DWORD(hw->aq.arq.desc_buf.pa)); in iavf_config_arq_regs() 305 if (reg != IAVF_LO_DWORD(hw->aq.arq.desc_buf.pa)) in iavf_config_arq_regs() 758 CPU_TO_LE32(IAVF_HI_DWORD(dma_buff->pa)); in iavf_asq_send_command() [all …]
|
| H A D | iavf_impl.c | 38 mem->pa = mz->iova; in iavf_allocate_dma_mem_d() 54 mem->pa = (u64)0; in iavf_free_dma_mem_d()
|
| H A D | iavf_osdep.h | 163 u64 pa; member
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_sparser.c | 195 uint8_t pa[3]; in dpaa2_eth_enable_wriop_soft_parser() local 201 pa[0] = 32; /* Custom Header Length in bytes */ in dpaa2_eth_enable_wriop_soft_parser() 206 sp_param.param_array = (uint8_t *)&pa[0]; in dpaa2_eth_enable_wriop_soft_parser()
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | ip_pipeline.rst | 469 tc0 meter <meter_profile_id> policer g <pa> y <pa> r <pa> 470 [tc1 meter <meter_profile_id> policer g <pa> y <pa> r <pa> 471 tc2 meter <meter_profile_id> policer g <pa> y <pa> r <pa> 472 tc3 meter <meter_profile_id> policer g <pa> y <pa> r <pa>]] 503 <pa> ::= g | y | r | drop
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_adminq.c | 163 CPU_TO_LE32(I40E_HI_DWORD(bi->pa)); in i40e_alloc_arq_bufs() 165 CPU_TO_LE32(I40E_LO_DWORD(bi->pa)); in i40e_alloc_arq_bufs() 252 if (hw->aq.asq.r.asq_bi[i].pa) in i40e_free_asq_bufs() 301 wr32(hw, hw->aq.asq.bal, I40E_LO_DWORD(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs() 302 wr32(hw, hw->aq.asq.bah, I40E_HI_DWORD(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs() 306 if (reg != I40E_LO_DWORD(hw->aq.asq.desc_buf.pa)) in i40e_config_asq_regs() 348 wr32(hw, hw->aq.arq.bal, I40E_LO_DWORD(hw->aq.arq.desc_buf.pa)); in i40e_config_arq_regs() 349 wr32(hw, hw->aq.arq.bah, I40E_HI_DWORD(hw->aq.arq.desc_buf.pa)); in i40e_config_arq_regs() 356 if (reg != I40E_LO_DWORD(hw->aq.arq.desc_buf.pa)) in i40e_config_arq_regs() 963 CPU_TO_LE32(I40E_HI_DWORD(dma_buff->pa)); [all …]
|
| H A D | i40e_hmc.h | 100 #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type) \ argument 103 val1 = (u32)(I40E_HI_DWORD(pa)); \ 104 val2 = (u32)(pa) | (I40E_HMC_MAX_BP_COUNT << \
|
| H A D | i40e_osdep.h | 182 u64 pa; member
|
| H A D | i40e_hmc.c | 161 page_desc = page->pa | 0x1; in i40e_add_pd_table_entry()
|
| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_sym_engine.h | 18 uint64_t pa; member 23 #define fsattr_pa(__ptr) ((__ptr)->pa)
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_controlq.c | 187 CPU_TO_LE32(ICE_HI_DWORD(bi->pa)); in ice_alloc_rq_bufs() 189 CPU_TO_LE32(ICE_LO_DWORD(bi->pa)); in ice_alloc_rq_bufs() 256 wr32(hw, ring->bal, ICE_LO_DWORD(ring->desc_buf.pa)); in ice_cfg_cq_regs() 257 wr32(hw, ring->bah, ICE_HI_DWORD(ring->desc_buf.pa)); in ice_cfg_cq_regs() 260 if (rd32(hw, ring->bal) != ICE_LO_DWORD(ring->desc_buf.pa)) in ice_cfg_cq_regs() 308 if ((qi)->ring.r.ring##_bi[i].pa) \ 1022 CPU_TO_LE32(ICE_HI_DWORD(dma_buf->pa)); in ice_sq_send_cmd_nolock() 1024 CPU_TO_LE32(ICE_LO_DWORD(dma_buf->pa)); in ice_sq_send_cmd_nolock() 1225 desc->params.generic.addr_high = CPU_TO_LE32(ICE_HI_DWORD(bi->pa)); in ice_clean_rq_elem() 1226 desc->params.generic.addr_low = CPU_TO_LE32(ICE_LO_DWORD(bi->pa)); in ice_clean_rq_elem()
|
| H A D | ice_osdep.h | 192 u64 pa; member 272 mem->pa = mz->iova; in ice_alloc_dma_mem() 275 "%"PRIu64, mz->name, mem->pa); in ice_alloc_dma_mem() 286 mem->pa); in ice_free_dma_mem() 290 mem->pa = (u64)0; in ice_free_dma_mem()
|
| /dpdk/drivers/crypto/bcmfs/hw/ |
| H A D | bcmfs5_rm.c | 48 #define BD_START_ADDR_VALUE(pa) \ argument 49 ((uint32_t)((((uint64_t)(pa)) >> RING_BD_ALIGN_ORDER) & 0x0fffffff)) 54 #define CMPL_START_ADDR_VALUE(pa) \ argument 55 ((uint32_t)((((uint64_t)(pa)) >> RING_CMPL_ALIGN_ORDER) & 0x07ffffff))
|
| H A D | bcmfs4_rm.c | 50 #define BD_START_ADDR_VALUE(pa) \ argument 51 ((uint32_t)((((uint64_t)(pa)) >> FS_RING_BD_ALIGN_ORDER) & 0x0fffffff)) 56 #define CMPL_START_ADDR_VALUE(pa) \ argument 57 ((uint32_t)((((uint64_t)(pa)) >> FS_RING_CMPL_ALIGN_ORDER) & 0x7ffffff))
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cn10k_tx.h | 247 uintptr_t pa; in cn10k_nix_sec_steorl() local 261 pa = io_addr | ((data >> 16) & 0x7) << 4; in cn10k_nix_sec_steorl() 268 roc_lmt_submit_steorl(data, pa); in cn10k_nix_sec_steorl() 945 uintptr_t pa, lbase = txq->lmt_base; in cn10k_nix_xmit_pkts() local 1037 pa = io_addr | (data & 0x7) << 4; in cn10k_nix_xmit_pkts() 1043 roc_lmt_submit_steorl(data, pa); in cn10k_nix_xmit_pkts() 1046 pa = io_addr | (data & 0x7) << 4; in cn10k_nix_xmit_pkts() 1052 roc_lmt_submit_steorl(data, pa); in cn10k_nix_xmit_pkts() 1055 pa = io_addr | (data & 0x7) << 4; in cn10k_nix_xmit_pkts() 1061 roc_lmt_submit_steorl(data, pa); in cn10k_nix_xmit_pkts() [all …]
|
| H A D | cn10k_rx.h | 118 uint64_t pa; in nix_sec_flush_meta_burst() local 121 pa = roc_npa_aura_handle_to_base(aura_handle) + NPA_LF_AURA_BATCH_FREE0; in nix_sec_flush_meta_burst() 122 pa |= ((data & 0x7) << 4); in nix_sec_flush_meta_burst() 129 roc_lmt_submit_steorl(data, pa); in nix_sec_flush_meta_burst() 136 uint64_t pa; in nix_sec_flush_meta() local 142 pa = roc_npa_aura_handle_to_base(aura_handle) + NPA_LF_AURA_BATCH_FREE0; in nix_sec_flush_meta() 148 pa |= ((uint64_t)(loff >> 1) << 4); in nix_sec_flush_meta() 149 roc_lmt_submit_steorl(lmt_id, pa); in nix_sec_flush_meta()
|
| /dpdk/lib/ipsec/ |
| H A D | esp_outb.c | 36 sop->auth.digest.phys_addr = icv->pa; in sop_ciph_auth_prepare() 51 sop->aead.digest.phys_addr = icv->pa; in sop_aead_prepare() 53 sop->aead.aad.phys_addr = icv->pa + sa->icv_len; in sop_aead_prepare() 232 icv->pa = rte_pktmbuf_iova_offset(ml, pdofs); in outb_tun_pkt_prepare() 429 icv->pa = rte_pktmbuf_iova_offset(ml, pdofs); in outb_trs_pkt_prepare()
|
| H A D | esp_inb.c | 35 sop->auth.digest.phys_addr = icv->pa; in sop_ciph_auth_prepare() 50 sop->aead.digest.phys_addr = icv->pa; in sop_aead_prepare() 52 sop->aead.aad.phys_addr = icv->pa + sa->icv_len; in sop_aead_prepare() 327 icv->pa = rte_pktmbuf_iova_offset(ml, icv_ofs); in inb_prepare()
|
| H A D | sa.h | 52 rte_iova_t pa; member
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_dev.c | 963 uintptr_t pa; in dev_vf_mbase_get() local 972 pa = plt_read64(dev->bar2 + RVU_PF_VF_BAR4_ADDR); in dev_vf_mbase_get() 973 if (!pa) { in dev_vf_mbase_get() 975 return pa; in dev_vf_mbase_get() 978 vf_mbase = mbox_mem_map(pa, MBOX_SIZE * pci_dev->max_vfs); in dev_vf_mbase_get() 980 plt_err("Failed to mmap vf mbase at pa 0x%lx, rc=%d", pa, in dev_vf_mbase_get()
|
| /dpdk/drivers/event/cnxk/ |
| H A D | cn10k_worker.h | 528 uintptr_t pa; in cn10k_sso_tx_one() local 560 pa = txq->cpt_io_addr | 3 << 4; in cn10k_sso_tx_one() 562 pa = txq->io_addr | ((segdw - 1) << 4); in cn10k_sso_tx_one() 568 roc_lmt_submit_steorl(lmt_id, pa); in cn10k_sso_tx_one()
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_fm_flow.c | 150 dma_addr_t pa; member 1042 args[1] = fm->cmd.pa; in enic_fet_alloc() 2499 args[2] = fm->cmd.pa; in enic_fm_add_tcam_entry() 2549 args[2] = fm->cmd.pa; in enic_fm_add_exact_entry() 2595 args[1] = fm->cmd.pa; in enic_action_handle_get() 3124 args[1] = fm->cmd.pa; in enic_fm_tcam_tbl_alloc() 3257 sizeof(union enic_flowman_cmd_mem), &fm->cmd.pa, name); in enic_fm_init() 3311 fm->cmd.va, fm->cmd.pa); in enic_fm_init() 3343 fm->cmd.va, fm->cmd.pa); in enic_fm_destroy()
|
| /dpdk/doc/guides/linux_gsg/ |
| H A D | eal_args.include.rst | 115 * ``--iova-mode <pa|va>``
|