Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/thunderx/
H A Dnicvf_ethdev.h95 nicvf_mbuff_phy2virt(rte_iova_t phy, uint64_t mbuf_phys_off) in nicvf_mbuff_phy2virt() argument
97 return (uintptr_t)(phy + mbuf_phys_off); in nicvf_mbuff_phy2virt()
101 nicvf_mbuff_virt2phy(uintptr_t virt, uint64_t mbuf_phys_off) in nicvf_mbuff_virt2phy() argument
103 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.c678 rxq->mbuf_phys_off); in nicvf_rbdr_release_mbuf()
1463 return nicvf_mbuff_virt2phy(mbuf, rxq->mbuf_phys_off); in rbdr_rte_mempool_get()
1474 uint64_t mbuf_phys_off = 0; in nicvf_vf_start() local
1506 rxq->mbuf_phys_off = nicvf_mempool_phy_offset(rxq->pool); in nicvf_vf_start()
1524 rxq->mbuf_phys_off -= data_off; in nicvf_vf_start()
1525 rxq->mbuf_phys_off -= nic->skip_bytes; in nicvf_vf_start()
1527 if (mbuf_phys_off == 0) in nicvf_vf_start()
1528 mbuf_phys_off = rxq->mbuf_phys_off; in nicvf_vf_start()
1529 if (mbuf_phys_off != rxq->mbuf_phys_off) { in nicvf_vf_start()
1532 mbuf_phys_off); in nicvf_vf_start()
H A Dnicvf_struct.h65 uint64_t mbuf_phys_off; member