| /dpdk/doc/guides/sample_app_ug/ |
| H A D | dma.rst | 123 .. literalinclude:: ../../../examples/dma/dmafwd.c 133 .. literalinclude:: ../../../examples/dma/dmafwd.c 144 .. literalinclude:: ../../../examples/dma/dmafwd.c 156 .. literalinclude:: ../../../examples/dma/dmafwd.c 168 .. literalinclude:: ../../../examples/dma/dmafwd.c 177 .. literalinclude:: ../../../examples/dma/dmafwd.c 186 .. literalinclude:: ../../../examples/dma/dmafwd.c 195 .. literalinclude:: ../../../examples/dma/dmafwd.c 205 .. literalinclude:: ../../../examples/dma/dmafwd.c 218 .. literalinclude:: ../../../examples/dma/dmafwd.c [all …]
|
| H A D | index.rst | 25 dma
|
| H A D | vhost.rst | 153 dma mapping for guest memory. 165 **--dma-type**
|
| H A D | intro.rst | 61 * :doc:`Hardware packet copying<dma>`: The Hardware packet copying,
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_rxtx.c | 53 const struct rte_memzone *dma; in bnx2x_dev_rx_queue_setup() local 91 dma = ring_dma_zone_reserve(dev, "hw_ring", queue_idx, dma_size, socket_id); in bnx2x_dev_rx_queue_setup() 92 if (NULL == dma) { in bnx2x_dev_rx_queue_setup() 97 fp->rx_desc_mapping = rxq->rx_ring_phys_addr = (uint64_t)dma->iova; in bnx2x_dev_rx_queue_setup() 98 rxq->rx_ring = (uint64_t*)dma->addr; in bnx2x_dev_rx_queue_setup() 139 dma = ring_dma_zone_reserve(dev, "bnx2x_rcq", queue_idx, dma_size, socket_id); in bnx2x_dev_rx_queue_setup() 140 if (NULL == dma) { in bnx2x_dev_rx_queue_setup() 144 fp->rx_comp_mapping = rxq->cq_ring_phys_addr = (uint64_t)dma->iova; in bnx2x_dev_rx_queue_setup() 145 rxq->cq_ring = (union eth_rx_cqe*)dma->addr; in bnx2x_dev_rx_queue_setup()
|
| H A D | bnx2x.c | 149 dma->sc = sc; in bnx2x_dma_alloc() 165 dma->paddr = (uint64_t) z->iova; in bnx2x_dma_alloc() 166 dma->vaddr = z->addr; in bnx2x_dma_alloc() 167 dma->mzone = (const void *)z; in bnx2x_dma_alloc() 170 "%s: virt=%p phys=%" PRIx64, msg, dma->vaddr, dma->paddr); in bnx2x_dma_alloc() 177 if (dma->mzone == NULL) in bnx2x_dma_free() 181 dma->sc = NULL; in bnx2x_dma_free() 182 dma->paddr = 0; in bnx2x_dma_free() 183 dma->vaddr = NULL; in bnx2x_dma_free() 184 dma->nseg = 0; in bnx2x_dma_free() [all …]
|
| /dpdk/examples/dma/ |
| H A D | dmafwd.c | 315 struct dma_bufs *dma = &dma_bufs[dev_id]; in dma_enqueue_packets() local 329 dma->bufs[ret & MBUF_RING_MASK] = pkts[i]; in dma_enqueue_packets() 330 dma->copies[ret & MBUF_RING_MASK] = pkts_copy[i]; in dma_enqueue_packets() 364 struct dma_bufs *dma = &dma_bufs[dev_id]; in dma_dequeue() local 378 src[filled] = dma->bufs[(dma->sent + filled) & MBUF_RING_MASK]; in dma_dequeue() 379 dst[filled] = dma->copies[(dma->sent + filled) & MBUF_RING_MASK]; in dma_dequeue() 381 dma->sent += nb_dq; in dma_dequeue()
|
| /dpdk/drivers/net/nfp/ |
| H A D | nfp_rxtx.h | 142 __le64 dma; member 263 __le64 dma; member
|
| H A D | nfp_rxtx.c | 568 rxq->dma = (uint64_t)tz->iova; in nfp_net_rx_queue_setup() 582 rxq->rxbufs, rxq->rxds, (unsigned long)rxq->dma); in nfp_net_rx_queue_setup() 592 nn_cfg_writeq(hw, NFP_NET_CFG_RXR_ADDR(queue_idx), rxq->dma); in nfp_net_rx_queue_setup() 766 txq->dma = (uint64_t)tz->iova; in nfp_net_tx_queue_setup() 779 txq->txbufs, txq->txds, (unsigned long)txq->dma); in nfp_net_tx_queue_setup() 789 nn_cfg_writeq(hw, NFP_NET_CFG_TXR_ADDR(queue_idx), txq->dma); in nfp_net_tx_queue_setup()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_cmd.c | 156 uint64_t dma = ring->desc_dma_addr; in hns3_cmd_config_regs() local 160 lower_32_bits(dma)); in hns3_cmd_config_regs() 162 upper_32_bits(dma)); in hns3_cmd_config_regs() 170 lower_32_bits(dma)); in hns3_cmd_config_regs() 172 upper_32_bits(dma)); in hns3_cmd_config_regs()
|
| /dpdk/drivers/net/axgbe/ |
| H A D | axgbe_rxtx.c | 45 const struct rte_memzone *dma; in axgbe_dev_rx_queue_setup() local 91 dma = rte_eth_dma_zone_reserve(dev, "rx_ring", queue_idx, size, 128, in axgbe_dev_rx_queue_setup() 93 if (!dma) { in axgbe_dev_rx_queue_setup() 98 rxq->ring_phys_addr = (uint64_t)dma->iova; in axgbe_dev_rx_queue_setup() 99 rxq->desc = (volatile union axgbe_rx_desc *)dma->addr; in axgbe_dev_rx_queue_setup()
|
| /dpdk/doc/guides/dmadevs/ |
| H A D | ioat.rst | 21 presence of supported hardware. Running ``dpdk-devbind.py --status-dev dma`` 46 $ dpdk-devbind.py --status-dev dma
|
| H A D | cnxk.rst | 29 Running ``dpdk-devbind.py --status-dev dma`` will show all the CNXK DMA devices.
|
| /dpdk/examples/ |
| H A D | meson.build | 15 'dma',
|
| /dpdk/drivers/ |
| H A D | meson.build | 13 'dma', # depends on common and bus. 15 'raw', # depends on common, bus, dma and net.
|
| /dpdk/drivers/net/hinic/base/ |
| H A D | hinic_compat.h | 140 void dma_pool_free(struct pci_pool *pool, void *vaddr, dma_addr_t dma);
|
| H A D | hinic_pmd_hwdev.c | 320 void dma_pool_free(struct pci_pool *pool, void *vaddr, dma_addr_t dma) in dma_pool_free() argument 323 hinic_dma_mem_free(pool->hwdev, pool->elem_size, vaddr, dma); in dma_pool_free()
|
| /dpdk/drivers/dma/ioat/ |
| H A D | ioat_hw_defs.h | 277 struct ioat_dma_hw_desc dma; member
|
| /dpdk/drivers/raw/ioat/ |
| H A D | ioat_spec.h | 262 struct rte_ioat_dma_hw_desc dma; member
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_ethdev.c | 505 rc = bnxt_hwrm_ctx_rgtr(bp, bp->flow_stat->rx_fc_in_tbl.dma, in bnxt_register_fc_ctx_mem() 514 (void *)((uintptr_t)bp->flow_stat->rx_fc_in_tbl.dma), in bnxt_register_fc_ctx_mem() 517 rc = bnxt_hwrm_ctx_rgtr(bp, bp->flow_stat->rx_fc_out_tbl.dma, in bnxt_register_fc_ctx_mem() 526 (void *)((uintptr_t)bp->flow_stat->rx_fc_out_tbl.dma), in bnxt_register_fc_ctx_mem() 529 rc = bnxt_hwrm_ctx_rgtr(bp, bp->flow_stat->tx_fc_in_tbl.dma, in bnxt_register_fc_ctx_mem() 538 (void *)((uintptr_t)bp->flow_stat->tx_fc_in_tbl.dma), in bnxt_register_fc_ctx_mem() 541 rc = bnxt_hwrm_ctx_rgtr(bp, bp->flow_stat->tx_fc_out_tbl.dma, in bnxt_register_fc_ctx_mem() 550 (void *)((uintptr_t)bp->flow_stat->tx_fc_out_tbl.dma), in bnxt_register_fc_ctx_mem() 588 ctx->dma = rte_mem_virt2iova(ctx->va); in bnxt_alloc_ctx_mem_buf() 589 if (ctx->dma == RTE_BAD_IOVA) in bnxt_alloc_ctx_mem_buf() [all …]
|
| /dpdk/ |
| H A D | MAINTAINERS | 466 F: drivers/dma/skeleton/ 471 F: examples/dma/ 472 F: doc/guides/sample_app_ug/dma.rst 1180 F: drivers/dma/idxd/ 1186 F: drivers/dma/ioat/ 1191 F: drivers/dma/hisilicon/ 1197 F: drivers/dma/cnxk/ 1203 F: drivers/dma/dpaa/
|
| /dpdk/drivers/net/e1000/ |
| H A D | em_rxtx.c | 865 uint64_t dma; /* Physical address of mbuf data buffer */ in eth_em_recv_scattered_pkts() local 964 dma = rte_cpu_to_le_64(rte_mbuf_data_iova_default(nmb)); in eth_em_recv_scattered_pkts() 965 rxdp->buffer_addr = dma; in eth_em_recv_scattered_pkts()
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | deprecation.rst | 127 ``idxd`` dma drivers
|
| /dpdk/lib/pipeline/ |
| H A D | rte_swx_pipeline.c | 6424 instr[0].dma.dst.header_id[0] = h->id; in instr_pattern_mov_all_validate_replace() 6427 instr[0].dma.n_bytes[0] = h->st->n_bits / 8; in instr_pattern_mov_all_validate_replace() 6498 if (i == RTE_DIM(instr->dma.dst.header_id)) in instr_pattern_dma_many_search() 6521 instr[0].dma.dst.header_id[i] = instr[i].dma.dst.header_id[0]; in instr_pattern_dma_many_replace() 6522 instr[0].dma.dst.struct_id[i] = instr[i].dma.dst.struct_id[0]; in instr_pattern_dma_many_replace() 6523 instr[0].dma.src.offset[i] = instr[i].dma.src.offset[0]; in instr_pattern_dma_many_replace() 6524 instr[0].dma.n_bytes[i] = instr[i].dma.n_bytes[0]; in instr_pattern_dma_many_replace() 10450 instr->dma.dst.header_id[i]); in instr_dma_ht_export() 10462 instr->dma.dst.struct_id[i]); in instr_dma_ht_export() 10482 instr->dma.src.offset[i]); in instr_dma_ht_export() [all …]
|
| H A D | rte_swx_pipeline_internal.h | 677 struct instr_dma dma; member 2200 uint32_t header_id = ip->dma.dst.header_id[i]; in __instr_dma_ht_many_exec() 2201 uint32_t struct_id = ip->dma.dst.struct_id[i]; in __instr_dma_ht_many_exec() 2202 uint32_t offset = ip->dma.src.offset[i]; in __instr_dma_ht_many_exec() 2203 uint32_t n_bytes = ip->dma.n_bytes[i]; in __instr_dma_ht_many_exec()
|