• A
    vfio/pci: Virtualize Maximum Read Request Size · cf0d53ba
    Alex Williamson 提交于
    MRRS defines the maximum read request size a device is allowed to
    make.  Drivers will often increase this to allow more data transfer
    with a single request.  Completions to this request are bound by the
    MPS setting for the bus.  Aside from device quirks (none known), it
    doesn't seem to make sense to set an MRRS value less than MPS, yet
    this is a likely scenario given that user drivers do not have a
    system-wide view of the PCI topology.  Virtualize MRRS such that the
    user can set MRRS >= MPS, but use MPS as the floor value that we'll
    write to hardware.
    Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
    cf0d53ba
vfio_pci_config.c 48.8 KB