Re: [dpdk-dev] [PATCH v4] pci_vfio: Support 64KB kernel page_size with vfio-pci driver

2018-12-19 Thread Thomas Monjalon
12/12/2018 12:27, Burakov, Anatoly: > On 12-Dec-18 11:25 AM, tone.zhang wrote: > > With a larger PAGE_SIZE it is possible for the MSI table to very > > close to the end of the BAR s.t. when we align the start and end > > of the MSI table to the PAGE_SIZE, the end offset of the MSI > > table is out

Re: [dpdk-dev] [PATCH v4] pci_vfio: Support 64KB kernel page_size with vfio-pci driver

2018-12-12 Thread Burakov, Anatoly
On 12-Dec-18 11:25 AM, tone.zhang wrote: With a larger PAGE_SIZE it is possible for the MSI table to very close to the end of the BAR s.t. when we align the start and end of the MSI table to the PAGE_SIZE, the end offset of the MSI table is out of the PCI BAR boundary. This patch addresses the i

[dpdk-dev] [PATCH v4] pci_vfio: Support 64KB kernel page_size with vfio-pci driver

2018-12-12 Thread tone.zhang
With a larger PAGE_SIZE it is possible for the MSI table to very close to the end of the BAR s.t. when we align the start and end of the MSI table to the PAGE_SIZE, the end offset of the MSI table is out of the PCI BAR boundary. This patch addresses the issue by comparing both the start and the en