Re: [dpdk-dev] [PATCH 4/4] net/sfc: support regioned NIC DMA memory mapping type

2021-11-06 Thread Thomas Monjalon
06/11/2021 09:39, Andrew Rybchenko: > On 11/5/21 11:14 PM, Thomas Monjalon wrote: > > 05/11/2021 20:05, Ferruh Yigit: > >> On 11/5/2021 8:33 AM, Andrew Rybchenko wrote: > >>> From: Viacheslav Galaktionov > >>> > >>> DMA on SN1022 SoC requires extra mapping of the memory via MCDI. > >>> The mapping

Re: [dpdk-dev] [PATCH 4/4] net/sfc: support regioned NIC DMA memory mapping type

2021-11-06 Thread Andrew Rybchenko
On 11/5/21 11:14 PM, Thomas Monjalon wrote: > 05/11/2021 20:05, Ferruh Yigit: >> On 11/5/2021 8:33 AM, Andrew Rybchenko wrote: >>> From: Viacheslav Galaktionov >>> >>> DMA on SN1022 SoC requires extra mapping of the memory via MCDI. >>> The mapping is expensive on datapath, so make it a build-time

Re: [dpdk-dev] [PATCH 4/4] net/sfc: support regioned NIC DMA memory mapping type

2021-11-05 Thread Thomas Monjalon
05/11/2021 20:05, Ferruh Yigit: > On 11/5/2021 8:33 AM, Andrew Rybchenko wrote: > > From: Viacheslav Galaktionov > > > > DMA on SN1022 SoC requires extra mapping of the memory via MCDI. > > The mapping is expensive on datapath, so make it a build-time option. > > Usage of build-time option is acc

Re: [dpdk-dev] [PATCH 4/4] net/sfc: support regioned NIC DMA memory mapping type

2021-11-05 Thread Ferruh Yigit
On 11/5/2021 8:33 AM, Andrew Rybchenko wrote: From: Viacheslav Galaktionov DMA on SN1022 SoC requires extra mapping of the memory via MCDI. The mapping is expensive on datapath, so make it a build-time option. Usage of build-time option is acceptable since it is required in very specific case o