kkaran
> Subject: RE: [EXT] [PATCH] app/dma-perf: fix physical address seg-fault
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
> Hi Vipin,
>
> Thanks for the update. Please see
ject: [EXT] [PATCH] app/dma-perf: fix physical address seg-fault
>
> External Email
>
> --
> do_cpu_mem_copy uses DPDK API rte_mbuf_data_iova to return the start
> of the virtual address for both src and dst.
ob
> Kollanukkaran
> Subject: RE: [PATCH] app/dma-perf: fix physical address seg-fault
>
> [AMD Official Use Only - General]
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
>
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 VA address and not PA.
this fix checks the iova mode and invokes rte_memcpy with the right
arg
org
> Cc: Yigit, Ferruh ; cheng1.ji...@intel.com;
> sta...@dpdk.org
> Subject: [EXT] RE: [PATCH] app/dma-perf: fix physical address seg-fault
>
> External Email
>
> --
> [AMD Official Use Only - General]
>
August 15, 2023 8:41 PM
> To: tho...@monjalon.net; dev@dpdk.org
> Cc: Yigit, Ferruh ; cheng1.ji...@intel.com;
> sta...@dpdk.org
> Subject: [PATCH] app/dma-perf: fix physical address seg-fault
>
> Caution: This message originated from an External Source. Use proper caution
> when
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 VA address and not PA.
this fix checks the iova mode and invokes rte_memcpy with the right
arg
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 VA address and not PA.
this fix checks the mode and invoked rte_memcpy accrodingly.
Bugzilla
8 matches
Mail list logo