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

2023-08-16 Thread Varghese, Vipin
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

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

2023-08-16 Thread Anoob Joseph
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.

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

2023-08-16 Thread Varghese, Vipin
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. > > >

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

2023-08-16 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 VA address and not PA. this fix checks the iova mode and invokes rte_memcpy with the right arg

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

2023-08-15 Thread Anoob Joseph
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] >

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

2023-08-15 Thread Varghese, Vipin
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

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

2023-08-15 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 VA address and not PA. this fix checks the iova mode and invokes rte_memcpy with the right arg

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

2023-08-15 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 VA address and not PA. this fix checks the mode and invoked rte_memcpy accrodingly. Bugzilla