[dpdk-dev] [PATCH] eal/linux: allow to map BARs with MSI-X tables, around them

2015-01-29 Thread Dan Aloni
On Wed, Jan 28, 2015 at 03:01:38PM +, Burakov, Anatoly wrote: > Hi Dan > > Apologies for not looking at it earlier. No problem, we are all quite busy :) > > + if (map_addr != MAP_FAILED > > + && memreg[1].offset && memreg[1].size) { > > +

[dpdk-dev] [PATCH] eal/linux: allow to map BARs with MSI-X tables, around them

2015-01-28 Thread Dan Aloni
On Thu, Jan 22, 2015 at 10:36:11AM +0200, Dan Aloni wrote: > While VFIO doesn't allow us to map complete BARs with MSI-X tables, > it does allow us to map around them in PAGE_SIZE granularity. There > might be adapters that provide their registers in the same BAR > but on a different page. For exam

[dpdk-dev] [PATCH] eal/linux: allow to map BARs with MSI-X tables, around them

2015-01-28 Thread Burakov, Anatoly
Hi Dan Apologies for not looking at it earlier. > While VFIO doesn't allow us to map complete BARs with MSI-X tables, > it does allow us to map around them in PAGE_SIZE granularity. There > might be adapters that provide their registers in the same BAR > but on a different page. For example, Inte

[dpdk-dev] [PATCH] eal/linux: allow to map BARs with MSI-X tables, around them

2015-01-22 Thread Dan Aloni
While VFIO doesn't allow us to map complete BARs with MSI-X tables, it does allow us to map around them in PAGE_SIZE granularity. There might be adapters that provide their registers in the same BAR but on a different page. For example, Intel's NVME adapter, though not a network adapter, provides o