On 9/14/20 11:23 AM, David Marchand wrote: > As reported during 20.08 work for Windows, the pci_map_resource API was > built with the assumption that its flags would be passed to mmap(). > > This introduced a regression when adding the rte_mem_map API as reported > in the workaround commit 9d2b24593724 ("pci: keep API compatibility with > mmap values"). > > This API was only used in the PCI bus code, so move it there. > With this move, there is no other user so no ambiguity anymore: the > passed additional flags are documented as rte_mem_map API flags. > > Signed-off-by: David Marchand <david.march...@redhat.com>
Acked-by: Andrew Rybchenko <arybche...@solarflare.com>