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

Thomas Monjalon thomas at monjalon.net
Tue Nov 14 15:27:26 CET 2023


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 uses VA address and not PA.
> >
> > This fix invokes `rte_pktmbuf_mtod` for both src and dst.
> >
> > Bugzilla ID: 1269
> > Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test")
> > Cc: cheng1.jiang at intel.com
> >
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Vipin Varghese <vipin.varghese at amd.com>
> > Suggested-by: Anoob Joseph <anoobj at marvell.com>
> > Suggested-by: Jerin Jacob <jerinj at marvell.com>
> >
> Acked-by: Huisong Li <lihuisong at huawei.com>

Adding some missing acks.

Applied, thanks.





More information about the stable mailing list