Re: [dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-08 Thread Rajesh Ravi
Tested-by: Rajesh Ravi Tested the patch modified for DPDK 19.02 along with SPDK 19.07 Regards, Rajesh On Tue, Nov 5, 2019 at 8:45 PM Anatoly Burakov wrote: > Currently, externally created heaps are supposed to be automatically > mapped for VFIO DMA by EAL, however they only do so if, at the

Re: [dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-07 Thread David Marchand
On Tue, Nov 5, 2019 at 4:15 PM Anatoly Burakov wrote: > > Currently, externally created heaps are supposed to be automatically > mapped for VFIO DMA by EAL, however they only do so if, at the time of > heap creation, VFIO is initialized and has at least one device > available. If no devices are av

Re: [dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-06 Thread Thomas Monjalon
06/11/2019 22:53, David Marchand: > On Tue, Nov 5, 2019 at 4:15 PM Anatoly Burakov > wrote: > > > > Currently, externally created heaps are supposed to be automatically > > mapped for VFIO DMA by EAL, however they only do so if, at the time of > > heap creation, VFIO is initialized and has at leas

Re: [dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-06 Thread David Marchand
On Tue, Nov 5, 2019 at 4:15 PM Anatoly Burakov wrote: > > Currently, externally created heaps are supposed to be automatically > mapped for VFIO DMA by EAL, however they only do so if, at the time of > heap creation, VFIO is initialized and has at least one device > available. If no devices are av

Re: [dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-06 Thread Rajesh Ravi
Thanks Anatoly & David. The main patch provided by Anatoly is not compatible with DPDK 19.02. So I had to make following patch and verified it to be working with DPDK 19.02 & SPDK 19.07 combination. --

Re: [dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-06 Thread Burakov, Anatoly
On 06-Nov-19 3:27 PM, Rajesh Ravi wrote: Thanks Anatoly & David. The main patch provided  by Anatoly is not compatible with DPDK 19.02. So I had to make following patch and verified it to be working with DPDK 19.02 & SPDK 19.07 combination. Hi Rajesh, Thanks for testing. If your tests were

Re: [dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-06 Thread David Marchand
On Tue, Nov 5, 2019 at 6:15 PM Burakov, Anatoly wrote: > > On 05-Nov-19 3:15 PM, Anatoly Burakov wrote: > > Currently, externally created heaps are supposed to be automatically > > mapped for VFIO DMA by EAL, however they only do so if, at the time of > > heap creation, VFIO is initialized and has

Re: [dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-05 Thread Burakov, Anatoly
On 05-Nov-19 3:15 PM, Anatoly Burakov wrote: Currently, externally created heaps are supposed to be automatically mapped for VFIO DMA by EAL, however they only do so if, at the time of heap creation, VFIO is initialized and has at least one device available. If no devices are available at the tim

[dpdk-dev] [PATCH 19.11] vfio: fix DMA mapping of externally allocated heaps

2019-11-05 Thread Anatoly Burakov
Currently, externally created heaps are supposed to be automatically mapped for VFIO DMA by EAL, however they only do so if, at the time of heap creation, VFIO is initialized and has at least one device available. If no devices are available at the time of heap creation (or if devices were availabl