mirror of https://github.com/F-Stack/f-stack.git
FF_USE_PAGE_ARRAY compatible DPDK 20.11.
This commit is contained in:
parent
021aaded2c
commit
b874712e25
|
@ -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.
|
ff_next_mbuf(&p_bsdbuf, &data, &len); // p_bsdbuf move to next mbuf.
|
||||||
cur->buf_addr = data;
|
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_off = 0;
|
||||||
cur->data_len = len;
|
cur->data_len = len;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue