Re: [PATCH v3] app/dma-perf: fix physical address seg-fault

2023-11-14 Thread Thomas Monjalon
24/10/2023 04:16, lihuisong (C): > > 在 2023/10/19 12:19, Vipin Varghese 写道: > > do_cpu_mem_copy uses DPDK API rte_mbuf_data_iova to return > > the start of the virtual address for both src and dst. > > But in case of iova mode set as PA, this results in seg-fault. > > This is because rte_memcpy us

Re: [PATCH v3] app/dma-perf: fix physical address seg-fault

2023-10-23 Thread lihuisong (C)
在 2023/10/19 12:19, Vipin Varghese 写道: do_cpu_mem_copy uses DPDK API rte_mbuf_data_iova to return the start of the virtual address for both src and dst. But in case of iova mode set as PA, this results in seg-fault. This is because rte_memcpy uses VA address and not PA. This fix invokes `rte_p

Re: [PATCH v3] app/dma-perf: fix physical address seg-fault

2023-10-19 Thread fengchengwen
Acked-by: Chengwen Feng On 2023/10/19 12:16, Vipin Varghese wrote: > do_cpu_mem_copy uses DPDK API rte_mbuf_data_iova to return > the start of the virtual address for both src and dst. > But in case of iova mode set as PA, this results in seg-fault. > This is because rte_memcpy uses VA address an

[PATCH v3] app/dma-perf: fix physical address seg-fault

2023-10-18 Thread Vipin Varghese
do_cpu_mem_copy uses DPDK API rte_mbuf_data_iova to return the start of the virtual address for both src and dst. But in case of iova mode set as PA, this results in seg-fault. This is because rte_memcpy uses VA address and not PA. This fix invokes `rte_pktmbuf_mtod` for both src and dst. Bugzill

[PATCH v3] app/dma-perf: fix physical address seg-fault

2023-10-18 Thread Vipin Varghese
do_cpu_mem_copy uses DPDK API rte_mbuf_data_iova to return the start of the virtual address for both src and dst. But in case of iova mode set as PA, this results in seg-fault. This is because rte_memcpy uses VA address and not PA. This fix invokes `rte_pktmbuf_mtod` for both src and dst. Bugzill