Re: [dpdk-dev] [PATCH 3/7] mem: add function for setting DMA mask

2018-11-01 Thread Alejandro Lucero
On Thu, Nov 1, 2018 at 11:30 AM Alejandro Lucero < alejandro.luc...@netronome.com> wrote: > > > On Thu, Nov 1, 2018 at 10:57 AM Burakov, Anatoly < > anatoly.bura...@intel.com> wrote: > >> On 01-Nov-18 10:48 AM, Alejandro Lucero wrote: >> > >> > >> > On Thu, Nov 1, 2018 at 10:11 AM Burakov, Anatoly

Re: [dpdk-dev] [PATCH 3/7] mem: add function for setting DMA mask

2018-11-01 Thread Alejandro Lucero
On Thu, Nov 1, 2018 at 10:57 AM Burakov, Anatoly wrote: > On 01-Nov-18 10:48 AM, Alejandro Lucero wrote: > > > > > > On Thu, Nov 1, 2018 at 10:11 AM Burakov, Anatoly > > mailto:anatoly.bura...@intel.com>> wrote: > > > > On 31-Oct-18 5:29 PM, Alejandro Lucero wrote: > > > This patch adds

Re: [dpdk-dev] [PATCH 3/7] mem: add function for setting DMA mask

2018-11-01 Thread Burakov, Anatoly
On 01-Nov-18 10:48 AM, Alejandro Lucero wrote: On Thu, Nov 1, 2018 at 10:11 AM Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 31-Oct-18 5:29 PM, Alejandro Lucero wrote: > This patch adds the possibility of setting a dma mask to be used > once the memory initializ

Re: [dpdk-dev] [PATCH 3/7] mem: add function for setting DMA mask

2018-11-01 Thread Alejandro Lucero
On Thu, Nov 1, 2018 at 10:11 AM Burakov, Anatoly wrote: > On 31-Oct-18 5:29 PM, Alejandro Lucero wrote: > > This patch adds the possibility of setting a dma mask to be used > > once the memory initialization is done. > > > > This is currently needed when IOVA mode is set by PCI related > > code a

Re: [dpdk-dev] [PATCH 3/7] mem: add function for setting DMA mask

2018-11-01 Thread Burakov, Anatoly
On 31-Oct-18 5:29 PM, Alejandro Lucero wrote: This patch adds the possibility of setting a dma mask to be used once the memory initialization is done. This is currently needed when IOVA mode is set by PCI related code and an x86 IOMMU hardware unit is present. Current code calls rte_mem_check_dm

[dpdk-dev] [PATCH 3/7] mem: add function for setting DMA mask

2018-10-31 Thread Alejandro Lucero
This patch adds the possibility of setting a dma mask to be used once the memory initialization is done. This is currently needed when IOVA mode is set by PCI related code and an x86 IOMMU hardware unit is present. Current code calls rte_mem_check_dma_mask but it is wrong to do so at that point be