On Mon, Apr 30, 2018 at 10:07:07AM +0200, Rafał Kozik wrote: > Hello Bruce, > > It should work because decision about kind of mapping is made in patch > 3 based on PMD request. > > ENA use only one BAR in wc mode and two other without caching, > therefore not making remap in igb_uio rather not spoil anything. > > I added patch 1 because this variable is provided also outside the > DPDK to Linux generic functions. I cannot test it with all drivers, > therefore I make it configurable. > > But general combination of wc and not wc PMD should work, because of patch 3. > Also if WC is enabled by PMD (like in patch 4) not all BARs will by > mapped, but only those which has prefetchable flag enabled. > Sounds good, so in that case I've no objection to the patch.
Acked-by: Bruce Richardson <bruce.richard...@intel.com>