Home
last modified time | relevance | path

Searched refs:sqe (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/net/thunderx/
H A Dnicvf_rxtx.h28 union sq_entry_t sqe; in fill_sq_desc_gather() local
31 sqe.buff[0] = 0; sqe.buff[1] = 0; in fill_sq_desc_gather()
32 sqe.gather.subdesc_type = SQ_DESC_TYPE_GATHER; in fill_sq_desc_gather()
33 sqe.gather.ld_type = NIC_SEND_LD_TYPE_E_LDT; in fill_sq_desc_gather()
34 sqe.gather.size = pkt->data_len; in fill_sq_desc_gather()
35 sqe.gather.addr = rte_mbuf_data_iova(pkt); in fill_sq_desc_gather()
37 entry->buff[0] = sqe.buff[0]; in fill_sq_desc_gather()
38 entry->buff[1] = sqe.buff[1]; in fill_sq_desc_gather()
H A Dnicvf_rxtx.c32 union sq_entry_t sqe; in fill_sq_desc_header() local
36 sqe.buff[0] = 0; in fill_sq_desc_header()
37 sqe.hdr.subdesc_type = SQ_DESC_TYPE_HEADER; in fill_sq_desc_header()
39 sqe.hdr.subdesc_cnt = pkt->nb_segs; in fill_sq_desc_header()
40 sqe.hdr.tot_len = pkt->pkt_len; in fill_sq_desc_header()
47 sqe.hdr.csum_l4 = SEND_L4_CSUM_TCP; in fill_sq_desc_header()
49 sqe.hdr.csum_l4 = SEND_L4_CSUM_UDP; in fill_sq_desc_header()
51 sqe.hdr.csum_l4 = SEND_L4_CSUM_DISABLE; in fill_sq_desc_header()
53 sqe.hdr.l3_offset = pkt->l2_len; in fill_sq_desc_header()
58 sqe.hdr.csum_l3 = 1; in fill_sq_desc_header()
[all …]
/dpdk/drivers/dma/hisilicon/
H A Dhisi_dmadev.c298 hw->sqe = iomz->addr; in hisi_dma_alloc_iomem()
317 hw->sqe = NULL; in hisi_dma_free_iomem()
591 struct hisi_dma_sqe *sqe = &hw->sqe[hw->sq_tail]; in hisi_dma_copy() local
600 sqe->dw0 = rte_cpu_to_le_32(SQE_OPCODE_M2M); in hisi_dma_copy()
601 sqe->dw1 = 0; in hisi_dma_copy()
602 sqe->dw2 = 0; in hisi_dma_copy()
603 sqe->length = rte_cpu_to_le_32(length); in hisi_dma_copy()
604 sqe->src_addr = rte_cpu_to_le_64(src); in hisi_dma_copy()
605 sqe->dst_addr = rte_cpu_to_le_64(dst); in hisi_dma_copy()
610 sqe->dw0 |= rte_cpu_to_le_32(SQE_FENCE_FLAG); in hisi_dma_copy()
H A Dhisi_dmadev.h188 struct hisi_dma_sqe *sqe; member