Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/crypto/mvsam/
H A Drte_mrvl_pmd.c489 struct rte_mbuf *src_mbuf, *dst_mbuf; in mrvl_request_prepare() local
525 dst_mbuf = op->sym->m_dst ? op->sym->m_dst : op->sym->m_src; in mrvl_request_prepare()
527 if (!rte_pktmbuf_is_contiguous(dst_mbuf)) { in mrvl_request_prepare()
549 if (rte_pktmbuf_data_len(dst_mbuf) == 0) { in mrvl_request_prepare()
551 if (rte_pktmbuf_append(dst_mbuf, in mrvl_request_prepare()
559 dst_bd->vaddr = rte_pktmbuf_mtod(dst_mbuf, void *); in mrvl_request_prepare()
560 dst_bd->paddr = rte_pktmbuf_iova(dst_mbuf); in mrvl_request_prepare()
566 dst_bd->len = dst_mbuf->buf_len - rte_pktmbuf_headroom(dst_mbuf); in mrvl_request_prepare()
606 dst_mbuf, uint8_t *, in mrvl_request_prepare()
/f-stack/dpdk/drivers/compress/qat/
H A Dqat_comp.c356 struct rte_mbuf dst_mbuf; in qat_comp_build_multiple_requests() local
403 rte_memcpy(&dst_mbuf, op->m_dst, sizeof(dst_mbuf)); in qat_comp_build_multiple_requests()
404 rte_pktmbuf_reset(&dst_mbuf); in qat_comp_build_multiple_requests()
405 dst_mbuf.buf_len = dst_data_size; in qat_comp_build_multiple_requests()
406 dst_mbuf.data_len = dst_data_size; in qat_comp_build_multiple_requests()
407 dst_mbuf.pkt_len = dst_data_size; in qat_comp_build_multiple_requests()
408 dst_mbuf.data_off = 0; in qat_comp_build_multiple_requests()
411 op->m_dst = &dst_mbuf; in qat_comp_build_multiple_requests()
428 dst_mbuf.buf_addr = mz->addr; in qat_comp_build_multiple_requests()
429 dst_mbuf.buf_iova = mz->iova; in qat_comp_build_multiple_requests()
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c291 struct rte_mbuf *dst_mbuf; in hinic_copy_tx_mbuf() local
298 dst_mbuf = rte_pktmbuf_alloc(nic_dev->cpy_mpool); in hinic_copy_tx_mbuf()
299 if (unlikely(!dst_mbuf)) in hinic_copy_tx_mbuf()
302 dst_mbuf->data_off = 0; in hinic_copy_tx_mbuf()
304 rte_memcpy((char *)dst_mbuf->buf_addr + offset, in hinic_copy_tx_mbuf()
307 dst_mbuf->data_len += mbuf->data_len; in hinic_copy_tx_mbuf()
312 dst_mbuf->pkt_len = dst_mbuf->data_len; in hinic_copy_tx_mbuf()
314 return dst_mbuf; in hinic_copy_tx_mbuf()
/f-stack/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_dpseci.c190 struct rte_mbuf *dst_mbuf = sym_op->m_dst; in build_proto_compound_fd() local
193 if (!dst_mbuf) in build_proto_compound_fd()
194 dst_mbuf = src_mbuf; in build_proto_compound_fd()
228 DPAA2_SET_FLE_ADDR(op_fle, DPAA2_MBUF_VADDR_TO_IOVA(dst_mbuf)); in build_proto_compound_fd()
229 DPAA2_SET_FLE_OFFSET(op_fle, dst_mbuf->data_off); in build_proto_compound_fd()
230 DPAA2_SET_FLE_LEN(op_fle, dst_mbuf->buf_len); in build_proto_compound_fd()