Home
last modified time | relevance | path

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

/dpdk/drivers/net/thunderx/
H A Dnicvf_ethdev.h94 nicvf_mbuff_phy2virt(rte_iova_t phy, uint64_t mbuf_phys_off) in nicvf_mbuff_phy2virt() argument
96 return (uintptr_t)(phy + mbuf_phys_off); in nicvf_mbuff_phy2virt()
100 nicvf_mbuff_virt2phy(uintptr_t virt, uint64_t mbuf_phys_off) in nicvf_mbuff_virt2phy() argument
102 return (rte_iova_t)(virt - mbuf_phys_off); in nicvf_mbuff_virt2phy()
H A Dnicvf_rxtx.c362 uint64_t mbuf_phys_off = rxq->mbuf_phys_off; in nicvf_fill_rbdr() local
384 mbuf_phys_off); in nicvf_fill_rbdr()
431 uint64_t rb0_ptr, mbuf_phys_off = rxq->mbuf_phys_off; in nicvf_recv_pkts() local
449 (rb0_ptr - cqe_rx_w1.align_pad, mbuf_phys_off); in nicvf_recv_pkts()
521 uint64_t mbuf_phys_off, in nicvf_process_cq_mseg_entry() argument
539 (rb_ptr[0] - cqe_rx_w1.align_pad, mbuf_phys_off); in nicvf_process_cq_mseg_entry()
563 (rb_ptr[seg_idx], mbuf_phys_off); in nicvf_process_cq_mseg_entry()
584 uint64_t mbuf_phys_off = rxq->mbuf_phys_off; in nicvf_recv_pkts_multiseg() local
598 nb_segs = nicvf_process_cq_mseg_entry(cqe_rx, mbuf_phys_off, in nicvf_recv_pkts_multiseg()
H A Dnicvf_ethdev.c664 rxq->mbuf_phys_off); in nicvf_rbdr_release_mbuf()
1448 return nicvf_mbuff_virt2phy(mbuf, rxq->mbuf_phys_off); in rbdr_rte_mempool_get()
1459 uint64_t mbuf_phys_off = 0; in nicvf_vf_start() local
1491 rxq->mbuf_phys_off = nicvf_mempool_phy_offset(rxq->pool); in nicvf_vf_start()
1509 rxq->mbuf_phys_off -= data_off; in nicvf_vf_start()
1510 rxq->mbuf_phys_off -= nic->skip_bytes; in nicvf_vf_start()
1512 if (mbuf_phys_off == 0) in nicvf_vf_start()
1513 mbuf_phys_off = rxq->mbuf_phys_off; in nicvf_vf_start()
1514 if (mbuf_phys_off != rxq->mbuf_phys_off) { in nicvf_vf_start()
1517 mbuf_phys_off); in nicvf_vf_start()
H A Dnicvf_struct.h65 uint64_t mbuf_phys_off; member