diff --git a/lib/ff_memory.c b/lib/ff_memory.c index bbefd3a62..63e6686a4 100644 --- a/lib/ff_memory.c +++ b/lib/ff_memory.c @@ -422,7 +422,7 @@ static inline struct rte_mbuf* ff_bsd_to_rte(void *m, int total) } ff_next_mbuf(&p_bsdbuf, &data, &len); // p_bsdbuf move to next mbuf. cur->buf_addr = data; - cur->buf_physaddr = ff_mem_virt2phy((const void*)(cur->buf_addr)); + cur->buf_iova = ff_mem_virt2phy((const void*)(cur->buf_addr)); cur->data_off = 0; cur->data_len = len;