toly
>
> Subject: Re: [PATCH v1 4/4] bus/pci: add VFIO sparse mmap support
>
> On Mon, 15 May 2023 06:47:00 +
> Miao Li wrote:
>
> > + map_addr = pci_map_resource(addr, vfio_dev_fd,
> > +
Cao, Yahui ; Burakov, Anatoly
>
> Subject: Re: [PATCH v1 4/4] bus/pci: add VFIO sparse mmap support
>
> On Mon, 15 May 2023 06:47:00 +
> Miao Li wrote:
>
> > + map_addr = pci_map_resource(addr,
> vfio_dev_fd,
> > +
On Mon, 15 May 2023 06:47:00 +
Miao Li wrote:
> + map_addr = pci_map_resource(addr, vfio_dev_fd,
> + bar->offset + sparse->offset,
> sparse->size,
> + RTE_MAP_FORCE_ADDRESS);
> +
This patch adds sparse mmap support in PCI bus. Sparse mmap is a
capability defined in VFIO which allows multiple mmap areas in one
VFIO region.
In this patch, the sparse mmap regions are mapped to one continuous
virtual address region that follows device-specific BAR layout. So,
driver can still
4 matches
Mail list logo