Re: [vfio-users] VFIO 128 byte TLP size?

2018-03-11 Thread Alex Williamson
On Fri, 9 Mar 2018 18:03:14 +0100 Oliver Heid wrote: > Does VFIO somehow limit PCIe TLP size to 128 bytes on virtualized > devices? In our case MaxPayload = MaxReadReq = 256 bytes in PCI config, > and we use 4k aligned base addresses and do not cross 4k boundaries, but

Re: [vfio-users] vfio-users Digest, Vol 32, Issue 3

2018-03-11 Thread Alex Williamson
On Sat, 10 Mar 2018 22:17:33 + "Patrick O'Callaghan" wrote: > On Sat, 2018-03-10 at 18:40 +, Steve Glaser wrote: > > Max Payload Size determines both what a Function can send and what a > > Function accepts. As such, it is almost always set to the lowest common > >

Re: [vfio-users] VFIO_IOMMU_MAP_DMA succeeds only on second try?

2018-03-11 Thread Alex Williamson
On Mon, 5 Mar 2018 12:37:24 +0100 Oliver Heid wrote: > Do I miss something here? I want to allow RW access of a peripheral > device to a memory region via > >     struct vfio_iommu_type1_dma_map dma_map = { .argsz = sizeof(dma_map) }; > >     __u32* mem =